diff options
author | Sam James <sam@gentoo.org> | 2022-06-15 20:11:53 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-15 20:36:15 +0100 |
commit | 7eca9fda6f7b3df54cb1d3772a6141dffdb49d58 (patch) | |
tree | 21e227dedc1d15c01c1d6653114512c2e7ec5751 /x11-wm/windowlab/files | |
parent | sci-mathematics/polymake: new revision with a few fixes. (diff) | |
download | gentoo-7eca9fda6f7b3df54cb1d3772a6141dffdb49d58.tar.gz gentoo-7eca9fda6f7b3df54cb1d3772a6141dffdb49d58.tar.bz2 gentoo-7eca9fda6f7b3df54cb1d3772a6141dffdb49d58.zip |
x11-wm/windowlab: fix build with lld
Closes: https://bugs.gentoo.org/732470
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm/windowlab/files')
-rw-r--r-- | x11-wm/windowlab/files/windowlab-1.40-libdir.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/windowlab/files/windowlab-1.40-libdir.patch b/x11-wm/windowlab/files/windowlab-1.40-libdir.patch new file mode 100644 index 000000000000..65c2b662dc62 --- /dev/null +++ b/x11-wm/windowlab/files/windowlab-1.40-libdir.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/732470 +--- a/Makefile ++++ b/Makefile +@@ -51,7 +51,6 @@ BINDIR = $(DESTDIR)$(PREFIX)/bin + MANDIR = $(DESTDIR)$(PREFIX)$(MANBASE)/man1 + CFGDIR = $(DESTDIR)$(SYSCONFDIR) + INCLUDES = -I$(XROOT)/include $(EXTRA_INC) +-LDPATH = -L$(XROOT)/lib + LIBS = -lX11 $(EXTRA_LIBS) + + PROG = windowlab +@@ -62,7 +61,7 @@ HEADERS = windowlab.h + all: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LDPATH) $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + + $(OBJS): %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@ |