summaryrefslogtreecommitdiff
path: root/dev-tcltk/tkTheme/files/1.0-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tkTheme/files/1.0-cflags.patch')
-rw-r--r--dev-tcltk/tkTheme/files/1.0-cflags.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-tcltk/tkTheme/files/1.0-cflags.patch b/dev-tcltk/tkTheme/files/1.0-cflags.patch
new file mode 100644
index 000000000000..34063d365fd7
--- /dev/null
+++ b/dev-tcltk/tkTheme/files/1.0-cflags.patch
@@ -0,0 +1,18 @@
+ configure | 4 +---
+ 1 files changed, 1 insertions(+), 3 deletions(-)
+
+diff --git a/configure b/configure
+index 373c332..6fc1a14 100755
+--- a/configure
++++ b/configure
+@@ -3341,9 +3341,7 @@ fi
+
+
+ if test "${SHARED_BUILD}" = "1" ; then
+- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}'
+-else
+- CFLAGS='${CFLAGS_DEFAULT} ${CFLAGS_WARNING}'
++ CFLAGS+=' ${SHLIB_CFLAGS}'
+ fi
+
+ #--------------------------------------------------------------------