diff options
Diffstat (limited to 'devel/directfb/files/patch-lib-direct-log.c')
-rw-r--r-- | devel/directfb/files/patch-lib-direct-log.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/devel/directfb/files/patch-lib-direct-log.c b/devel/directfb/files/patch-lib-direct-log.c index 7f6b7d890a56..b010cfaa8779 100644 --- a/devel/directfb/files/patch-lib-direct-log.c +++ b/devel/directfb/files/patch-lib-direct-log.c @@ -1,17 +1,15 @@ ---- lib/direct/log.c.orig 2007-03-03 22:29:45.000000000 +0200 -+++ lib/direct/log.c 2008-03-12 12:49:22.000000000 +0200 -@@ -49,6 +49,14 @@ - #include <direct/util.h> - - -+#ifndef EAI_ADDRFAMILY -+#define EAI_ADDRFAMILY 1 -+#endif -+#ifndef EAI_NODATA -+#define EAI_NODATA 7 -+#endif -+ -+ - struct __D_DirectLog { - int magic; - +--- lib/direct/log.c ++++ lib/direct/log.c +@@ -335,10 +335,12 @@ parse_host_addr( const char *hostport, + D_ERROR( "Direct/Log: Port %s is unreachable!\n", portstr ); + return DR_FAILURE; + ++/* + case EAI_ADDRFAMILY: + case EAI_NODATA: + D_ERROR( "Direct/Log: Host found, but has no address!\n" ); + return DR_FAILURE; ++*/ + + case EAI_MEMORY: + return D_OOM(); |