pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dante dante: fix buildling on Darwin (disable univ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/218a66d488df
branches:  trunk
changeset: 449254:218a66d488df
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 24 08:38:03 2021 +0000

description:
dante: fix buildling on Darwin (disable universal binaries)

diffstat:

 net/dante/distinfo         |   4 ++--
 net/dante/patches/patch-ab |  32 +++++++++++++++++++++++---------
 2 files changed, 25 insertions(+), 11 deletions(-)

diffs (89 lines):

diff -r c73dc37290c0 -r 218a66d488df net/dante/distinfo
--- a/net/dante/distinfo        Tue Mar 23 18:17:47 2021 +0000
+++ b/net/dante/distinfo        Wed Mar 24 08:38:03 2021 +0000
@@ -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 -r c73dc37290c0 -r 218a66d488df net/dante/patches/patch-ab
--- a/net/dante/patches/patch-ab        Tue Mar 23 18:17:47 2021 +0000
+++ b/net/dante/patches/patch-ab        Wed Mar 24 08:38:03 2021 +0000
@@ -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 @@
  
      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 @@
     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 @@
  );
  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 @@
  
  cat >>confdefs.h <<_ACEOF
  #define HAVE_PROT_GETHOSTBYADDR_3 int
-@@ -67655,7 +67667,7 @@ problems.
+@@ -67823,7 +67831,7 @@ problems.
  fi
  
  VINFO=README.latest


Home | Main Index | Thread Index | Old Index