slackbuilds_ponce/system/slim/slim-1.3.2-use_libpng14.patch
Niels Horn f34c439e22 system/slim: Updated for version 1.3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-09-15 22:03:59 -05:00

15 lines
792 B
Diff

diff -Nur slim-1.3.2.orig//Makefile slim-1.3.2/Makefile
--- slim-1.3.2.orig//Makefile 2010-07-08 00:04:10.000000000 -0500
+++ slim-1.3.2/Makefile 2010-08-16 15:41:08.470912088 -0500
@@ -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 -lrt
+LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng14 -lz -lm -lcrypt -lXmu -ljpeg -lrt
CUSTOM=-DHAVE_SHADOW
ifdef USE_PAM
LDFLAGS+= -lpam