aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-06-01 05:14:41 +0800
committerjohans <johans@FreeBSD.org>2012-06-01 05:14:41 +0800
commit37fd7521ca6056309327cc7dfd3f570422e5b3bb (patch)
tree1cf2a3d62d5984fd6cd99eeac567bd6351b23ba4 /archivers
parent492afaa2fb9198100322328866e37716b85525cf (diff)
downloadfreebsd-ports-gnome-37fd7521ca6056309327cc7dfd3f570422e5b3bb.tar.gz
freebsd-ports-gnome-37fd7521ca6056309327cc7dfd3f570422e5b3bb.tar.zst
freebsd-ports-gnome-37fd7521ca6056309327cc7dfd3f570422e5b3bb.zip
Add patch to fix compilation on CURRENT (10.x)
PR; ports/168463 Submitted by: Rodrigo OSORIO <rodrigo@bebik.net>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rpm4/files/patch-misc_fts.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/archivers/rpm4/files/patch-misc_fts.c b/archivers/rpm4/files/patch-misc_fts.c
new file mode 100644
index 000000000000..c0f2e231a66e
--- /dev/null
+++ b/archivers/rpm4/files/patch-misc_fts.c
@@ -0,0 +1,34 @@
+diff -Nur archivers/rpm4/files/patch-misc_fts.c archivers/rpm4/files/patch-misc_fts.c
+--- archivers/rpm4/files/patch-misc_fts.c 1970-01-01 01:00:00.000000000 +0100
++++ archivers/rpm4/files/patch-misc_fts.c 2012-05-30 14:15:28.000000000 +0200
+@@ -0,0 +1,30 @@
++--- misc/fts.c 2012-04-03 15:53:59.000000000 +0200
+++++ misc/fts.c 2012-05-30 14:07:33.000000000 +0200
++@@ -31,13 +31,14 @@
++ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
++ #endif /* LIBC_SCCS and not lint */
++
+++#include "system.h"
+++#include "misc/fts.h"
++ #if defined(_LIBC)
++ #include <sys/param.h>
++ #include <include/sys/stat.h>
++ #include <fcntl.h>
++ #include <dirent.h>
++ #include <errno.h>
++-#include "misc/fts.h"
++ #include <stdlib.h>
++ #include <string.h>
++ #include <unistd.h>
++@@ -61,11 +62,9 @@
++ # define _STAT_VER 0
++ # define __fxstat64(_stat_ver, _fd, _sbp) fstat64((_fd), (_sbp))
++ #endif
++-#include "system.h"
++ #include <stdlib.h>
++ #include <string.h>
++ #include <errno.h>
++-#include "misc/fts.h"
++ # define __set_errno(val) (*__errno_location ()) = (val)
++ # define __open open
++ # define __close close \ No newline at end of file