aboutsummaryrefslogtreecommitdiff
path: root/archivers/rpm4/files/patch-system.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/rpm4/files/patch-system.h')
-rw-r--r--archivers/rpm4/files/patch-system.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/archivers/rpm4/files/patch-system.h b/archivers/rpm4/files/patch-system.h
index 9f118675dc2b..b93a87a1a0c4 100644
--- a/archivers/rpm4/files/patch-system.h
+++ b/archivers/rpm4/files/patch-system.h
@@ -1,6 +1,6 @@
---- system.h.orig 2017-02-16 09:40:09 UTC
+--- system.h.orig 2017-10-05 10:04:57 UTC
+++ system.h
-@@ -41,6 +41,13 @@ char * stpncpy(char * dest, const char *
+@@ -43,6 +43,13 @@ char * stpncpy(char * dest, const char *
#define getenv(_s) __secure_getenv(_s)
#endif
@@ -14,12 +14,3 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#else
-@@ -87,7 +94,7 @@ char * stpncpy(char * dest, const char *
- #define _free(_ptr) rfree((_ptr))
-
- /* Retrofit glibc __progname */
--#if defined __GLIBC__ && __GLIBC__ >= 2
-+#if defined __GLIBC__ && __GLIBC__ >= 2 || defined(__FreeBSD__)
- #if __GLIBC_MINOR__ >= 1
- #define __progname __assert_program_name
- #endif