summaryrefslogtreecommitdiff
blob: ff2e9115270853a4bc881015330a6cd51535fe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
diff -Nurwp io-2011.09.12-orig/addons/CMakeLists.txt io-2011.09.12-chag/addons/CMakeLists.txt
--- io-2011.09.12-orig/addons/CMakeLists.txt	2011-09-12 18:14:12.000000000 -0400
+++ io-2011.09.12-chag/addons/CMakeLists.txt	2012-04-29 08:16:56.000000000 -0400
@@ -52,71 +52,135 @@ add_subdirectory(BigNum)
 add_subdirectory(Bitly)
 add_subdirectory(Blowfish)
 add_subdirectory(Box)
+if(ENABLE_CFFI)
 add_subdirectory(CFFI)
+endif(ENABLE_CFFI)
+if(ENABLE_CGI)
 add_subdirectory(CGI)
+endif(ENABLE_CGI)
 #add_subdirectory(Cairo) # XXX: Broken on OSX: ld: library not found for -lpng12
+if(ENABLE_CLUTTER)
 add_subdirectory(Clutter)
+endif(ENABLE_CLUTTER)
 add_subdirectory(ContinuedFraction)
+if(ENABLE_CURSES)
 add_subdirectory(Curses)
+endif(ENABLE_CURSES)
+if(ENABLE_DBI)
 add_subdirectory(DBI)
+endif(ENABLE_DBI)
 add_subdirectory(DistributedObjects)
+if(ENABLE_EDITLINE)
 add_subdirectory(EditLine)
+endif(ENABLE_EDITLINE)
 add_subdirectory(Facebook)
+if(ENABLE_FLUX)
 add_subdirectory(Flux)
+endif(ENABLE_FLUX)
 add_subdirectory(Fnmatch)
+if(ENABLE_FONT)
 add_subdirectory(Font)
+endif(ENABLE_FONT)
 add_subdirectory(GLFW) # XXX: Can't meet dependencies
+if(ENABLE_GOOGLESEARCH)
 add_subdirectory(GoogleSearch)
+endif(ENABLE_GOOGLESEARCH)
+if(ENABLE_HTTPCLIENT)
 add_subdirectory(HttpClient)
+endif(ENABLE_HTTPCLIENT)
+if(ENABLE_IMAGE)
 add_subdirectory(Image)
+endif(ENABLE_IMAGE)
+if(ENABLE_LZO)
 add_subdirectory(LZO)
+endif(ENABLE_LZO)
+if(ENABLE_LIBSNDFILE)
 add_subdirectory(LibSndFile)
+endif(ENABLE_LIBSNDFILE)
+if(ENABLE_LIBXML2)
 add_subdirectory(Libxml2)
+endif(ENABLE_LIBXML2)
 add_subdirectory(Loki)
+if(ENABLE_LOUDMOUTH)
 add_subdirectory(Loudmouth)
+endif(ENABLE_LOUDMOUTH)
+if(ENABLE_MD5SUM)
 add_subdirectory(MD5)
+endif(ENABLE_MD5SUM)
 add_subdirectory(Memcached)
+if(ENABLE_MYSQL)
 add_subdirectory(MySQL)
+endif(ENABLE_MYSQL)
 #add_subdirectory(NetworkAdapter)
 add_subdirectory(NotificationCenter)
 #add_subdirectory(Oauth) # OAuth should no longer break CMake configuration on Windows now.
 #add_subdirectory(ODE) # XXX: Can't meet dependencies
 add_subdirectory(ObjcBridge) # XXX: Broken for me -- Objective-C 2.0 not supported
 add_subdirectory(Obsidian)
+if(ENABLE_OGG)
 add_subdirectory(Ogg)
+endif(ENABLE_OGG)
+if(ENABLE_OPENGL)
 add_subdirectory(OpenGL)
+endif(ENABLE_OPENGL)
 #add_subdirectory(PortAudio) # XXX: Dependency broken for me
+if(ENABLE_POSTGRESQL)
 add_subdirectory(PostgreSQL)
+endif(ENABLE_POSTGRESQL)
 #add_subdirectory(Postgres)
+if(ENABLE_PYTHON)
 add_subdirectory(Python)
+endif(ENABLE_PYTHON)
 add_subdirectory(QDBM)
 add_subdirectory(Random)
 add_subdirectory(Range)
 add_subdirectory(Rational)
+if(ENABLE_READLINE)
 add_subdirectory(ReadLine)
+endif(ENABLE_READLINE)
+if(ENABLE_REGEX)
 add_subdirectory(Regex)
+endif(ENABLE_REGEX)
 add_subdirectory(SGML)
+if(ENABLE_SHA1)
 add_subdirectory(SHA1)
+endif(ENABLE_SHA1)
 #add_subdirectory(SQLite) # XXX: Want to delete in favour of SQLite3
+if(ENABLE_SQLITE3)
 add_subdirectory(SQLite3)
+endif(ENABLE_SQLITE3)
 #add_subdirectory(SampleRateConverter)
 add_subdirectory(SecureSocket)
 #add_subdirectory(SkipDB) # XXX: Disabled...why?
+if(ENABLE_SOCKET)
   add_subdirectory(Socket)
+endif(ENABLE_SOCKET)
 #add_subdirectory(SoundTouch) # XXX: I can't meet dependencies
 add_subdirectory(SqlDatabase)
+if(ENABLE_SYSLOG)
 add_subdirectory(Syslog)
+endif(ENABLE_SYSLOG)
 add_subdirectory(SystemCall)
 #add_subdirectory(TagDB) # XXX: I can't meet dependencies
 #add_subdirectory(TagLib)
+if(ENABLE_THEORA)
 add_subdirectory(Theora)
+endif(ENABLE_THEORA)
+if(ENABLE_THREAD)
 add_subdirectory(Thread)
+endif(ENABLE_THREAD)
 add_subdirectory(TokyoCabinet)
+if(ENABLE_TWITTER)
 add_subdirectory(Twitter)
+endif(ENABLE_TWITTER)
 add_subdirectory(UUID)
 add_subdirectory(User)
 add_subdirectory(VertexDB)
 add_subdirectory(Volcano)
+if(ENABLE_VORBIS)
 add_subdirectory(Vorbis)
+endif(ENABLE_VORBIS)
 add_subdirectory(Yajl)
+if(ENABLE_ZLIB)
 add_subdirectory(Zlib)
+endif(ENABLE_ZLIB)
diff -Nurwp io-2011.09.12-orig/libs/basekit/CMakeLists.txt io-2011.09.12-chag/libs/basekit/CMakeLists.txt
--- io-2011.09.12-orig/libs/basekit/CMakeLists.txt	2011-09-12 18:14:12.000000000 -0400
+++ io-2011.09.12-chag/libs/basekit/CMakeLists.txt	2012-04-21 22:06:47.000000000 -0400
@@ -24,3 +24,6 @@ add_library(basekit SHARED ${SRCS})
 # The following add the install target, so we put libbasekit.* in our
 # install prefix.
 install(TARGETS basekit DESTINATION lib)
+
+# Link basekit library against libdl (required by as-needed linking).
+target_link_libraries(basekit dl)
diff -Nurwp io-2011.09.12-orig/libs/coroutine/source/asm.S io-2011.09.12-chag/libs/coroutine/source/asm.S
--- io-2011.09.12-orig/libs/coroutine/source/asm.S	2011-09-12 18:14:12.000000000 -0400
+++ io-2011.09.12-chag/libs/coroutine/source/asm.S	2012-04-21 23:20:26.000000000 -0400
@@ -258,3 +258,7 @@ SET:
 	ldr	r0, [r0]
 	mov	pc, lr
 #endif
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif