aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/pthread.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-02 07:58:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-02 07:58:36 +0000
commit09df774e06a0772ef2982281e0e2175cf5887c0b (patch)
treee3ce1580ae885044ef9f4f75c817f726bb423948 /main/slim/pthread.patch
parent366efa9be93b118428bd8a2ab5c6d82463a65077 (diff)
downloadaports-09df774e06a0772ef2982281e0e2175cf5887c0b.tar.bz2
aports-09df774e06a0772ef2982281e0e2175cf5887c0b.tar.xz
main/slim: upgrade to 1.3.5
Diffstat (limited to 'main/slim/pthread.patch')
-rw-r--r--main/slim/pthread.patch29
1 files changed, 18 insertions, 11 deletions
diff --git a/main/slim/pthread.patch b/main/slim/pthread.patch
index 9a1379ad10..1fb4852c54 100644
--- a/main/slim/pthread.patch
+++ b/main/slim/pthread.patch
@@ -1,11 +1,18 @@
---- ./Makefile.orig
-+++ ./Makefile
-@@ -7,7 +7,7 @@
- CC=/usr/bin/gcc
- CFLAGS=-Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
- CXXFLAGS=$(CFLAGS)
--LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg -lrt
-+LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg -lrt -lpthread
- CUSTOM=-DHAVE_SHADOW
- ifdef USE_PAM
- LDFLAGS+= -lpam
+--- ./CMakeLists.txt.orig 2013-01-02 07:56:30.920523149 +0000
++++ ./CMakeLists.txt 2013-01-02 07:57:27.844341140 +0000
+@@ -134,6 +134,7 @@
+ find_library(M_LIB m)
+ find_library(RT_LIB rt)
+ find_library(CRYPTO_LIB crypt)
++find_library(PTHREAD_LIB pthread)
+
+ add_definitions(${SLIM_DEFINITIONS})
+
+@@ -154,6 +155,7 @@
+ ${M_LIB}
+ ${RT_LIB}
+ ${CRYPTO_LIB}
++ ${PTHREAD_LIB}
+ ${X11_X11_LIB}
+ ${X11_Xft_LIB}
+ ${X11_Xrender_LIB}