summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-03-04 07:34:30 +0000
committerkris <kris@FreeBSD.org>2003-03-04 07:34:30 +0000
commitdb92175cdde1fc9dda4ef2d1e92acf6638931c18 (patch)
tree669a1c8d8ce7263023c289309d15edd78d2b57c5 /sysutils
parentea580f144df1f5ab7a4ce6a869d49c5a15e787a7 (diff)
downloadFreeBSD-ports-db92175cdde1fc9dda4ef2d1e92acf6638931c18.zip
FreeBSD-ports-db92175cdde1fc9dda4ef2d1e92acf6638931c18.tar.gz
Properly recognise FIFOs
PR: ports/14965 Submitted by: Mark W. Krentel <krentel@dreamscape.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/stat/Makefile1
-rw-r--r--sysutils/stat/files/patch-ab22
2 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/stat/Makefile b/sysutils/stat/Makefile
index f8bbf0b..5081580 100644
--- a/sysutils/stat/Makefile
+++ b/sysutils/stat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stat
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.de.freebsd.org/~wosch/src/
diff --git a/sysutils/stat/files/patch-ab b/sysutils/stat/files/patch-ab
new file mode 100644
index 0000000..7c912c4
--- /dev/null
+++ b/sysutils/stat/files/patch-ab
@@ -0,0 +1,22 @@
+--- stat.fmt.c.orig Sun Feb 16 08:12:33 1997
++++ stat.fmt.c Wed Nov 17 14:57:30 1999
+@@ -279,6 +279,8 @@
+ break;
+ case S_IFSOCK: buf[5 + 0] = 's';
+ break;
++ case S_IFIFO: buf[5 + 0] = 'p';
++ break;
+ default : buf[5 + 0] = '?';
+ }
+ }
+@@ -328,6 +330,10 @@
+
+ case S_IFSOCK:
+ strcpy(buf, "Socket");
++ break;
++
++ case S_IFIFO:
++ strcpy(buf, "FIFO");
+ break;
+
+ default:
OpenPOWER on IntegriCloud