opnsense-ports/sysutils/pax-utils/files/patch-scanelf.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
347 B
C

--- ./scanelf.c.orig 2012-05-12 19:03:38.000000000 +0200
+++ ./scanelf.c 2012-05-12 19:04:14.000000000 +0200
@@ -14,6 +14,10 @@
#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0x00100000
+#endif
+
/* prototypes */
static int file_matches_list(const char *filename, char **matchlist);