diff options
author | kris <kris@FreeBSD.org> | 2003-03-04 15:34:30 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-03-04 15:34:30 +0800 |
commit | db92175cdde1fc9dda4ef2d1e92acf6638931c18 (patch) | |
tree | 669a1c8d8ce7263023c289309d15edd78d2b57c5 | |
parent | ea580f144df1f5ab7a4ce6a869d49c5a15e787a7 (diff) | |
download | freebsd-ports-gnome-db92175cdde1fc9dda4ef2d1e92acf6638931c18.tar.gz freebsd-ports-gnome-db92175cdde1fc9dda4ef2d1e92acf6638931c18.tar.zst freebsd-ports-gnome-db92175cdde1fc9dda4ef2d1e92acf6638931c18.zip |
Properly recognise FIFOs
PR: ports/14965
Submitted by: Mark W. Krentel <krentel@dreamscape.com>
-rw-r--r-- | sysutils/stat/Makefile | 1 | ||||
-rw-r--r-- | sysutils/stat/files/patch-ab | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/stat/Makefile b/sysutils/stat/Makefile index f8bbf0b4ba29..50815804d585 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 000000000000..7c912c4f9e4e --- /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: |