mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix a segfault on 7.x amd64
PR: 157274 Reported by: Fabian Wenk Submitted by: maintainer
This commit is contained in:
parent
1b4f975f98
commit
00eb35a3d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275067
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
15
misc/findutils/files/patch-gnulib-lib-fdopendir.c
Normal file
15
misc/findutils/files/patch-gnulib-lib-fdopendir.c
Normal file
|
@ -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 *
|
||||
|
Loading…
Add table
Reference in a new issue