From 59fa2dcdee8e277429bca809e7334c7ac53fc1a3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Apr 2015 18:48:17 +0200 Subject: update to samba4, simplify package, support subpackages later --- package/heimdal/patches/patch-lib_roken_roken_h_in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/heimdal/patches/patch-lib_roken_roken_h_in (limited to 'package/heimdal/patches/patch-lib_roken_roken_h_in') diff --git a/package/heimdal/patches/patch-lib_roken_roken_h_in b/package/heimdal/patches/patch-lib_roken_roken_h_in new file mode 100644 index 000000000..b571cc428 --- /dev/null +++ b/package/heimdal/patches/patch-lib_roken_roken_h_in @@ -0,0 +1,11 @@ +--- heimdal-1.5.3.orig/lib/roken/roken.h.in 2012-12-09 23:06:44.000000000 +0100 ++++ heimdal-1.5.3/lib/roken/roken.h.in 2014-04-24 10:36:35.000000000 +0200 +@@ -551,7 +551,7 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL ge + ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL strerror(int); + #endif + +-#if (!defined(HAVE_STRERROR_R) && !defined(strerror_r)) || (!defined(STRERROR_R_PROTO_COMPATIBLE) && defined(HAVE_STRERROR_R)) ++#if (defined(HAVE_STRERROR_R) && !defined(strerror_r)) || (!defined(STRERROR_R_PROTO_COMPATIBLE) && defined(HAVE_STRERROR_R)) + int ROKEN_LIB_FUNCTION rk_strerror_r(int, char *, size_t); + #else + #define rk_strerror_r strerror_r -- cgit v1.2.3