diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-29 14:13:07 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-29 14:13:24 +0200 |
commit | 450e46bbd95e420d7beb9e25308861cb1f0c30ed (patch) | |
tree | c0f12562f1a21786df1cf7267b54b9c6c03cc1cd /app-misc/wcd/files | |
parent | net-fs/samba: Bump to version 4.7.0_rc5. Removed old. (diff) | |
download | gentoo-450e46bbd95e420d7beb9e25308861cb1f0c30ed.tar.gz gentoo-450e46bbd95e420d7beb9e25308861cb1f0c30ed.tar.bz2 gentoo-450e46bbd95e420d7beb9e25308861cb1f0c30ed.zip |
app-misc/wcd: Bump to version 6.0.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-misc/wcd/files')
-rw-r--r-- | app-misc/wcd/files/wcd-6.0.1-gentoo.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/wcd/files/wcd-6.0.1-gentoo.patch b/app-misc/wcd/files/wcd-6.0.1-gentoo.patch new file mode 100644 index 000000000000..eca95856ca33 --- /dev/null +++ b/app-misc/wcd/files/wcd-6.0.1-gentoo.patch @@ -0,0 +1,67 @@ +--- wcd-6.0.1/src/Makefile ++++ wcd-6.0.1/src/Makefile +@@ -45,12 +45,12 @@ + + CC ?= gcc + STATIC = +-STRIP = strip ++STRIP = + + ENABLE_NLS = 1 + + PACKAGE = wcd +-EXT = .exe ++EXT = + PROGRAM = $(PACKAGE)$(EXT) + BIN = $(PROGRAM) + +@@ -329,9 +329,9 @@ + # possible values: ncurses, curses, pdcurses, pdcursesw or <empty> + + ifdef UCS +- CURSES = ncursesw ++ CURSES = $(shell pkg-config --libs ncursesw) + else +- CURSES = ncurses ++ CURSES = $(shell pkg-config --libs ncurses) + endif + + +@@ -361,7 +361,7 @@ + + ifneq (,$(CURSES)) + DEFS_CURSES = -DWCD_USECURSES +- LIB_CURSES = -l$(CURSES) ++ LIB_CURSES = $(CURSES) + ifeq (os/2,$(OS)) + LIB_CURSES += -ltinfo + endif +@@ -455,15 +455,15 @@ + endif + + LDFLAGS_USER = +-LDFLAGS = $(RPM_OPT_FLAGS) \ ++LIBS = $(RPM_OPT_FLAGS) \ + $(LDFLAGS_EXTRA) \ + $(NLFLAG) \ + $(LDFLAG_STATIC) \ + $(LDFLAGS_USER) + +-LIBS = $(LIB_CURSES) \ +- $(LIB_UNISTRING) \ +- $(LIBS_EXTRA) ++LIBS += $(LIB_CURSES) \ ++ $(LIB_UNISTRING) \ ++ $(LIBS_EXTRA) + + DEFS_USER = + DEFS = $(DEF_UNIX) $(DEFS_CURSES) $(EXTRA_DEFS) $(DEFS_USER) +@@ -520,7 +520,7 @@ + + $(BIN): $(OBJS1) + $(MAKE) status +- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@ ++ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS) + + %.o: %.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@ |