summaryrefslogtreecommitdiffhomepage
path: root/patches/ncurses-6.1.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-28 12:32:38 +0100
committerGitHub <noreply@github.com>2020-03-28 12:32:38 +0100
commitbf34ddedf11f450ddb296b06baf42830bcc7ca7b (patch)
tree3ca0e6ab98059d3c9c710699536a48b3e83bc7e4 /patches/ncurses-6.1.local.patch
parent35a2faf07e9ad3ff232b2c2023103f0ac67a304f (diff)
parent0c01fac9809d4ebee67eaf74f90435daa4ba0c4f (diff)
downloadmidipix_build-bf34ddedf11f450ddb296b06baf42830bcc7ca7b.tar.bz2
midipix_build-bf34ddedf11f450ddb296b06baf42830bcc7ca7b.tar.xz
Merge pull request #15 from duvallj/master
Various fixes for various -L flags, other build errors
Diffstat (limited to 'patches/ncurses-6.1.local.patch')
-rw-r--r--patches/ncurses-6.1.local.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/ncurses-6.1.local.patch b/patches/ncurses-6.1.local.patch
index 3cad8166..a31eb9f8 100644
--- a/patches/ncurses-6.1.local.patch
+++ b/patches/ncurses-6.1.local.patch
@@ -104,3 +104,19 @@ diff -ru a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
@MAKE_PC_FILES@ done \
@MAKE_PC_FILES@ ;; \
@MAKE_PC_FILES@ (*) \
+diff -ru a/misc/ncurses-config.in b/misc/ncurses-config.in
+--- a/misc/ncurses-config.in 2018-01-20 00:27:18.000000000 +0000
++++ b/misc/ncurses-config.in 2020-03-11 15:38:05.000000000 +0000
+@@ -111,12 +111,7 @@
+ ;;
+ --libs)
+- if test "$libdir" = /usr/lib
+- then
+- LIBDIR=
+- else
+- LIBDIR=-L$libdir
+- fi
++ LIBDIR=
+ if test @TINFO_NAME@ = @LIB_NAME@ ; then
+ sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
+ $LIBDIR @EXTRA_LDFLAGS@ -l${THIS} @LIBS@