summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/wcd/files/wcd-5.3.4-gentoo.patch')
-rw-r--r--app-misc/wcd/files/wcd-5.3.4-gentoo.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/app-misc/wcd/files/wcd-5.3.4-gentoo.patch b/app-misc/wcd/files/wcd-5.3.4-gentoo.patch
deleted file mode 100644
index aa164ce9b14d..000000000000
--- a/app-misc/wcd/files/wcd-5.3.4-gentoo.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -46,12 +46,12 @@
-
- CC ?= gcc
- STATIC =
--STRIP = strip
-+STRIP =
-
- ENABLE_NLS = 1
-
- PACKAGE = wcd
--EXT = .exe
-+EXT =
- PROGRAM = $(PACKAGE)$(EXT)
- BIN = $(PROGRAM)
-
-@@ -334,9 +334,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
-
-
-@@ -366,7 +366,7 @@
-
- ifneq (,$(CURSES))
- DEFS_CURSES = -DWCD_USECURSES
-- LIB_CURSES = -l$(CURSES)
-+ LIB_CURSES = $(CURSES)
- ifeq (os/2,$(OS))
- LIB_CURSES += -ltinfo
- endif
-@@ -456,15 +456,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)
-@@ -521,7 +521,7 @@
-
- $(BIN): $(OBJS1)
- $(MAKE) status
-- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@
-+ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS)
-
- %.o: %.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@