aboutsummaryrefslogtreecommitdiff
path: root/sysutils/afio/files
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-02-02 16:24:46 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-02-02 16:24:46 +0000
commit76ea44cfebf745c80dea6086fcdd45cff79d5965 (patch)
treeeab53d19aa9139c1721c32f8d22ff79a693e39ca /sysutils/afio/files
parent6d87d555b482493b02181b6e5662a4606a39d933 (diff)
Notes
Diffstat (limited to 'sysutils/afio/files')
-rw-r--r--sysutils/afio/files/patch-aa28
-rw-r--r--sysutils/afio/files/patch-ab16
-rw-r--r--sysutils/afio/files/patch-ad11
3 files changed, 37 insertions, 18 deletions
diff --git a/sysutils/afio/files/patch-aa b/sysutils/afio/files/patch-aa
index 44e2e568bae6..4f46eba8cab4 100644
--- a/sysutils/afio/files/patch-aa
+++ b/sysutils/afio/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Tue Sep 29 04:13:19 1998
-+++ Makefile Wed Dec 9 01:30:18 1998
-@@ -26,7 +26,7 @@
+--- Makefile.orig Thu Nov 25 22:42:26 1999
++++ Makefile Thu Jan 27 15:03:54 2000
+@@ -26,14 +26,14 @@
c = -DHAVEMEMCMP
## Define DEFFMTCMD to being how to format the media you use the most
## This is the DEFault FoRMat CoManD.
@@ -9,6 +9,14 @@
## Define LONGZFILE if you want .Z to be tagged on the end of a 14 char
## file name (or longer for BSD) in the archive when the file is compressed
#e = -DLONGZFILE
+
+ ## Define PRG_COMPRESS to get something other than `gzip'.
+ # you need to edit compfile.c (-G option) if you change this line.
+-f = -DPRG_COMPRESS='"gzip"'
++f = -DPRG_COMPRESS='"/usr/bin/gzip"'
+
+ ## Define HAVEFNMATCH if you want to use the gnu fnmatch() routine for
+ # -y -Y -w -W matching.
@@ -43,6 +43,11 @@
g = -DHAVEFNMATCH
@@ -21,22 +29,22 @@
# fnmatch() is in the gnu C library, so it is directly available on
# Linux. If your system (e.g. SCO) does not have the gnu C library,
# unpack the archive gnu.fnmatch.tar.gz and uncomment the following
-@@ -55,14 +60,15 @@
- # redistribute afio executables with this library linked in.
+@@ -56,13 +61,14 @@
#CFLAGS1 = -ggdb
--CFLAGS1 = -Wformat -g -O2 -fomit-frame-pointer
-+#FLAGS1 = -Wformat -g -O2 -fomit-frame-pointer
- #CFLAGS1 = -Wformat -g -fomit-frame-pointer
+ #CFLAGS1 = -Wall -s -g -O2 -fomit-frame-pointer
+-CFLAGS1 = -Wall -O2 -fomit-frame-pointer
++#CFLAGS1 = -Wall -O2 -fomit-frame-pointer
+CFLAGS1 = -fomit-frame-pointer -fno-strength-reduce
- CC=gcc
+-CC=gcc
++#CC=gcc
-CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $I
+CFLAGS += ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $h $I
- LDFLAGS = -s
+ LDFLAGS =
afio : afio.o compfile.o exten.o match.o $M
@@ -72,8 +78,8 @@
diff --git a/sysutils/afio/files/patch-ab b/sysutils/afio/files/patch-ab
index 6fc5a9addb74..6dbf321690f4 100644
--- a/sysutils/afio/files/patch-ab
+++ b/sysutils/afio/files/patch-ab
@@ -1,11 +1,11 @@
---- afio.c.orig Tue Sep 29 04:05:54 1998
-+++ afio.c Wed Dec 9 01:38:58 1998
-@@ -427,7 +427,7 @@
- if (aruntil && (aruntil < arbsize))
- {
- fprintf (stderr, "Media size %ld is less than buffer size %d\n",
+--- afio.c.orig Fri Nov 26 01:24:39 1999
++++ afio.c Thu Jan 27 14:23:28 2000
+@@ -609,7 +609,7 @@
+ aruntil, arbsize);
+ #else
+ fprintf (stderr, "Media size %ld is less than block size %d\n",
- (ulong) aruntil, arbsize);
+ (u_long) aruntil, arbsize);
- usage ();
+ #endif
+ usage ();
}
- if (arpad == 0)
diff --git a/sysutils/afio/files/patch-ad b/sysutils/afio/files/patch-ad
new file mode 100644
index 000000000000..53c760f3c328
--- /dev/null
+++ b/sysutils/afio/files/patch-ad
@@ -0,0 +1,11 @@
+--- compfile.c.orig Thu Nov 25 22:22:28 1999
++++ compfile.c Thu Jan 27 14:36:31 2000
+@@ -207,7 +207,7 @@
+ * version;
+ */
+
+-#if ( defined(sun) && defined(__svr4__) )
++#if ( defined(sun) && defined(__svr4__) || defined(__FreeBSD__) )
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>