pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/libproxy ntohl etc are in POSIX, no need for _NETB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/917e3143abcc
branches:  trunk
changeset: 556261:917e3143abcc
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Mar 18 12:40:52 2009 +0000

description:
ntohl etc are in POSIX, no need for _NETBSD_SOURCE

diffstat:

 www/libproxy/distinfo         |   4 ++--
 www/libproxy/patches/patch-aa |  15 ++++++---------
 2 files changed, 8 insertions(+), 11 deletions(-)

diffs (46 lines):

diff -r bb6eff44f47d -r 917e3143abcc www/libproxy/distinfo
--- a/www/libproxy/distinfo     Wed Mar 18 12:28:56 2009 +0000
+++ b/www/libproxy/distinfo     Wed Mar 18 12:40:52 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2009/03/18 03:55:29 hasso Exp $
+$NetBSD: distinfo,v 1.4 2009/03/18 12:40:52 drochner Exp $
 
 SHA1 (libproxy-0.2.3.tar.gz) = 2b2b00a179740548035a1145bbae600db9b0a2ce
 RMD160 (libproxy-0.2.3.tar.gz) = c86c4f8403cb879380e101d074af469c960b5c1c
 Size (libproxy-0.2.3.tar.gz) = 378773 bytes
-SHA1 (patch-aa) = b657736fc5dd29c33f099b757cfbe98735736dc5
+SHA1 (patch-aa) = 6e6c7b1e0e396bed522480ca6fb347c5787a1359
 SHA1 (patch-ab) = 092f99af979d3a456e188386a3e62da1ac6e843d
 SHA1 (patch-ac) = 891e6217c1d7cd78a5f57afb8b1267aed8c1de75
 SHA1 (patch-ad) = f88c2818f861533a504119333e5aff44bb12ce0f
diff -r bb6eff44f47d -r 917e3143abcc www/libproxy/patches/patch-aa
--- a/www/libproxy/patches/patch-aa     Wed Mar 18 12:28:56 2009 +0000
+++ b/www/libproxy/patches/patch-aa     Wed Mar 18 12:40:52 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2009/03/18 03:55:29 hasso Exp $
+$NetBSD: patch-aa,v 1.4 2009/03/18 12:40:52 drochner Exp $
 
 --- configure.ac.orig  2008-06-05 23:56:16 +0300
 +++ configure.ac       2009-03-18 05:25:38 +0200
@@ -76,16 +76,13 @@
                NETWORKMANAGER_CFLAGS="$NetworkManager_CFLAGS"
                NETWORKMANAGER_LIBS="$NetworkManager_LIBS"
                AC_SUBST(NETWORKMANAGER_CFLAGS)
-@@ -178,10 +178,19 @@ PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE
+@@ -176,12 +176,15 @@ AC_C_CONST
+ AC_TYPE_SIZE_T
+ PLUGINDIR=$libdir/$PACKAGE_NAME/$PACKAGE_VERSION/plugins
  AC_SUBST(PLUGINDIR)
- CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
+-CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=1"
++CFLAGS="-g -std=c99 $CFLAGS -DPLUGINDIR=\\\"$PLUGINDIR\\\" -DSYSCONFDIR=\\\"$sysconfdir\\\" -D_POSIX_C_SOURCE=200112"
  
-+case $host_os in
-+      netbsd*)
-+              CFLAGS="$CFLAGS -D_NETBSD_SOURCE"
-+              ;;
-+esac
-+
  ### Checks for library functions.
  AC_FUNC_MALLOC
  #AC_CHECK_FUNCS([gethostbyname gethostname memset socket strdup strstr])



Home | Main Index | Thread Index | Old Index