diff options
author | 2004-11-21 08:58:37 +0000 | |
---|---|---|
committer | 2004-11-21 08:58:37 +0000 | |
commit | a3787821cfa66e1b15e189437f50035791b6a940 (patch) | |
tree | f5cf1540582f661b933f3ea6c6dbb74bf71dca20 /dev-libs/log4c/files | |
parent | mark stable on x86 since it is the initial ebuild (diff) | |
download | historical-a3787821cfa66e1b15e189437f50035791b6a940.tar.gz historical-a3787821cfa66e1b15e189437f50035791b6a940.tar.bz2 historical-a3787821cfa66e1b15e189437f50035791b6a940.zip |
fixed test cases for 1.0.11 and 1.0.12. Patch courtesy of Olaf Freyer <aaron@cs.tu-berlin.de> in bug #70529.
Diffstat (limited to 'dev-libs/log4c/files')
-rw-r--r-- | dev-libs/log4c/files/log4c-1.0.11-function.patch | 19 | ||||
-rw-r--r-- | dev-libs/log4c/files/log4c-1.0.12-function.patch | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/log4c/files/log4c-1.0.11-function.patch b/dev-libs/log4c/files/log4c-1.0.11-function.patch new file mode 100644 index 000000000000..576ee21acce3 --- /dev/null +++ b/dev-libs/log4c/files/log4c-1.0.11-function.patch @@ -0,0 +1,19 @@ +--- src/sd/error.h.orig 2004-11-21 08:29:18.168483856 +0930 ++++ src/sd/error.h 2004-11-21 08:32:48.421520536 +0930 +@@ -14,13 +14,13 @@ + #ifdef __SD_DEBUG__ + + # define __sd_str(n) #n +-# define __sd_location(n) __FUNCTION__"() at " __FILE__":" __sd_str(n) ++# define __sd_location(n) "() at " __FILE__":" __sd_str(n) + # define sd_location __sd_location(__LINE__) + + # define sd_debug(a_format, ...) \ +- (getenv("SD_DEBUG") ? fprintf(stderr, "[DEBUG] "sd_location" "a_format"\n", ##__VA_ARGS__ ) : 0) ++ (getenv("SD_DEBUG") ? fprintf(stderr, "[DEBUG] %s"sd_location" "a_format"\n", __FUNCTION__,##__VA_ARGS__ ) : 0) + # define sd_error(a_format, ...) \ +- (getenv("SD_ERROR") ? fprintf(stderr, "[ERROR] "sd_location" "a_format"\n", ##__VA_ARGS__ ) : 0) ++ (getenv("SD_ERROR") ? fprintf(stderr, "[ERROR] %s"sd_location" "a_format"\n", __FUNCTION__,##__VA_ARGS__ ) : 0) + # define sd_oserror(afunc, aparam) \ + (sd_error("%s(%s): #%d %s", afunc, aparam, errno, strerror(errno)), -1) + diff --git a/dev-libs/log4c/files/log4c-1.0.12-function.patch b/dev-libs/log4c/files/log4c-1.0.12-function.patch new file mode 100644 index 000000000000..576ee21acce3 --- /dev/null +++ b/dev-libs/log4c/files/log4c-1.0.12-function.patch @@ -0,0 +1,19 @@ +--- src/sd/error.h.orig 2004-11-21 08:29:18.168483856 +0930 ++++ src/sd/error.h 2004-11-21 08:32:48.421520536 +0930 +@@ -14,13 +14,13 @@ + #ifdef __SD_DEBUG__ + + # define __sd_str(n) #n +-# define __sd_location(n) __FUNCTION__"() at " __FILE__":" __sd_str(n) ++# define __sd_location(n) "() at " __FILE__":" __sd_str(n) + # define sd_location __sd_location(__LINE__) + + # define sd_debug(a_format, ...) \ +- (getenv("SD_DEBUG") ? fprintf(stderr, "[DEBUG] "sd_location" "a_format"\n", ##__VA_ARGS__ ) : 0) ++ (getenv("SD_DEBUG") ? fprintf(stderr, "[DEBUG] %s"sd_location" "a_format"\n", __FUNCTION__,##__VA_ARGS__ ) : 0) + # define sd_error(a_format, ...) \ +- (getenv("SD_ERROR") ? fprintf(stderr, "[ERROR] "sd_location" "a_format"\n", ##__VA_ARGS__ ) : 0) ++ (getenv("SD_ERROR") ? fprintf(stderr, "[ERROR] %s"sd_location" "a_format"\n", __FUNCTION__,##__VA_ARGS__ ) : 0) + # define sd_oserror(afunc, aparam) \ + (sd_error("%s(%s): #%d %s", afunc, aparam, errno, strerror(errno)), -1) + |