aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drawterm/respect-cflags.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-16 23:24:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 16:49:49 +0000
commit21eca20887e7f2b1852165eaa1d689e90fb5be45 (patch)
tree261b4da2b2e26df77da582d7bab0745aeaa15663 /testing/drawterm/respect-cflags.patch
parente194322ee3c4a513e40fed20b8b583551096832c (diff)
downloadaports-21eca20887e7f2b1852165eaa1d689e90fb5be45.tar.bz2
aports-21eca20887e7f2b1852165eaa1d689e90fb5be45.tar.xz
testing/drawterm: new aport
Diffstat (limited to 'testing/drawterm/respect-cflags.patch')
-rw-r--r--testing/drawterm/respect-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/drawterm/respect-cflags.patch b/testing/drawterm/respect-cflags.patch
new file mode 100644
index 0000000000..dabf21332d
--- /dev/null
+++ b/testing/drawterm/respect-cflags.patch
@@ -0,0 +1,13 @@
+diff -upr drawterm-20161016.orig/Make.unix drawterm-20161016/Make.unix
+--- drawterm-20161016.orig/Make.unix 2016-10-16 23:17:32.141093131 +0200
++++ drawterm-20161016/Make.unix 2016-10-16 23:17:55.724316992 +0200
+@@ -6,7 +6,8 @@ AS=as
+ RANLIB=ranlib
+ X11=/usr/X11R6
+ CC=gcc
+-CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
++CFLAGS?=-O2
++CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD)
+ O=o
+ OS=posix
+ GUI=x11