Browse Source

socket: fixed to build with glibc 2.9

user/chris/old/ruby
Nagy Károly Gábriel 15 years ago
committed by Alejandro Mery
parent
commit
683808ce9c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      network/socket/hotfix.patch

+ 2
- 1
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 \

Loading…
Cancel
Save