aboutsummaryrefslogtreecommitdiff
path: root/system/slim/slim-1.3.1-use_libpng14.patch
diff options
context:
space:
mode:
authorMax Miorim <miorimmax@gmail.com>2010-05-31 23:58:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-31 23:58:08 -0500
commit22bc6f375548953d3eb5bdd5ef183bea2a364c33 (patch)
tree5f63067230feb0d7996de7fc06fa3810f28cb923 /system/slim/slim-1.3.1-use_libpng14.patch
parent1621f3d3879f0379847655ab8228deb551199c24 (diff)
system/slim: Patched to use libpng14.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/slim/slim-1.3.1-use_libpng14.patch')
-rw-r--r--system/slim/slim-1.3.1-use_libpng14.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/slim/slim-1.3.1-use_libpng14.patch b/system/slim/slim-1.3.1-use_libpng14.patch
new file mode 100644
index 0000000000000..688fa02bb5195
--- /dev/null
+++ b/system/slim/slim-1.3.1-use_libpng14.patch
@@ -0,0 +1,15 @@
+diff --git a/Makefile b/Makefile
+--- a/Makefile
++++ b/Makefile
+@@ -5,9 +5,9 @@
+ #######################################################
+ CXX=/usr/bin/g++
+ CC=/usr/bin/gcc
+-CFLAGS=-Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include
++CFLAGS=-Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng14 -I/usr/include
+ CXXFLAGS=$(CFLAGS)
+-LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg
++LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng14 -lz -lm -lcrypt -lXmu -ljpeg
+ CUSTOM=-DHAVE_SHADOW
+ ifdef USE_PAM
+ LDFLAGS+= -lpam