ports/102616: [ patch ] misc/seq2: fix coredump on -CURRENT
Roman Bogorodskiy
novel at FreeBSD.org
Mon Aug 28 17:40:25 UTC 2006
>Number: 102616
>Category: ports
>Synopsis: [ patch ] misc/seq2: fix coredump on -CURRENT
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 28 17:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD sledge.freebsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #762: Fri Aug 25 14:14:54 UTC 2006 root at sledge.freebsd.org:/h/src/sys/amd64/compile/SLEDGE amd64
>Description:
seq2 coredumps on -CURRENT if you pass '-h' or '-v' args, i.e.
$ seq2 -v
or
$ seq2 -h
The attached patch fixes the problem.
>How-To-Repeat:
>Fix:
--- seq2_fix_on_current.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/seq2/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 10 May 2006 22:37:23 -0000 1.3
+++ Makefile 28 Aug 2006 17:26:54 -0000
@@ -7,6 +7,7 @@
PORTNAME= seq2
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.referee.at/unix/
Index: files/patch-src-info.c
===================================================================
RCS file: files/patch-src-info.c
diff -N files/patch-src-info.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-src-info.c 28 Aug 2006 17:26:54 -0000
@@ -0,0 +1,11 @@
+--- src/info.c.orig Sun Aug 27 21:14:35 2006
++++ src/info.c Sun Aug 27 21:18:06 2006
+@@ -17,7 +17,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+-
++#include <libgen.h>
+
+ void author()
+ {
--- seq2_fix_on_current.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list