From 379cdd6193800bf0a9b6e35cfff0b637057ed8cf Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Thu, 19 Nov 2009 14:32:03 +0100 Subject: [PATCH] socket: fixed to build with glibc 2.9 --- network/socket/hotfix.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/socket/hotfix.patch b/network/socket/hotfix.patch index c309caf82..852815168 100644 --- a/network/socket/hotfix.patch +++ b/network/socket/hotfix.patch @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../socket/hotfix.patch +# Copyright (C) 2009 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -36,7 +37,7 @@ diff -Nur socket-1.2p1/Makefile socket-1.2p1.new/Makefile ### Linux -#SWITCHES = -DHAS_POSIX_SIGS -DHAS_SYS_SIGLIST -DHAS_SYS_ERRLIST -+SWITCHES = -DHAS_SYS_SIGLIST -DHAS_SYS_ERRLIST ++SWITCHES = -DHAS_SYS_SIGLIST -DHAS_SYS_ERRLIST -D_GNU_SOURCE ### Solaris 2.6 and 7 with gcc #SWITCHES = -DHAS_POSIX_SIGS -DHAS_SYS_SIGLIST -DHAS_SYS_ERRLIST \