wok-6.x rev 4295
synergy: fix build with glibc 2.10
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 26 18:56:20 2009 +0000 (2009-09-26) |
parents | c0298b9ded69 |
children | 45e78d0e94fd |
files | synergy/receipt synergy/stuff/synergy-1.3.1_glibc-2.10.u |
line diff
1.1 --- a/synergy/receipt Sat Sep 26 20:38:12 2009 +0200 1.2 +++ b/synergy/receipt Sat Sep 26 18:56:20 2009 +0000 1.3 @@ -14,6 +14,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || exit 1 1.8 + 1.9 cd $src 1.10 ./configure \ 1.11 --sysconfdir=/etc \
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/synergy/stuff/synergy-1.3.1_glibc-2.10.u Sat Sep 26 18:56:20 2009 +0000 2.3 @@ -0,0 +1,123 @@ 2.4 +--- synergy-1.3.1-ori/lib/arch/CArchDaemonUnix.cpp Sun Apr 24 03:02:12 2005 2.5 ++++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp Sat Sep 26 10:33:29 2009 2.6 +@@ -19,6 +19,7 @@ 2.7 + #include <sys/stat.h> 2.8 + #include <fcntl.h> 2.9 + #include <errno.h> 2.10 ++#include <cstdlib> 2.11 + 2.12 + // 2.13 + // CArchDaemonUnix 2.14 +--- synergy-1.3.1-ori/lib/arch/CMultibyte.cpp Wed Nov 30 04:33:24 2005 2.15 ++++ synergy-1.3.1/lib/arch/CMultibyte.cpp Sat Sep 26 13:56:02 2009 2.16 +@@ -19,6 +19,7 @@ 2.17 + #include "CArch.h" 2.18 + #include <limits.h> 2.19 + #include <string.h> 2.20 ++#include <cstdlib> 2.21 + #if HAVE_LOCALE_H 2.22 + # include <locale.h> 2.23 + #endif 2.24 +--- synergy-1.3.1-ori/lib/base/CStringUtil.cpp Wed Dec 14 17:25:20 2005 2.25 ++++ synergy-1.3.1/lib/base/CStringUtil.cpp Sat Sep 26 14:00:44 2009 2.26 +@@ -19,6 +19,7 @@ 2.27 + #include <cctype> 2.28 + #include <cstdio> 2.29 + #include <cstdlib> 2.30 ++#include <cstring> 2.31 + #include <algorithm> 2.32 + 2.33 + // 2.34 +--- synergy-1.3.1-ori/lib/client/CClient.cpp Thu Mar 9 04:07:17 2006 2.35 ++++ synergy-1.3.1/lib/client/CClient.cpp Sat Sep 26 18:21:54 2009 2.36 +@@ -26,6 +26,8 @@ 2.37 + #include "CLog.h" 2.38 + #include "IEventQueue.h" 2.39 + #include "TMethodEventJob.h" 2.40 ++#include <cstdlib> 2.41 ++#include <cstring> 2.42 + 2.43 + // 2.44 + // CClient 2.45 +--- synergy-1.3.1-ori/lib/client/CServerProxy.cpp Sun Apr 2 01:47:03 2006 2.46 ++++ synergy-1.3.1/lib/client/CServerProxy.cpp Sat Sep 26 18:23:54 2009 2.47 +@@ -24,6 +24,7 @@ 2.48 + #include "TMethodEventJob.h" 2.49 + #include "XBase.h" 2.50 + #include <memory> 2.51 ++#include <cstring> 2.52 + 2.53 + // 2.54 + // CServerProxy 2.55 +--- synergy-1.3.1-ori/lib/net/CTCPSocket.cpp Sun Apr 2 01:47:03 2006 2.56 ++++ synergy-1.3.1/lib/net/CTCPSocket.cpp Sat Sep 26 14:03:26 2009 2.57 +@@ -24,6 +24,7 @@ 2.58 + #include "CArch.h" 2.59 + #include "XArch.h" 2.60 + #include <string.h> 2.61 ++#include <cstdlib> 2.62 + 2.63 + // 2.64 + // CTCPSocket 2.65 +--- synergy-1.3.1-ori/lib/platform/CXWindowsScreen.cpp Sun Apr 2 19:16:39 2006 2.66 ++++ synergy-1.3.1/lib/platform/CXWindowsScreen.cpp Sat Sep 26 18:18:55 2009 2.67 +@@ -27,6 +27,8 @@ 2.68 + #include "IEventQueue.h" 2.69 + #include "TMethodEventJob.h" 2.70 + #include <cstring> 2.71 ++#include <cstdlib> 2.72 ++ 2.73 + #if X_DISPLAY_MISSING 2.74 + # error X11 is required to build synergy 2.75 + #else 2.76 +--- synergy-1.3.1-ori/lib/server/CClientProxy1_3.cpp Sun Feb 12 19:53:43 2006 2.77 ++++ synergy-1.3.1/lib/server/CClientProxy1_3.cpp Sat Sep 26 18:28:57 2009 2.78 +@@ -17,7 +17,7 @@ 2.79 + #include "CLog.h" 2.80 + #include "IEventQueue.h" 2.81 + #include "TMethodEventJob.h" 2.82 +- 2.83 ++#include <cstring> 2.84 + // 2.85 + // CClientProxy1_3 2.86 + // 2.87 +--- synergy-1.3.1-ori/lib/server/CServer.cpp Sun Apr 2 01:47:04 2006 2.88 ++++ synergy-1.3.1/lib/server/CServer.cpp Sat Sep 26 18:51:59 2009 2.89 +@@ -29,6 +29,7 @@ 2.90 + #include "TMethodEventJob.h" 2.91 + #include "CArch.h" 2.92 + #include <string.h> 2.93 ++#include <cstdlib> 2.94 + 2.95 + // 2.96 + // CServer 2.97 +--- synergy-1.3.1-ori/lib/synergy/CPacketStreamFilter.cpp Sun Apr 24 03:02:16 2005 2.98 ++++ synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp Sat Sep 26 14:17:11 2009 2.99 +@@ -16,6 +16,7 @@ 2.100 + #include "IEventQueue.h" 2.101 + #include "CLock.h" 2.102 + #include "TMethodEventJob.h" 2.103 ++#include <cstring> 2.104 + 2.105 + // 2.106 + // CPacketStreamFilter 2.107 +--- synergy-1.3.1-ori/lib/synergy/IKeyState.cpp Wed Mar 22 05:40:27 2006 2.108 ++++ synergy-1.3.1/lib/synergy/IKeyState.cpp Sat Sep 26 14:35:54 2009 2.109 +@@ -14,6 +14,7 @@ 2.110 + 2.111 + #include "IKeyState.h" 2.112 + #include <string.h> 2.113 ++#include <cstdlib> 2.114 + 2.115 + // 2.116 + // IKeyState 2.117 +--- synergy-1.3.1-ori/lib/synergy/IPrimaryScreen.cpp Wed Mar 22 05:40:27 2006 2.118 ++++ synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp Sat Sep 26 18:15:23 2009 2.119 +@@ -13,6 +13,7 @@ 2.120 + */ 2.121 + 2.122 + #include "IPrimaryScreen.h" 2.123 ++#include <cstdlib> 2.124 + 2.125 + // 2.126 + // IPrimaryScreen