summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/aewm/files/aewm-1.2.7-ldflags.patch')
-rw-r--r--x11-wm/aewm/files/aewm-1.2.7-ldflags.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch b/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch
index e10808f00acb..2c5285832d61 100644
--- a/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch
+++ b/x11-wm/aewm/files/aewm-1.2.7-ldflags.patch
@@ -1,6 +1,7 @@
-Respect user LDFLAGS
+Respect user LDFLAGS, fix underlinking
http://bugs.gentoo.org/show_bug.cgi?id=237698
+http://bugs.gentoo.org/show_bug.cgi?id=367695
--- src/Makefile
+++ src/Makefile
@@ -20,7 +21,7 @@ http://bugs.gentoo.org/show_bug.cgi?id=237698
$(GTKPROGS): %: %.o
- $(CC) $^ $(GTKLIBS) -o $@
-+ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIBS) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIBS) $(X11LIBS) -o $@
$(XAWPROGS): %: %.o
- $(CC) $^ $(XAWLIBS) -o $@