summaryrefslogtreecommitdiff
path: root/archivers/afio/patches
diff options
context:
space:
mode:
authoragc <agc>2003-06-27 10:17:58 +0000
committeragc <agc>2003-06-27 10:17:58 +0000
commit59f97cb34e7e6c9feb182c57db7a7e985f08243c (patch)
tree65606b9fb53a234458422f2e873906a67309c6fb /archivers/afio/patches
parente4a8c292868df851d0104ce198130815cc0c493c (diff)
downloadpkgsrc-59f97cb34e7e6c9feb182c57db7a7e985f08243c.tar.gz
Initial import of afio-2.4.7 into the NetBSD Packages Collection.
The nudge came from a netbsd-help posting by Thomas Hafner and a URL posted by Jeremy Reed. Afio makes cpio-format archives. It deals somewhat gracefully with input data corruption. Supports multi-volume archives during interactive operation. Afio can make compressed archives that are much safer than compressed tar or cpio archives. Afio is best used as an `archive engine' in a backup script.
Diffstat (limited to 'archivers/afio/patches')
-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