aboutsummaryrefslogtreecommitdiff
path: root/libraries/libglpng/libglpng-1.45-extra_cflags.patch
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-13 00:30:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:30:45 +0200
commitedc2af14257cbc8aa64789eec419362d61229a06 (patch)
treee3837d35df3692af59e95858ed4a2989b1c37687 /libraries/libglpng/libglpng-1.45-extra_cflags.patch
parent647f801774296f07d834e0d3ba15e9440dd3aa38 (diff)
libraries/libglpng: Updated for version 1.45
Diffstat (limited to 'libraries/libglpng/libglpng-1.45-extra_cflags.patch')
-rw-r--r--libraries/libglpng/libglpng-1.45-extra_cflags.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/libglpng/libglpng-1.45-extra_cflags.patch b/libraries/libglpng/libglpng-1.45-extra_cflags.patch
new file mode 100644
index 000000000000..16dd4db3fb67
--- /dev/null
+++ b/libraries/libglpng/libglpng-1.45-extra_cflags.patch
@@ -0,0 +1,9 @@
+diff -Nur libglpng-1.45.orig/Makefile libglpng-1.45/Makefile
+--- libglpng-1.45.orig/Makefile 2008-03-27 19:33:50.000000000 -0500
++++ libglpng-1.45/Makefile 2009-07-03 14:53:28.900650418 -0500
+@@ -1,4 +1,4 @@
+-CFLAGS=-Wall -g -O3 -fPIC -I$(shell pwd)/include
++CFLAGS=-Wall -g $(EXTRA_CFLAGS) -I$(shell pwd)/include
+ LDFLAGS=-lpng -lGL
+ SHAREDLIBFLAGS=-shared
+ DESTDIR=/usr/local