get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2195333/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2195333,
    "url": "http://patchwork.ozlabs.org/api/patches/2195333/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260210192130.2755696-2-buildroot@bubu1.eu/",
    "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": "<20260210192130.2755696-2-buildroot@bubu1.eu>",
    "list_archive_url": null,
    "date": "2026-02-10T19:21:29",
    "name": "[2/2] package/nethogs: switch to meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2e4360c72e5e82b2a1e0dc97e8cf8dc0de7eccff",
    "submitter": {
        "id": 87807,
        "url": "http://patchwork.ozlabs.org/api/people/87807/?format=api",
        "name": "Marcus Hoffmann",
        "email": "buildroot@bubu1.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260210192130.2755696-2-buildroot@bubu1.eu/mbox/",
    "series": [
        {
            "id": 491731,
            "url": "http://patchwork.ozlabs.org/api/series/491731/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491731",
            "date": "2026-02-10T19:21:28",
            "name": "[1/2] package/nethogs: add patch to fix missing time.h includes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491731/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195333/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195333/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=F/nA4bge;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f9WdW1FMsz1xwH\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 11 Feb 2026 06:21:34 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 12DD040268;\n\tTue, 10 Feb 2026 19:21:32 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id LB0Zie-hnbfd; Tue, 10 Feb 2026 19:21:31 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 0EDBC4029A;\n\tTue, 10 Feb 2026 19:21:31 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id 3FC33F2\n for <buildroot@buildroot.org>; Tue, 10 Feb 2026 19:21:29 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 3079B83D13\n for <buildroot@buildroot.org>; Tue, 10 Feb 2026 19:21:29 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id jbFUTJFBfEyW for <buildroot@buildroot.org>;\n Tue, 10 Feb 2026 19:21:28 +0000 (UTC)",
            "from smtp.bubu1.eu (smtp.bubu1.eu [176.9.145.28])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 0F7F883D0A\n for <buildroot@buildroot.org>; Tue, 10 Feb 2026 19:21:27 +0000 (UTC)",
            "from framework-OT.fritz.box (unknown [212.37.174.96])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp.bubu1.eu (Postfix) with ESMTPSA id 4752D2C831B3;\n Tue, 10 Feb 2026 20:21:25 +0100 (CET)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0EDBC4029A",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0F7F883D0A"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770751291;\n\tbh=+Rrbx9fz3NNzzT3Se5f2Z+jgEIMhhwgrREUJV4uli8Q=;\n\th=To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From:Reply-To:From;\n\tb=F/nA4bgeLtMrAsEd5bfO3WgJacSMS3qk51C0+fNvE2YugtThyR05+GeeeronC6e1m\n\t MaRyE9qEWZLmu8fWkEZjS4ib5OqmKAGbm2fn1WXj5/WdsaUvgBR4qtSemH2GyiNn2s\n\t ivg83FNVM3Vg+0J/g5Q9ReMB8o8OrCx9U8UHKbFqnaVVbwWQIBt11cVje9gCmQiOLX\n\t gceA0TORPAMIdSi28Ba9E63wHsY9plESAb/+CV+upTOCRJCaNk8I69TPvsRjkVFOXv\n\t EmaADiV0jHCpL5dEw5HIpqiUpOO62kfrYBACWgJZopqBiP2TMXX32zQ8uZvhumVy2+\n\t VieqxVUdmyRPg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=176.9.145.28;\n helo=smtp.bubu1.eu; envelope-from=buildroot@bubu1.eu; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 0F7F883D0A",
        "To": "buildroot@buildroot.org",
        "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>, Marcus Hoffmann <bubu@bubu1.eu>",
        "Date": "Tue, 10 Feb 2026 20:21:29 +0100",
        "Message-ID": "<20260210192130.2755696-2-buildroot@bubu1.eu>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260210192130.2755696-1-buildroot@bubu1.eu>",
        "References": "<20260210192130.2755696-1-buildroot@bubu1.eu>",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=bubu1.eu; s=bubu;\n t=1770751285; bh=VjDxXmtRbewxf5DhUm86Wv7zCez2zwStkm2h/QxAja0=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References;\n b=B9P5TUv8khW2RvnCqljjuR6ZUtqjxzcrCGxh2CATXuVm2fBFq8WwAD6ctG7xfal+t\n wkffKsUKFioHIr3bhbZ/M+tgYZ1287yDGENOZAlhB63lL5HdAaS1bKHngooVBG62/f\n ke/IxyNiAoWaXlJaBoRaL+uSoqsvcQTu+/ULFN4SZA1/3fth3WcA+kxoom6acSKJFv\n GMm2f8Y79z5pFo8khsGx/X9elv7LvMyI7EvtOPdP6SIjy1+yH+L0KnvcS2YaA++jDi\n w2saWmSmFbPHe4D+q716W3jjrJmJwRChg4s2TrNpIVGfvy+XO1n3Q4cStgASD3Qjz+\n 6yVVNo1eCr/MQ==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bubu1.eu",
            "smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=bubu1.eu header.i=@bubu1.eu\n header.a=rsa-sha256 header.s=bubu header.b=B9P5TUv8"
        ],
        "Subject": "[Buildroot] [PATCH 2/2] package/nethogs: switch to meson build",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "From": "Marcus Hoffmann via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Marcus Hoffmann <buildroot@bubu1.eu>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Add two patches from upstream that are required to get meson builds to\nwork.\n\nDisable building (and installing) libnethogs, as it has currently no\nconsumer. It wasn't available previously either.\n\nThis fixes linker errrors in static builds when libnl is also built\n(which is a dependency of libpcap but the linking flags from pkgconfig\nare not picked up in the handwritten makefiles).\n\nFixes:\n * https://autobuild.buildroot.net/results/9f8/9f8e9214b8f1d62e1638c42d3dcca482c02c16c5/\n * https://autobuild.buildroot.net/results/eea/eea5023d2732e6b8c1be0e3f4e5d9b28954f0a60/\n * https://autobuild.buildroot.net/results/f59/f59f789add493337da7d92e3372a450f74d2c8f3/\n\nSigned-off-by: Marcus Hoffmann <buildroot@bubu1.eu>\n---\n ...ild-remove-unused-ncurses-dependency.patch | 35 ++++++++++++++++\n ...n-fix-build-with-libnethogs-disabled.patch | 41 +++++++++++++++++++\n package/nethogs/nethogs.mk                    | 11 +----\n 3 files changed, 78 insertions(+), 9 deletions(-)\n create mode 100644 package/nethogs/0002-src-meson.build-remove-unused-ncurses-dependency.patch\n create mode 100644 package/nethogs/0003-meson-fix-build-with-libnethogs-disabled.patch",
    "diff": "diff --git a/package/nethogs/0002-src-meson.build-remove-unused-ncurses-dependency.patch b/package/nethogs/0002-src-meson.build-remove-unused-ncurses-dependency.patch\nnew file mode 100644\nindex 0000000000..45e410796b\n--- /dev/null\n+++ b/package/nethogs/0002-src-meson.build-remove-unused-ncurses-dependency.patch\n@@ -0,0 +1,35 @@\n+From 974378443bdaec7206370291ffafc08afa54cfbc Mon Sep 17 00:00:00 2001\n+From: Marcus Hoffmann <marcus.hoffmann@othermo.de>\n+Date: Wed, 4 Feb 2026 15:31:34 +0100\n+Subject: [PATCH] src/meson.build: remove unused ncurses++ dependency\n+\n+Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>\n+Upstream: https://github.com/raboof/nethogs/commit/92954b33067facb43fc783b4e9541d577e82f9d3\n+---\n+ src/meson.build | 3 +--\n+ 1 file changed, 1 insertion(+), 2 deletions(-)\n+\n+diff --git a/src/meson.build b/src/meson.build\n+index 03f1b58..19788b3 100644\n+--- a/src/meson.build\n++++ b/src/meson.build\n+@@ -24,7 +24,6 @@ if get_option('enable-nethogs-app').enabled()\n+     ])\n+   ]\n+ \n+-  cursespp_dep = dependency('ncurses++', required: true)\n+   curses_dep = dependency('ncurses', required: true)\n+ \n+   executable('nethogs',\n+@@ -33,7 +32,7 @@ if get_option('enable-nethogs-app').enabled()\n+     cpp_args: c_args,\n+     c_args: c_args,\n+     install: true,\n+-    dependencies : [project_deps, cursespp_dep, curses_dep]\n++    dependencies : [project_deps, curses_dep]\n+   )\n+ endif\n+ \n+-- \n+2.53.0\n+\ndiff --git a/package/nethogs/0003-meson-fix-build-with-libnethogs-disabled.patch b/package/nethogs/0003-meson-fix-build-with-libnethogs-disabled.patch\nnew file mode 100644\nindex 0000000000..c5c0d93b8d\n--- /dev/null\n+++ b/package/nethogs/0003-meson-fix-build-with-libnethogs-disabled.patch\n@@ -0,0 +1,41 @@\n+From 0ed34d8ccb5d36a027ef03a7d6de294590bb1999 Mon Sep 17 00:00:00 2001\n+From: Sam James <sam@gentoo.org>\n+Date: Sat, 25 Jan 2025 16:05:20 +0000\n+Subject: [PATCH] meson: fix build with libnethogs disabled\n+\n+Fix `meson.build:43:19: ERROR: Unknown variable \"libnethogs\".`.\n+\n+While src/ has this correct, the top-level meson.build wasn't right.\n+\n+[Marcus: Backported to v0.8.8]\n+Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>\n+Upstream: https://github.com/raboof/nethogs/commit/5afce747f142f6df6a264ab368c99f47050d9984\n+---\n+ meson.build | 14 ++++++++------\n+ 1 file changed, 8 insertions(+), 6 deletions(-)\n+\n+diff --git a/meson.build b/meson.build\n+index 81d7b59..36bd24c 100644\n+--- a/meson.build\n++++ b/meson.build\n+@@ -38,9 +38,11 @@ subdir('src')\n+ #############################\n+ ## Pkgconfig definition    ##\n+ #############################\n+-pkgconfig = import('pkgconfig')\n+-pkgconfig_install_dir = join_paths(get_option('libdir'), 'pkgconfig')\n+-pkgconfig.generate(libnethogs,\n+-                   requires: ['libpcap'],\n+-                   version: version\n+-                   )\n++if get_option('enable-libnethogs').enabled()\n++  pkgconfig = import('pkgconfig')\n++  pkgconfig_install_dir = join_paths(get_option('libdir'), 'pkgconfig')\n++  pkgconfig.generate(libnethogs,\n++                     requires: ['libpcap'],\n++                     version: version\n++                     )\n++endif\n+-- \n+2.53.0\n+\ndiff --git a/package/nethogs/nethogs.mk b/package/nethogs/nethogs.mk\nindex 74387d7397..773c769ff2 100644\n--- a/package/nethogs/nethogs.mk\n+++ b/package/nethogs/nethogs.mk\n@@ -9,13 +9,6 @@ NETHOGS_SITE = $(call github,raboof,nethogs,v$(NETHOGS_VERSION))\n NETHOGS_LICENSE = GPL-2.0+\n NETHOGS_LICENSE_FILES = COPYING\n NETHOGS_DEPENDENCIES = libpcap ncurses\n+NETHOGS_CONF_OPTS += -Denable-libnethogs=disabled\n \n-define NETHOGS_BUILD_CMDS\n-\t$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) nethogs\n-endef\n-\n-define NETHOGS_INSTALL_TARGET_CMDS\n-\t$(INSTALL) -D -m 0755 $(@D)/src/nethogs $(TARGET_DIR)/usr/sbin/nethogs\n-endef\n-\n-$(eval $(generic-package))\n+$(eval $(meson-package))\n",
    "prefixes": [
        "2/2"
    ]
}