summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-03-24 08:38:03 +0000
committeradam <adam@pkgsrc.org>2021-03-24 08:38:03 +0000
commit7730df7c7f941fa83292e3bb16675406ee930602 (patch)
tree108526eddf512840f026d7ff9f40dfb2aafbb5c1 /net
parent4dcdeb69e679c894113e559d206734a4225897fc (diff)
downloadpkgsrc-7730df7c7f941fa83292e3bb16675406ee930602.tar.gz
dante: fix buildling on Darwin (disable universal binaries)
Diffstat (limited to 'net')
-rw-r--r--net/dante/distinfo4
-rw-r--r--net/dante/patches/patch-ab32
2 files changed, 25 insertions, 11 deletions
diff --git a/net/dante/distinfo b/net/dante/distinfo
index 69f782306f9..68741009571 100644
--- a/net/dante/distinfo
+++ b/net/dante/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.17 2019/02/09 19:51:09 rhialto Exp $
+$NetBSD: distinfo,v 1.18 2021/03/24 08:38:03 adam Exp $
SHA1 (dante-1.4.2.tar.gz) = 671c4df0f0689620c8e7cfe43bae3d7f89c8cc4e
RMD160 (dante-1.4.2.tar.gz) = 8d48b6efa0d551215943c31dc140a0dccac950b9
SHA512 (dante-1.4.2.tar.gz) = 38d4e3086f851fac78e2dbe7f928eba3b8bf1fb9219c42d929b9e1ea324882b0ae583dc59964a2772af4202dfc977387c6f723b320b5abbbe70e1990cd94f53b
Size (dante-1.4.2.tar.gz) = 1307254 bytes
SHA1 (patch-aa) = a201b0ec844a2dd610cd4bfb5ffce2f37132fc77
-SHA1 (patch-ab) = 77890d2eab9f2e487c571c5c3a1b7f181918f382
+SHA1 (patch-ab) = 9566cf94bd52d3df4214232c8bdf77ccb71b0fd3
SHA1 (patch-dlib_interposition.c) = 9af00c8251e71b519e0dfdffaa3c27303e33881f
diff --git a/net/dante/patches/patch-ab b/net/dante/patches/patch-ab
index b533021dfa3..596b9c86349 100644
--- a/net/dante/patches/patch-ab
+++ b/net/dante/patches/patch-ab
@@ -1,15 +1,29 @@
-$NetBSD: patch-ab,v 1.11 2017/02/12 01:01:19 mef Exp $
+$NetBSD: patch-ab,v 1.12 2021/03/24 08:38:03 adam Exp $
-o Delete the -Werror flag in order to recognise the type of sa_len:
+Do not build universal binaries on Darwin.
+Delete the -Werror flag in order to recognise the type of sa_len:
In function ‘main’:
warning: variable ‘sa_len_ptr’ set but not used [-Wunused-but-set-variable] uint8_t *sa_len_ptr;
-o Add support for DragonFly BSD
+Add support for DragonFly BSD
---- configure.orig 2014-09-03 14:52:29.000000000 +0000
+--- configure.orig 2017-02-03 14:17:15.000000000 +0000
+++ configure
-@@ -12804,8 +12804,6 @@ if test x"${debug_enabled}" = xt; then
+@@ -12439,12 +12439,8 @@ case $host in
+ HW=`uname -m`
+ case $HW in
+ ppc*)
+- CFLAGS="$CFLAGS${CFLAGS:+ }-arch ppc -arch ppc64"
+- LDFLAGS="$LDLAGS${LDLAGS:+ }-arch ppc -arch ppc64"
+ ;;
+ *)
+- CFLAGS="$CFLAGS${CFLAGS:+ }-arch i386 -arch x86_64"
+- LDFLAGS="$LDLAGS${LDLAGS:+ }-arch i386 -arch x86_64"
+ ;;
+ esac
+ fi
+@@ -13008,8 +13004,6 @@ if test x"${debug_enabled}" = xt; then
else
#autoconf_compflags is set to "-g -O2" with GCC
#override CFLAGS when running configure to avoid this
@@ -18,7 +32,7 @@ o Add support for DragonFly BSD
case $COMPTYPE in
gcc)
-@@ -15424,7 +15422,7 @@ if test x"${have_sa_len}" != x; then
+@@ -15631,7 +15625,7 @@ if test x"${have_sa_len}" != x; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_len type" >&5
$as_echo_n "checking for sa_len type... " >&6; }
oCFLAGS="$CFLAGS"
@@ -27,7 +41,7 @@ o Add support for DragonFly BSD
unset sa_len_type_found
for type in uint8_t "unsigned char"; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -24719,8 +24717,13 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+@@ -24944,8 +24938,13 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
#include <netdb.h>
#include <unistd.h>
@@ -41,7 +55,7 @@ o Add support for DragonFly BSD
);
int
main ()
-@@ -24740,9 +24743,18 @@ cat >>confdefs.h <<_ACEOF
+@@ -24965,9 +24964,18 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_PROT_GETHOSTBYADDR_1 const char *
_ACEOF
@@ -61,7 +75,7 @@ o Add support for DragonFly BSD
cat >>confdefs.h <<_ACEOF
#define HAVE_PROT_GETHOSTBYADDR_3 int
-@@ -67655,7 +67667,7 @@ problems.
+@@ -67823,7 +67831,7 @@ problems.
fi
VINFO=README.latest