summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2009-01-31 20:02:19 +0000
committerMarkus Ullmann <jokey@gentoo.org>2009-01-31 20:02:19 +0000
commit3aeb3f4595fe0244e248f3715544400ce588ff2d (patch)
tree9668f57c4ade3b75092660a705250813a523eea6 /app-misc/ytree/files/ytree-1.92-support-cflags.patch
parentAdd dependency for bug 254940 and temporarily -j1 to emake until a solution e... (diff)
downloadgentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.tar.gz
gentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.tar.bz2
gentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.zip
Add cflag support for bug #240085
(Portage version: 2.2_rc23/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-misc/ytree/files/ytree-1.92-support-cflags.patch')
-rw-r--r--app-misc/ytree/files/ytree-1.92-support-cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/ytree/files/ytree-1.92-support-cflags.patch b/app-misc/ytree/files/ytree-1.92-support-cflags.patch
new file mode 100644
index 000000000000..024149c654a0
--- /dev/null
+++ b/app-misc/ytree/files/ytree-1.92-support-cflags.patch
@@ -0,0 +1,12 @@
+diff -urN ./ytree-1.92.orig/Makefile ./ytree-1.92/Makefile
+--- ./ytree-1.92.orig/Makefile 2009-01-31 20:57:46.000000000 +0100
++++ ./ytree-1.92/Makefile 2009-01-31 20:58:11.000000000 +0100
+@@ -32,7 +32,7 @@
+ COLOR = -DCOLOR_SUPPORT
+ CLOCK = -DCLOCK_SUPPORT # Experimental!
+ READLINE = -DREADLINE_SUPPORT
+-CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
++CFLAGS += -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
+ LDFLAGS = -lncurses -lreadline
+
+ ###########################