aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-15 21:08:49 +0800
committeredwin <edwin@FreeBSD.org>2003-10-15 21:08:49 +0800
commit15e429eae0e50e331d2a249f09ff5e7c8c13786f (patch)
tree4eb5a5f4e8e05b4ba2e82a5f617f84c6111f6f33
parent8d997981d2ff13a8d1fec46fac6553b6a29e1274 (diff)
downloadfreebsd-ports-gnome-15e429eae0e50e331d2a249f09ff5e7c8c13786f.tar.gz
freebsd-ports-gnome-15e429eae0e50e331d2a249f09ff5e7c8c13786f.tar.zst
freebsd-ports-gnome-15e429eae0e50e331d2a249f09ff5e7c8c13786f.zip
unbreak net/bpgq by adding \n\ to end of printf() statements.
Informed maintainer.
-rw-r--r--net-mgmt/bgpq/Makefile9
-rw-r--r--net-mgmt/bgpq/files/patch-ro.c27
-rw-r--r--net/bgpq/Makefile9
-rw-r--r--net/bgpq/files/patch-ro.c27
4 files changed, 58 insertions, 14 deletions
diff --git a/net-mgmt/bgpq/Makefile b/net-mgmt/bgpq/Makefile
index 6ec3a1f5dd92..ed08e61f870f 100644
--- a/net-mgmt/bgpq/Makefile
+++ b/net-mgmt/bgpq/Makefile
@@ -6,6 +6,7 @@
PORTNAME= bgpq
PORTVERSION= 1.0.7.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
@@ -19,10 +20,4 @@ HAS_CONFIGURE= yes
post-install:
${STRIP_CMD} ${PREFIX}/bin/bgpq
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/bgpq/files/patch-ro.c b/net-mgmt/bgpq/files/patch-ro.c
new file mode 100644
index 000000000000..5563b4976daf
--- /dev/null
+++ b/net-mgmt/bgpq/files/patch-ro.c
@@ -0,0 +1,27 @@
+--- ro.c.orig Wed Oct 15 06:07:13 2003
++++ ro.c Wed Oct 15 06:07:38 2003
+@@ -471,18 +471,18 @@
+ if(extrange) {
+ if(retval<100 || (retval>199 && retval<2000) || retval>2699) {
+ fprintf(f,"\
+-!=============================================================================
+-! WARNING ! %s is out of extended access-list ranges (100-199 and 2000-2699)
+-!=============================================================================
++!=============================================================================\n\
++! WARNING ! %s is out of extended access-list ranges (100-199 and 2000-2699)\n\
++!=============================================================================\n\
+ ",string);
+ exit(1);
+ };
+ } else {
+ if((retval>100 && retval<1300) || retval>1999) {
+ fprintf(f,"\
+-!=============================================================================
+-! WARNING ! %s is out of standard access-list ranges (1-99 and 1300-1999)
+-!=============================================================================
++!=============================================================================\n\
++! WARNING ! %s is out of standard access-list ranges (1-99 and 1300-1999)\n\
++!=============================================================================\n\
+ ",string);
+
+ exit(1);
diff --git a/net/bgpq/Makefile b/net/bgpq/Makefile
index 6ec3a1f5dd92..ed08e61f870f 100644
--- a/net/bgpq/Makefile
+++ b/net/bgpq/Makefile
@@ -6,6 +6,7 @@
PORTNAME= bgpq
PORTVERSION= 1.0.7.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
@@ -19,10 +20,4 @@ HAS_CONFIGURE= yes
post-install:
${STRIP_CMD} ${PREFIX}/bin/bgpq
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/bgpq/files/patch-ro.c b/net/bgpq/files/patch-ro.c
new file mode 100644
index 000000000000..5563b4976daf
--- /dev/null
+++ b/net/bgpq/files/patch-ro.c
@@ -0,0 +1,27 @@
+--- ro.c.orig Wed Oct 15 06:07:13 2003
++++ ro.c Wed Oct 15 06:07:38 2003
+@@ -471,18 +471,18 @@
+ if(extrange) {
+ if(retval<100 || (retval>199 && retval<2000) || retval>2699) {
+ fprintf(f,"\
+-!=============================================================================
+-! WARNING ! %s is out of extended access-list ranges (100-199 and 2000-2699)
+-!=============================================================================
++!=============================================================================\n\
++! WARNING ! %s is out of extended access-list ranges (100-199 and 2000-2699)\n\
++!=============================================================================\n\
+ ",string);
+ exit(1);
+ };
+ } else {
+ if((retval>100 && retval<1300) || retval>1999) {
+ fprintf(f,"\
+-!=============================================================================
+-! WARNING ! %s is out of standard access-list ranges (1-99 and 1300-1999)
+-!=============================================================================
++!=============================================================================\n\
++! WARNING ! %s is out of standard access-list ranges (1-99 and 1300-1999)\n\
++!=============================================================================\n\
+ ",string);
+
+ exit(1);