diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-03-04 07:34:30 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-03-04 07:34:30 +0000 |
commit | 8312d37967f9a7653590ee56c2c3cc6a5ec858e5 (patch) | |
tree | 664823d4292bdeb3108df403da42d6a294216754 /sysutils/stat | |
parent | Batch building of packages for postfix is failing due to PCRE issues. (diff) |
Properly recognise FIFOs
PR: ports/14965
Submitted by: Mark W. Krentel <krentel@dreamscape.com>
Notes
Notes:
svn path=/head/; revision=76836
Diffstat (limited to 'sysutils/stat')
-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: |