pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/qore qore: Avoid Linux-specific AF_* interfaces.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8316e4997ecb
branches:  trunk
changeset: 378921:8316e4997ecb
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 09 12:51:04 2022 +0000

description:
qore: Avoid Linux-specific AF_* interfaces.

diffstat:

 lang/qore/distinfo                      |   3 ++-
 lang/qore/patches/patch-lib_ql__lib.qpp |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r b0387336477c -r 8316e4997ecb lang/qore/distinfo
--- a/lang/qore/distinfo        Mon May 09 12:26:42 2022 +0000
+++ b/lang/qore/distinfo        Mon May 09 12:51:04 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2022/01/27 17:39:45 nros Exp $
+$NetBSD: distinfo,v 1.16 2022/05/09 12:51:04 jperkin Exp $
 
 BLAKE2s (qore-1.2.tar.bz2) = 5346943b0712cbbb478b3a713499b50a65d1481914f8a1976a2d964db11ac60f
 SHA512 (qore-1.2.tar.bz2) = 2e4b9ca981d186777db231a6edb72393a57e03de54417025a734988eb0386f63fdfd2277eb9f65117832f2a56a66721665b7d934f11428219afbb36948df4dc3
 Size (qore-1.2.tar.bz2) = 45399125 bytes
 SHA1 (patch-lib_StatementBlock.cpp) = 90630317a5cee4e089cec51c05e5d895aa8b75f7
+SHA1 (patch-lib_ql__lib.qpp) = a94737d5ed7c930ddc667c5e8be45cd1095d5a4a
diff -r b0387336477c -r 8316e4997ecb lang/qore/patches/patch-lib_ql__lib.qpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/qore/patches/patch-lib_ql__lib.qpp   Mon May 09 12:51:04 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_ql__lib.qpp,v 1.1 2022/05/09 12:51:04 jperkin Exp $
+
+Avoid Linux-specific AF_* interfaces.
+
+--- lib/ql_lib.qpp.orig        2022-01-03 08:32:26.000000000 +0000
++++ lib/ql_lib.qpp
+@@ -67,6 +67,10 @@
+ #include <ifaddrs.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
++#if defined(__sun)
++#undef AF_LINK
++#undef AF_PACKET
++#endif
+ #ifdef AF_LINK
+ #include <net/if_dl.h>
+ #endif



Home | Main Index | Thread Index | Old Index