summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch')
-rw-r--r--dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch10
1 files changed, 1 insertions, 9 deletions
diff --git a/dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch b/dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch
index 686c3aa96da1..5d011d92de70 100644
--- a/dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch
+++ b/dev-libs/libedit/files/libedit-20061103-debian-to-gentoo.patch
@@ -13,7 +13,7 @@
# For speed and debugging
-#SRCS= ${OSRCS} tokenizer.c history.c readline.c
-+SRCS= ${OSRCS} tokenizer.c history.c readline.c vis.c unvis.c fgetln.c strlcat.c strlcpy.c
++SRCS= ${OSRCS} tokenizer.c history.c readline.c
# For protection
-SRCS= editline.c tokenizer.c history.c readline.c
+#SRCS= editline.c tokenizer.c history.c readline.c
@@ -21,14 +21,6 @@
LIBEDITDIR?=${.CURDIR}
-@@ -42,6 +44,7 @@
- CPPFLAGS+=-I. -I${.CURDIR}
- CPPFLAGS+=#-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH
- CPPFLAGS+=#-DDEBUG_PASTE -DDEBUG_EDIT
-+CFLAGS+=-I. -include ../glibc-bsd-glue/bsdcompat.h -I../glibc-compat -I../glibc-bsd-glue
-
- AHDR=vi.h emacs.h common.h
- ASRC=${LIBEDITDIR}/vi.c ${LIBEDITDIR}/emacs.c ${LIBEDITDIR}/common.c
@@ -51,54 +51,68 @@
SUBDIR= readline