pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dhisd Remove inclusion of varargs.h as the program...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb41369f4e21
branches:  trunk
changeset: 466089:eb41369f4e21
user:      cjep <cjep%pkgsrc.org@localhost>
date:      Sun Jan 11 14:49:19 2004 +0000

description:
Remove inclusion of varargs.h as the program does not appear to use
va_{start,arg,end} and the inclusion stops the program building with
gcc3.3.

(Also use bl2.)

diffstat:

 net/dhisd/Makefile         |   6 ++++--
 net/dhisd/distinfo         |   6 +++---
 net/dhisd/patches/patch-aa |   4 ++--
 net/dhisd/patches/patch-ab |  14 +++++++++++---
 4 files changed, 20 insertions(+), 10 deletions(-)

diffs (76 lines):

diff -r 1cd42828987b -r eb41369f4e21 net/dhisd/Makefile
--- a/net/dhisd/Makefile        Sun Jan 11 14:21:27 2004 +0000
+++ b/net/dhisd/Makefile        Sun Jan 11 14:49:19 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2003/12/30 17:27:31 cjep Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/11 14:49:19 cjep Exp $
 #
 
 DISTNAME=      dhisd-5.0
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.dhis.org/pub/dhis/
 
@@ -9,7 +10,7 @@
 HOMEPAGE=      http://www.dhis.org/
 COMMENT=       DynDNS server
 
-DEPENDS+=      gmp>=3.0:../../devel/gmp
+USE_BUILDLINK2=        yes
 
 do-install:
                ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dhisd
@@ -37,4 +38,5 @@
                        ${PREFIX}/bin/dhisd-genkeys \
                        ${PREFIX}/bin/dhisd
 
+.include "../../devel/gmp/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1cd42828987b -r eb41369f4e21 net/dhisd/distinfo
--- a/net/dhisd/distinfo        Sun Jan 11 14:21:27 2004 +0000
+++ b/net/dhisd/distinfo        Sun Jan 11 14:49:19 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/06/05 23:39:27 hubertf Exp $
+$NetBSD: distinfo,v 1.2 2004/01/11 14:49:19 cjep Exp $
 
 SHA1 (dhisd-5.0.tar.gz) = 05e0a40bf07a2274d40b90b663a2a853b3aa526b
 Size (dhisd-5.0.tar.gz) = 27737 bytes
-SHA1 (patch-aa) = c025fc3f6dbc59675e33ae476f000dc87a9355a1
-SHA1 (patch-ab) = d1078120ee1579335d431d943f82bbea606e0d37
+SHA1 (patch-aa) = fea2567e7cac0b594042c542173261e23a48efe8
+SHA1 (patch-ab) = 998607a6f718a276fb9584f94c0d3232295b0fbc
diff -r 1cd42828987b -r eb41369f4e21 net/dhisd/patches/patch-aa
--- a/net/dhisd/patches/patch-aa        Sun Jan 11 14:21:27 2004 +0000
+++ b/net/dhisd/patches/patch-aa        Sun Jan 11 14:49:19 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 23:39:27 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2004/01/11 14:49:19 cjep Exp $
 
---- Makefile.orig      Sun Apr  1 16:05:44 2001
+--- Makefile.orig      2001-04-01 15:05:44.000000000 +0100
 +++ Makefile
 @@ -26,11 +26,11 @@
  #      DHIS(c)  Dynamic Host Information System Release 5.0
diff -r 1cd42828987b -r eb41369f4e21 net/dhisd/patches/patch-ab
--- a/net/dhisd/patches/patch-ab        Sun Jan 11 14:21:27 2004 +0000
+++ b/net/dhisd/patches/patch-ab        Sun Jan 11 14:49:19 2004 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/06/05 23:39:27 hubertf Exp $
+$NetBSD: patch-ab,v 1.2 2004/01/11 14:49:19 cjep Exp $
 
---- dhisd.h.orig       Sun Apr  1 01:24:33 2001
+--- dhisd.h.orig       2001-04-01 00:24:33.000000000 +0100
 +++ dhisd.h
-@@ -64,9 +64,9 @@
+@@ -47,7 +47,6 @@
+ #include<sys/signal.h>
+ #include<sys/wait.h>
+ #include<syslog.h>
+-#include<varargs.h>
+ #include<gmp.h>
+ 
+ #define       BOURNE_SHELL            "/bin/sh"
+@@ -64,9 +63,9 @@
  #define       CHECK_FAILS     3               /* maximum check fails */
  
  #define       DHISD_PORT      58800



Home | Main Index | Thread Index | Old Index