Ipsc Patch for -CURRENT

Cy Schubert Cy.Schubert at komquats.com
Fri Feb 20 06:51:28 PST 2004


Jeremy & ports@,

Do you see any issue with the following patch to ipsc to fix its build 
issue under -CURRENT?

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/ipsc/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	4 Feb 2004 05:09:01 -0000	1.14
+++ Makefile	20 Feb 2004 14:49:44 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ipsc
 PORTVERSION=	0.4.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	http://ipsc.sourceforge.net/dist/ipsc/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -29,10 +29,6 @@
 ALL_TARGET=	all
 .else
 ALL_TARGET=	ipsc
-.endif
-
-.if ${OSVERSION} >= 500113
-BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
 .endif
 
 post-extract:
Index: files/patch-main.c
===================================================================
RCS file: files/patch-main.c
diff -N files/patch-main.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-main.c	20 Feb 2004 14:49:44 -0000
@@ -0,0 +1,33 @@
+--- main.c.orig	Mon Dec 13 20:04:45 1999
++++ main.c	Fri Feb 20 06:26:45 2004
+@@ -142,18 +142,18 @@
+ 
+ void usage(const char *prog)
+ {
+-        fprintf(stderr, "usage: %s [options] <addr/mask | addr/offset | 
addr>
+-        -C <class>      Network class (a, b, or c).  Must be used with -B
+-	-B <bits>	Subnet bits (must be used with -C)
+-        -i <if>		Reverse engineer an interface (e.g. eth0)
+-	-a		Print all information available
+-	-g		Print general information
+-        -s 		Print all possible subnets
+-	-h		Print host information
+-	-c		Print CIDR information
+-        -v		Print the program version
+-        -?		Print this help message
+-
++        fprintf(stderr, "usage: %s [options] <addr/mask | addr/offset | 
addr>\n\
++        -C <class>      Network class (a, b, or c).  Must be used with 
-B\n\
++	-B <bits>	Subnet bits (must be used with -C)\n\
++        -i <if>		Reverse engineer an interface (e.g. eth0)\n\
++	-a		Print all information available\n\
++	-g		Print general information\n\
++        -s 		Print all possible subnets\n\
++	-h		Print host information\n\
++	-c		Print CIDR information\n\
++        -v		Print the program version\n\
++        -?		Print this help message\n\
++\n\
+         \rReport bugs to %s\n",
+                         prog, MAINTAINER);
+ }



Cheers,
--
Cy Schubert <Cy.Schubert at komquats.com>        http://www.komquats.com/
BC Government                     .                       FreeBSD UNIX
Cy.Schubert at osg.gov.bc.ca         .                     cy at FreeBSD.org
http://www.gov.bc.ca/             .            http://www.FreeBSD.org/





More information about the freebsd-ports mailing list