summaryrefslogtreecommitdiff
path: root/archivers/afio/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/afio/patches/patch-aa')
-rw-r--r--archivers/afio/patches/patch-aa37
1 files changed, 37 insertions, 0 deletions
diff --git a/archivers/afio/patches/patch-aa b/archivers/afio/patches/patch-aa
new file mode 100644
index 00000000000..32b979c8713
--- /dev/null
+++ b/archivers/afio/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $
+
+--- Makefile 2003/06/27 09:37:50 1.1
++++ Makefile 2003/06/27 09:39:40
+@@ -26,7 +26,7 @@
+ c = -DHAVEMEMCMP
+ ## Define DEFFMTCMD to being how to format the media you use the most
+ ## This is the DEFault FoRMat CoManD.
+-d = -DDEFFMTCMD='"fdformat /dev/fd0H1440"'
++d = -DDEFFMTCMD='"cdrecord dev=/dev/rcd0d -v -force blank=all"' # or '"fdformat /dev/fd0a"'
+ ## 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
+@@ -56,10 +56,10 @@
+
+ #CFLAGS1 = -ggdb
+ #CFLAGS1 = -Wall -s -g -O2 -fomit-frame-pointer
+-CFLAGS1 = -Wall -O2 -fomit-frame-pointer
++#CFLAGS1 = -Wall -O2 -fomit-frame-pointer
+
+
+-CC=gcc
++#CC=gcc
+
+
+ CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $I
+@@ -72,8 +72,8 @@
+ rm -f *.o afio
+
+ install: afio
+- cp afio /usr/bin
+- cp afio.1 /usr/man/man1
++ cp afio ${PREFIX}/bin
++ cp afio.1 ${PREFIX}/man/man1
+
+
+ afio.o : afio.h patchlevel.h