summaryrefslogtreecommitdiffstats
path: root/libraries/stfl/allow-custom-opts-in-Makefile.patch
diff options
context:
space:
mode:
author Benjamin Trigona-Harany2011-01-12 05:36:22 +0100
committer Robby Workman2011-01-12 05:36:22 +0100
commit9d3e77a0b46e8d7af5661471f1ef76ab25385dc9 (patch)
tree732f4c2b79d80525f0938c1975240a2487f3f21f /libraries/stfl/allow-custom-opts-in-Makefile.patch
parentbea5266ea520b0763b848d7e85eabb6ded2786c5 (diff)
downloadslackbuilds-9d3e77a0b46e8d7af5661471f1ef76ab25385dc9.tar.gz
libraries/stfl: Added (Structured Terminal Forms Language/Library)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/stfl/allow-custom-opts-in-Makefile.patch')
-rw-r--r--libraries/stfl/allow-custom-opts-in-Makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/stfl/allow-custom-opts-in-Makefile.patch b/libraries/stfl/allow-custom-opts-in-Makefile.patch
new file mode 100644
index 0000000000..6c16db7463
--- /dev/null
+++ b/libraries/stfl/allow-custom-opts-in-Makefile.patch
@@ -0,0 +1,13 @@
+diff -Nur stfl-0.21.orig//Makefile stfl-0.21/Makefile
+--- stfl-0.21.orig//Makefile 2009-06-19 12:30:52.000000000 -0500
++++ stfl-0.21/Makefile 2011-01-11 22:21:10.623044411 -0600
+@@ -21,7 +21,8 @@
+ include Makefile.cfg
+
+ export CC = gcc -pthread
+-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
++OPTS = -Os
++export CFLAGS += -I. -Wall $(OPTS) -ggdb -D_GNU_SOURCE -fPIC
+ export LDLIBS += -lncursesw
+
+ SONAME := libstfl.so.0