* [ptxdist] [PATCH] patches/net-snmp-5.9.5.2: Fix broken net-snmp linking with new libtool.
@ 2026-11-21 16:45 Christian Melki
0 siblings, 0 replies; only message in thread
From: Christian Melki @ 2026-11-21 16:45 UTC (permalink / raw)
To: ptxdist
Add new patch when regenerating makefiles with libtool 2.6.2+.
This will probably be fixed in the upcoming revisions so it most likely
should be removed soon.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
...le.in-Fix-missing-library-dependency.patch | 25 +++++++++++++++++++
patches/net-snmp-5.9.5.2/series | 3 ++-
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 patches/net-snmp-5.9.5.2/0002-apps-Makefile.in-Fix-missing-library-dependency.patch
diff --git a/patches/net-snmp-5.9.5.2/0002-apps-Makefile.in-Fix-missing-library-dependency.patch b/patches/net-snmp-5.9.5.2/0002-apps-Makefile.in-Fix-missing-library-dependency.patch
new file mode 100644
index 000000000..8fcb38545
--- /dev/null
+++ b/patches/net-snmp-5.9.5.2/0002-apps-Makefile.in-Fix-missing-library-dependency.patch
@@ -0,0 +1,25 @@
+From: Christian Melki <christian.melki@t2data.com>
+Date: Sat, 21 Nov 2026 15:34:05 +0100
+Subject: [PATCH] apps/Makefile.in: Fix missing library dependency.
+
+Exposed by a libtool upgrade. Old libtool and linking must have
+silently ignored this.
+
+Signed-off-by: Christian Melki <christian.melki@t2data.com>
+---
+ apps/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/apps/Makefile.in b/apps/Makefile.in
+index 57b8524a90d2..8966dbaf217a 100644
+--- a/apps/Makefile.in
++++ b/apps/Makefile.in
+@@ -235,7 +235,7 @@ snmppcap$(EXEEXT): snmppcap.$(OSUFFIX) $(USEAGENTLIBS)
+ $(LINK) ${CFLAGS} -o $@ snmppcap.$(OSUFFIX) ${LDFLAGS} ${USEAGENTLIBS} ${LIBS} -lpcap
+
+ libnetsnmptrapd.$(LIB_EXTENSION)$(LIB_VERSION): $(LLIBTRAPD_OBJS)
+- $(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(MIBLIB) $(MYSQL_LIBS) $(USELIBS) $(PERLLDOPTS_FOR_LIBS) $(LDFLAGS)
++ $(LIB_LD_CMD) $@ ${LLIBTRAPD_OBJS} $(USEAGENTLIBS) $(MYSQL_LIBS) $(PERLLDOPTS_FOR_LIBS) $(LDFLAGS)
+ $(RANLIB) $@
+
+ snmpinforminstall:
diff --git a/patches/net-snmp-5.9.5.2/series b/patches/net-snmp-5.9.5.2/series
index 50f3e9b73..81ae3aa76 100644
--- a/patches/net-snmp-5.9.5.2/series
+++ b/patches/net-snmp-5.9.5.2/series
@@ -1,4 +1,5 @@
# generated by git-ptx-patches
#tag:base --start-number 1
0001-Don-t-disable-udp-and-tcp-when-disable-agentx-dom-so.patch
-# b1db2da68fc49d98e70f533e3bf34909 - git-ptx-patches magic
+0002-apps-Makefile.in-Fix-missing-library-dependency.patch
+# f22ad19dff4a2f4af24a0bd76f6588c3 - git-ptx-patches magic
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-21 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21 16:45 [ptxdist] [PATCH] patches/net-snmp-5.9.5.2: Fix broken net-snmp linking with new libtool Christian Melki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox