{"id":2764,"url":"https://patchwork.libcamera.org/api/1.1/patches/2764/?format=json","web_url":"https://patchwork.libcamera.org/patch/2764/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<1580402717-28724-1-git-send-email-madhavan.krishnan@linaro.org>","date":"2020-01-30T16:45:17","name":"[libcamera-devel,v2] libcamera: pipeline_handler: Fix the compilation issue in musl","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"daf788457de666d9d33776af4efb5350c0aa66a3","submitter":{"id":29,"url":"https://patchwork.libcamera.org/api/1.1/people/29/?format=json","name":"Madhavan Krishnan","email":"madhavan.krishnan@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/2764/mbox/","series":[{"id":655,"url":"https://patchwork.libcamera.org/api/1.1/series/655/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=655","date":"2020-01-30T16:45:17","name":"[libcamera-devel,v2] libcamera: pipeline_handler: Fix the compilation issue in musl","version":2,"mbox":"https://patchwork.libcamera.org/series/655/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2764/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2764/checks/","tags":{},"headers":{"Return-Path":"<madhavan.krishnan@linaro.org>","Received":["from mail-wr1-x443.google.com (mail-wr1-x443.google.com\n\t[IPv6:2a00:1450:4864:20::443])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C9E7960448\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 30 Jan 2020 17:45:22 +0100 (CET)","by mail-wr1-x443.google.com with SMTP id j104so4902113wrj.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 30 Jan 2020 08:45:22 -0800 (PST)","from lhg-hackbox.linaro.org.de ([2a01:4f8:10a:2685::2])\n\tby smtp.gmail.com with ESMTPSA id\n\th10sm6119671wre.3.2020.01.30.08.45.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 30 Jan 2020 08:45:21 -0800 (PST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=0ffTiU8Yi2Z1YkHn/sAE/syntlhOxDlTfcKO/lCRHrA=;\n\tb=Bx40p6J2HMbyw9gtCA9iYgDEuUfG7OUBu5RfU8dg0JTQMN4cc6y5o61ZdidxILxEqZ\n\tKy/mRcB0pfQmDfgK8gzwPNrjfkcUAG0Kgly2FE2sCFdd5UZaPXRZjCyY9gq31Dko5oR1\n\tLYB3XlrfY2xHraLAgL9Fp2A1jx6OBQw43jJViWIhFaOdFURu5oh8hqhrIGBv0/tbBpP9\n\tClE6UpDkAIBwMUQV98eIXT46ccmP3Lu00GReobSHDwKcT4b4BBFQvyERVIWLYsZh2r+N\n\tH7Z845p69JM5jB9KXRvN0mNl5eXMt4+Oe1gho6rxis9k/h1TTy5a8LMaI64UhnnRD1mS\n\t5ZGA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=0ffTiU8Yi2Z1YkHn/sAE/syntlhOxDlTfcKO/lCRHrA=;\n\tb=jT7XYr1hIa/ZffhxlJg4za2kOrsyy0iK9XROZaB9IOFRBcFnNLSkRq5ktZCJl/H5Ja\n\tRCG/3VLSs+XNqOhyKbxjnE8Vc6ntowEtKGZ/gh0I0c2MUJuqmSkPIGP93HKIGAuM+pwY\n\tD4etAzPfG1yY7Pex5tf9b77K7W1pO1JRn4oGGL/5GExvkRhW+Ggd9H/ZS9WgVn9tdwhB\n\ttIkEOu5A/6vdQBpjO9IcsmeAzCL2jdaOE8ZLMF11bTmYFDPAXXwrPBDMUQpuq8JYgJ6X\n\tj6T7EQG83jUSJF+4u9uGhqylIcrxseTkP2aqSyYe5jEo5Sa3Y83WvaAl+y2C666irvcc\n\tQwww==","X-Gm-Message-State":"APjAAAX6n4Dlfxb3Xe19bIQ1yP0v0OVtnmnrym23k0nFcKVs+oFBd4LC\n\tBrDYQl9MAOW8DW7xil16FLYN/pRLs1rDHg==","X-Google-Smtp-Source":"APXvYqxiPgbCeS1oyX2tYibU3pq69+kBQIlNfp1sUntMeUI8sK7zTF83ywZtzgzsrKcqB9UcYnv7KA==","X-Received":"by 2002:a5d:5704:: with SMTP id a4mr7002177wrv.198.1580402722027;\n\tThu, 30 Jan 2020 08:45:22 -0800 (PST)","From":"Madhavan Krishnan <madhavan.krishnan@linaro.org>","To":"libcamera-devel@lists.libcamera.org","Cc":"peter.griffin@linaro.org,\n\tmoorthy.baskaravenkatraman-sambamoorthy@linaro.org,\n\tmadhavan.krishnan@linaro.org","Date":"Thu, 30 Jan 2020 17:45:17 +0100","Message-Id":"<1580402717-28724-1-git-send-email-madhavan.krishnan@linaro.org>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<libcamera>","References":"<libcamera>","X-Mailman-Approved-At":"Fri, 31 Jan 2020 17:47:25 +0100","Subject":"[libcamera-devel] [PATCH v2] libcamera: pipeline_handler: Fix the\n\tcompilation issue in musl","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 30 Jan 2020 16:45:23 -0000"},"content":"sys/sysmacros.h was an incorrect choice, which doesn't work with musl.\nThis issue we faced from the following commit\ncommit effe4d6ced881486ef1d17448c7a53aa36ef41eb\n\nSigned-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>\n---\n src/libcamera/include/pipeline_handler.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h\nindex a6c1e1f..97157dd 100644\n--- a/src/libcamera/include/pipeline_handler.h\n+++ b/src/libcamera/include/pipeline_handler.h\n@@ -12,7 +12,7 @@\n #include <memory>\n #include <set>\n #include <string>\n-#include <sys/sysmacros.h>\n+#include <sys/types.h>\n #include <vector>\n \n #include <ipa/ipa_interface.h>\n","prefixes":["libcamera-devel","v2"]}