summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/ne/files/ne-2.1-asneeded.patch')
-rw-r--r--app-editors/ne/files/ne-2.1-asneeded.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-editors/ne/files/ne-2.1-asneeded.patch b/app-editors/ne/files/ne-2.1-asneeded.patch
new file mode 100644
index 000000000000..8483d15b70f9
--- /dev/null
+++ b/app-editors/ne/files/ne-2.1-asneeded.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/323595
+
+--- src/makefile
++++ src/makefile
+@@ -104,7 +104,7 @@
+ LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
+
+ ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
+- $(CC) -lm $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM)
++ $(CC) $(OPTS) $(LDFLAGS) $^ -lm $(LIBS) -o $(PROGRAM)
+
+ clean:
+ rm -f *.o core