ports/59073: Fix mail/gensig build on 5.X
Samy Al Bahra
samy at kerneled.com
Sun Nov 9 10:30:23 UTC 2003
>Number: 59073
>Category: ports
>Synopsis: Fix mail/gensig build on 5.X
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 09 02:30:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Samy Al Bahra
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled
>Environment:
System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003 samy at beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386
>Description:
mail/gensig does not build on 5.X
systems due to its usage of multistring
literals (depreciated in gcc 3.X). The fix
follows.
>How-To-Repeat:
Build on a 5.X system.
>Fix:
diff -ruN gensig/Makefile /tmp/gensig/Makefile
--- gensig/Makefile Sun Nov 9 13:17:27 2003
+++ /tmp/gensig/Makefile Sun Nov 9 13:14:18 2003
@@ -18,10 +18,4 @@
MAN1= gensig.1 cattag.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN gensig/files/patch-gensig.c /tmp/gensig/files/patch-gensig.c
--- gensig/files/patch-gensig.c Thu Jan 1 03:00:00 1970
+++ /tmp/gensig/files/patch-gensig.c Sun Nov 9 13:17:41 2003
@@ -0,0 +1,20 @@
+--- gensig.c.orig Sun Nov 9 13:14:32 2003
++++ gensig.c Sun Nov 9 13:16:56 2003
+@@ -61,7 +61,7 @@
+ -h, --help Print this message\n\
+ -k, --kill Kill running gensig (nothing else)\n\
+ -m, --format File to read for format of signature (printf-style)\n\
+- -o, --once Once, write a signature to stdout & quit
++ -o, --once Once, write a signature to stdout & quit\n\
+ -q, --quiet Don't complain if there's aready a gensig running\n\
+ (Just fail silently)\n\
+ -r, --restart Kill running gensig (if one exists) and restart\n\
+@@ -78,7 +78,7 @@
+ -h Print this message\n\
+ -k Kill running gensig (nothing else)\n\
+ -m File to read for format of signature (printf-style) (requires a value)\n\
+- -o Once, write a signature to stdout & exit
++ -o Once, write a signature to stdout & exit\n\
+ -q Don't complain if there's aready a gensig running\n\
+ (Just fail silently)\n\
+ -r Kill running gensig (if one exists) and restart\n\
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list