aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm4/files/patch-system.h
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2017-03-30 05:49:34 +0800
committerrodrigo <rodrigo@FreeBSD.org>2017-03-30 05:49:34 +0800
commite000abbcd780a88d2c4ab1d1b17949e970948130 (patch)
tree182172e62c1cbf79cc2d294c51f50a44de3f2982 /archivers/rpm4/files/patch-system.h
parent121320279bb5da7c2e42f13c4bca79cf3c2ba62e (diff)
downloadfreebsd-ports-gnome-e000abbcd780a88d2c4ab1d1b17949e970948130.tar.gz
freebsd-ports-gnome-e000abbcd780a88d2c4ab1d1b17949e970948130.tar.zst
freebsd-ports-gnome-e000abbcd780a88d2c4ab1d1b17949e970948130.zip
Upgrade to 4.13.0.1 and take maintainership
Remove unncecesary patches and fix plist
Diffstat (limited to 'archivers/rpm4/files/patch-system.h')
-rw-r--r--archivers/rpm4/files/patch-system.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/archivers/rpm4/files/patch-system.h b/archivers/rpm4/files/patch-system.h
index 7d119aaaa7ef..9f118675dc2b 100644
--- a/archivers/rpm4/files/patch-system.h
+++ b/archivers/rpm4/files/patch-system.h
@@ -1,4 +1,4 @@
---- system.h.orig 2014-06-30 08:47:14 UTC
+--- system.h.orig 2017-02-16 09:40:09 UTC
+++ system.h
@@ -41,6 +41,13 @@ char * stpncpy(char * dest, const char *
#define getenv(_s) __secure_getenv(_s)
@@ -14,3 +14,12 @@
#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