aboutsummaryrefslogtreecommitdiff
path: root/libraries/libglpng/libglpng-1.45-extra_cflags.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-01-13 18:23:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitfb9fb8a5e186fb70cdcae50f98d71973b7303c33 (patch)
tree4fe9693835311b9abd8a1294bef99e03e528767e /libraries/libglpng/libglpng-1.45-extra_cflags.patch
parentddd61de957ffddadf6b9928c384096ea3b74be2f (diff)
libraries/libglpng: Rearrange patches.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 0000000000000..16dd4db3fb67c
--- /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