aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-02-07 20:54:59 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-02-07 20:54:59 +0000
commitc03047ecda85fabb592d3ed2cf8c69fd0d328600 (patch)
treefd513770a3545dc0b258802b4a0cf0bf2ae3a9e2 /misc
parent90fe751c8dbe1a6cc5f979ba5f571469581402a3 (diff)
downloadports-c03047ecda85fabb592d3ed2cf8c69fd0d328600.tar.gz
ports-c03047ecda85fabb592d3ed2cf8c69fd0d328600.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/gnuls/Makefile1
-rw-r--r--misc/gnuls/files/patch-ai12
2 files changed, 13 insertions, 0 deletions
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile
index ab7a05140e34..65a6ba680b28 100644
--- a/misc/gnuls/Makefile
+++ b/misc/gnuls/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnuls
PORTVERSION= 4.0
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= fileutils
diff --git a/misc/gnuls/files/patch-ai b/misc/gnuls/files/patch-ai
new file mode 100644
index 000000000000..8cf9bf7aa38e
--- /dev/null
+++ b/misc/gnuls/files/patch-ai
@@ -0,0 +1,12 @@
+--- lib/error.c.orig Fri Mar 27 12:22:34 1998
++++ lib/error.c Thu Jan 31 08:49:18 2002
+@@ -152,7 +152,8 @@
+ {
+ #if defined HAVE_STRERROR_R || defined _LIBC
+ char errbuf[1024];
+- fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
++ __strerror_r (errnum, errbuf, sizeof errbuf);
++ fprintf (stderr, ": %s", errbuf);
+ #else
+ fprintf (stderr, ": %s", strerror (errnum));
+ #endif