Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/856380/?format=api
{ "id": 856380, "url": "http://patchwork.ozlabs.org/api/patches/856380/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20180106145249.3090-1-marcus.folkesson@gmail.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20180106145249.3090-1-marcus.folkesson@gmail.com>", "list_archive_url": null, "date": "2018-01-06T14:52:49", "name": "libselinux: set PREFIX to generate proper .pc file", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "22439d2e8dabe54852976acf40984b530f5162f7", "submitter": { "id": 46679, "url": "http://patchwork.ozlabs.org/api/people/46679/?format=api", "name": "Marcus Folkesson", "email": "marcus.folkesson@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20180106145249.3090-1-marcus.folkesson@gmail.com/mbox/", "series": [ { "id": 21706, "url": "http://patchwork.ozlabs.org/api/series/21706/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=21706", "date": "2018-01-06T14:52:49", "name": "libselinux: set PREFIX to generate proper .pc file", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/21706/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/856380/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/856380/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"jC4D45Kk\"; dkim-atps=neutral" ], "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zDPfM5nWlz9s4s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 7 Jan 2018 01:52:59 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 0C3E1891B1;\n\tSat, 6 Jan 2018 14:52:56 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id NkXn14Y-jHQb; Sat, 6 Jan 2018 14:52:54 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 34EDA88BAF;\n\tSat, 6 Jan 2018 14:52:54 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id D6C611C21E2\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 6 Jan 2018 14:52:53 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D227C8A29F\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 6 Jan 2018 14:52:53 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5xYW74vsuEUx for <buildroot@lists.busybox.net>;\n\tSat, 6 Jan 2018 14:52:53 +0000 (UTC)", "from mail-lf0-f66.google.com (mail-lf0-f66.google.com\n\t[209.85.215.66])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0D6358A28F\n\tfor <buildroot@buildroot.org>; Sat, 6 Jan 2018 14:52:53 +0000 (UTC)", "by mail-lf0-f66.google.com with SMTP id o76so1477639lfi.10\n\tfor <buildroot@buildroot.org>; Sat, 06 Jan 2018 06:52:52 -0800 (PST)", "from localhost.localdomain (c-2ec264ee-74736162.cust.telenor.se.\n\t[46.194.100.238]) by smtp.gmail.com with ESMTPSA id\n\tw3sm1452994lfd.74.2018.01.06.06.52.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 06 Jan 2018 06:52:50 -0800 (PST)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=87ltx+BwTvk9MbQVrSz1ZykLYIw2HVvVTb0gCiCPnNE=;\n\tb=jC4D45KkzdvHxzKao10gwRPab3jfmpSC+ZlKNpk0570FQ5ADtYJbRlTYfNlthC03RI\n\tlf7OEynkfHHwOnC7uGWiRATYs26owTDaPe3ctzprSxMe61Gv4xCyRMejS1sTqcKSACX5\n\tgpl5HDSywRvo04sQ9+/fwvf56lilNAI68MDEHfSYyiueCNRojQZ/O0vsHz4mY9IcSeAc\n\trBwL9JjrUBdHxKu5baUB4SU9E+LI6dwJhux+KGMKkdtxvrCLSsEs0/Wdnguk3iyhprTI\n\t1RB6CiczQGR4ex6Q+C2wtwMon79z+ZPx6nOeq62PBS1yUNQdJ1gqxUpL70qI4m2arCFS\n\tJBUg==", "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;\n\tbh=87ltx+BwTvk9MbQVrSz1ZykLYIw2HVvVTb0gCiCPnNE=;\n\tb=Gx7u+77vDQr+r48aZYBGf7qsWCrYn+Jb6DyNECpO2/R7JiaR8KO9vG1Gd6p3PoUqjq\n\tQHXYTEXyO/aKvhjIqG5cRvRVfYZL7+5hLecQ+98S40oYXcgvzrnQQwfl0MdZRZQcxi+h\n\txSAt8qxkap2XWbR3YK9Nletl+lExJLoEOdm6O51D39iLQkaypMH3eGcW2/uXrfYCOEys\n\t525KIpJvarh2SHLmmo+0mDbmu446KH6pNhI4WM7KFDMMtkNkF9+x9Xl+7RU3DxqdoZCn\n\tdWl2zHfpGjhga95TSBjtAOzIWOGF+ZWauUk2qkJodJRlP+3gVa9zIJvFrnftzYoQSzdq\n\t0rOw==", "X-Gm-Message-State": "AKGB3mL7Y5ipDbCyXuKvXcNU46YkufOsqMq1IW8mybC3gFpdBWnp2Ghj\n\t6K+PyJm1tax2Zk7BZyiP9uWqEhW7", "X-Google-Smtp-Source": "ACJfBotFErECrD6N1FmVS3+2UGJRUvjFljOSiwGe4LuCmTPejWw5wNO7VIANnAk/fmLCvEBer76tsA==", "X-Received": "by 10.46.25.143 with SMTP id 15mr3676867ljz.3.1515250371080;\n\tSat, 06 Jan 2018 06:52:51 -0800 (PST)", "From": "Marcus Folkesson <marcus.folkesson@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Sat, 6 Jan 2018 15:52:49 +0100", "Message-Id": "<20180106145249.3090-1-marcus.folkesson@gmail.com>", "X-Mailer": "git-send-email 2.15.1", "Subject": "[Buildroot] [PATCH] libselinux: set PREFIX to generate proper .pc\n\tfile", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.24", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "Cc": "Marcus Folkesson <marcus.folkesson@gmail.com>,\n\tAdam Duskett <aduskett@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>\n---\n package/libselinux/libselinux.mk | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk\nindex 8ac8000de5..bf33da7f75 100644\n--- a/package/libselinux/libselinux.mk\n+++ b/package/libselinux/libselinux.mk\n@@ -43,17 +43,19 @@ LIBSELINUX_MAKE_INSTALL_TARGETS += install-pywrap\n # dependencies are broken and result in file truncation errors at link\n # time if the Python bindings are built through the same make\n # invocation as the rest of the library.\n+# DESTDIR is needed during the compile to compute library and header paths.\n define LIBSELINUX_BUILD_PYTHON_BINDINGS\n \t$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \\\n \t\t$(LIBSELINUX_MAKE_OPTS) DESTDIR=$(STAGING_DIR) swigify pywrap\n endef\n endif # python || python3\n \n+# DESTDIR is needed during the compile to compute library and header paths.\n define LIBSELINUX_BUILD_CMDS\n \t# DESTDIR is needed during the compile to compute library and\n \t# header paths.\n \t$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \\\n-\t\t$(LIBSELINUX_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all\n+\t\t$(LIBSELINUX_MAKE_OPTS) DESTDIR=$(STAGING_DIR) PREFIX=/usr all\n \t$(LIBSELINUX_BUILD_PYTHON_BINDINGS)\n endef\n \n", "prefixes": [] }