pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/pchar
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jan 27 14:11:32 UTC 2025
Modified Files:
pkgsrc/net/pchar: distinfo
Added Files:
pkgsrc/net/pchar/patches: patch-GetIfInfo.cc
Log Message:
pchar: fix build
Add
extern "C"
so that functions are not defined with different linkage
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/pchar/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/pchar/patches/patch-GetIfInfo.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/pchar/distinfo
diff -u pkgsrc/net/pchar/distinfo:1.13 pkgsrc/net/pchar/distinfo:1.14
--- pkgsrc/net/pchar/distinfo:1.13 Sat Aug 17 11:47:12 2024
+++ pkgsrc/net/pchar/distinfo Mon Jan 27 14:11:32 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.13 2024/08/17 11:47:12 jperkin Exp $
+$NetBSD: distinfo,v 1.14 2025/01/27 14:11:32 wiz Exp $
BLAKE2s (pchar-1.5.tar.gz) = 092107cd135c40c3d2886203928e53fcebb84302f84900b87e5ac99fb84de739
SHA512 (pchar-1.5.tar.gz) = 56784589a16638a12230a11a177b8dd97a7abac927624beaaea89e0169423f7242c2b434a36aad1a07d977e6b006fd71eb9132aecb1d35e3e3363eb2d1549d84
Size (pchar-1.5.tar.gz) = 117678 bytes
+SHA1 (patch-GetIfInfo.cc) = bdab68f1c03ead8db6bf7caa413f74129f5e38f1
SHA1 (patch-PctestIpv6Icmp.cc) = 28f4807aa8776fc45377661f4095b9033ad69d36
SHA1 (patch-PctestIpv6Tcp.cc) = 06113c259529c51d756ae848bcea831c5dac5471
SHA1 (patch-PctestIpv6Udp.cc) = c2d8dfac106ad7510b0005f6f078983833f909ce
Added files:
Index: pkgsrc/net/pchar/patches/patch-GetIfInfo.cc
diff -u /dev/null pkgsrc/net/pchar/patches/patch-GetIfInfo.cc:1.1
--- /dev/null Mon Jan 27 14:11:32 2025
+++ pkgsrc/net/pchar/patches/patch-GetIfInfo.cc Mon Jan 27 14:11:32 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-GetIfInfo.cc,v 1.1 2025/01/27 14:11:32 wiz Exp $
+
+Fix
+include/net-snmp/net-snmp-config.h:46:47: error: conflicting declaration of 'void netsnmp_unused_function()' with 'C' linkage
+
+--- GetIfInfo.cc.orig 2025-01-27 14:09:50.286946451 +0000
++++ GetIfInfo.cc
+@@ -23,6 +23,7 @@
+
+ #include "pc.h"
+
++extern "C" {
+ // UCD SNMP includes
+ #include "ucd-snmp/ucd-snmp-config.h"
+ #include "ucd-snmp/asn1.h"
+@@ -33,6 +34,7 @@
+ #include "ucd-snmp/snmp.h"
+ #include "ucd-snmp/system.h"
+ #include "ucd-snmp/default_store.h"
++}
+
+ #include "GetIfInfo.h"
+ #include "Pctest.h"
Home |
Main Index |
Thread Index |
Old Index