summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/log4c/files/log4c-1.0.11-function.patch')
-rw-r--r--dev-libs/log4c/files/log4c-1.0.11-function.patch19
1 files changed, 0 insertions, 19 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
deleted file mode 100644
index 576ee21acce3..000000000000
--- a/dev-libs/log4c/files/log4c-1.0.11-function.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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)
-