diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-29 23:36:20 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-29 23:36:20 +0000 |
commit | ef262184dba90c76b057567da72e84dfadf53ee4 (patch) | |
tree | 109ead86ae6229665bef4227f98779a02d4c5870 /sysutils/afio | |
parent | ad4ff90197f2483ce28ce0fce52d401e4ac3f9bb (diff) | |
download | ports-ef262184dba90c76b057567da72e84dfadf53ee4.tar.gz ports-ef262184dba90c76b057567da72e84dfadf53ee4.zip |
Notes
Diffstat (limited to 'sysutils/afio')
-rw-r--r-- | sysutils/afio/Makefile | 1 | ||||
-rw-r--r-- | sysutils/afio/files/patch-ab | 28 |
2 files changed, 26 insertions, 3 deletions
diff --git a/sysutils/afio/Makefile b/sysutils/afio/Makefile index dbeeff9e123b..f2f54b84db37 100644 --- a/sysutils/afio/Makefile +++ b/sysutils/afio/Makefile @@ -7,6 +7,7 @@ PORTNAME= afio PORTVERSION= 2.4.7 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= system/backup diff --git a/sysutils/afio/files/patch-ab b/sysutils/afio/files/patch-ab index 6dbf321690f4..fae1131cd3c1 100644 --- a/sysutils/afio/files/patch-ab +++ b/sysutils/afio/files/patch-ab @@ -1,6 +1,6 @@ ---- afio.c.orig Fri Nov 26 01:24:39 1999 -+++ afio.c Thu Jan 27 14:23:28 2000 -@@ -609,7 +609,7 @@ +--- afio.c.orig Tue Oct 9 23:03:53 2001 ++++ afio.c Mon Sep 29 16:34:02 2003 +@@ -613,7 +613,7 @@ aruntil, arbsize); #else fprintf (stderr, "Media size %ld is less than block size %d\n", @@ -9,3 +9,25 @@ #endif usage (); } +@@ -2929,10 +2929,10 @@ + see out(). + */ + if(asb->sb_rdev==0) asb->sb_rdev=(asb->sb_dev << 16) + asb->sb_ino; +- if (mknod (name, asb->sb_mode, asb->sb_rdev) < 0 ++ if (mkfifo (name, asb->sb_mode) < 0 + && (errno != ENOENT + || dirneed (name) < 0 +- || mknod (name, asb->sb_mode, asb->sb_rdev) < 0)) ++ || mkfifo (name, asb->sb_mode) < 0)) + return (warn (name, syserr ())); + break; + case S_IFDIR: +@@ -2960,7 +2960,7 @@ + return (warn (name, syserr ())); + break; + #endif /* S_IFIFO */ +-#ifdef S_IFSOCK ++#ifdef S_IFSOCK && !defined (__FreeBSD__) + case S_IFSOCK: + fd = 0; + if (exists) |