diff options
author | arved <arved@FreeBSD.org> | 2011-06-05 03:02:48 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2011-06-05 03:02:48 +0800 |
commit | 50b95e74a080f8150b60cbb7d29c02ee2e2ddf3d (patch) | |
tree | fd45e72c4582e90e908bae3c5ed87c427ad6ae01 /misc/findutils | |
parent | ac3b50cc2ac6c7b59a2a31135263d04586d1dd2e (diff) | |
download | freebsd-ports-gnome-50b95e74a080f8150b60cbb7d29c02ee2e2ddf3d.tar.gz freebsd-ports-gnome-50b95e74a080f8150b60cbb7d29c02ee2e2ddf3d.tar.zst freebsd-ports-gnome-50b95e74a080f8150b60cbb7d29c02ee2e2ddf3d.zip |
Fix a segfault on 7.x amd64
PR: 157274
Reported by: Fabian Wenk
Submitted by: maintainer
Diffstat (limited to 'misc/findutils')
-rw-r--r-- | misc/findutils/Makefile | 2 | ||||
-rw-r--r-- | misc/findutils/files/patch-gnulib-lib-fdopendir.c | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile index 295051cf989e..fa0391cc5358 100644 --- a/misc/findutils/Makefile +++ b/misc/findutils/Makefile @@ -7,7 +7,7 @@ PORTNAME= findutils PORTVERSION= 4.5.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} MASTER_SITE_SUBDIR= findutils diff --git a/misc/findutils/files/patch-gnulib-lib-fdopendir.c b/misc/findutils/files/patch-gnulib-lib-fdopendir.c new file mode 100644 index 000000000000..4d9811dd7a54 --- /dev/null +++ b/misc/findutils/files/patch-gnulib-lib-fdopendir.c @@ -0,0 +1,15 @@ +--- gnulib/lib/fdopendir.c.orig 2011-04-02 15:37:38.000000000 +0000 ++++ gnulib/lib/fdopendir.c 2011-05-30 21:05:02.000000000 +0000 +@@ -182,9 +182,11 @@ + + # include <errno.h> + # include <sys/stat.h> ++# include <dirent.h> + + # undef fdopendir + ++extern DIR *fdopendir(int); + /* Like fdopendir, but work around GNU/Hurd bug by validating FD. */ + + DIR * + |