summaryrefslogtreecommitdiffhomepage
path: root/patches/ncurses-6.0.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-14 23:02:47 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-15 20:40:50 +0100
commit59765f508225998d8a73b1da8380ff06b4a6b79c (patch)
tree9397850a4ab5bac51ec373558722c45be4fe7258 /patches/ncurses-6.0.local.patch
parent8739dbe67d82f90d1c3b63a8d07af291c4ace600 (diff)
downloadmidipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.bz2
midipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.xz
1) Replaces the SysV-style build script link mechanism w/ build {,meta-}targets,
2) splits build.{subr,sh}} into subr/{build,pkg,rtl}.subr and build.sh, 3) replaces {997.strip,998.midipix_sh,999.tarballs}.build with subr/{strip,tarball}.subr, 4) moves patches to patches/, vars files to vars/, and everything else to etc/, 5) renames `Create `Midipix mintty shell' shortcut.vbs' to midipix_shortcut.vbs, 6) fixes a Weechat configure issue, and 7) updates etc/{build.usage,README}.
Diffstat (limited to 'patches/ncurses-6.0.local.patch')
-rw-r--r--patches/ncurses-6.0.local.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/ncurses-6.0.local.patch b/patches/ncurses-6.0.local.patch
new file mode 100644
index 00000000..6b86c27b
--- /dev/null
+++ b/patches/ncurses-6.0.local.patch
@@ -0,0 +1,33 @@
+--- ncurses-6.0/configure.orig 2015-08-05 09:20:32.000000000 +0000
++++ ncurses-6.0/configure 2016-02-23 11:33:12.718112802 +0000
+@@ -5856,7 +5856,7 @@
+ LD_RPATH_OPT="-rpath "
+ fi
+ ;;
+-(linux*|gnu*|k*bsd*-gnu)
++(linux*|gnu*|k*bsd*-gnu|midipix*)
+ LD_RPATH_OPT="-Wl,-rpath,"
+ ;;
+ (openbsd[2-9].*|mirbsd*)
+@@ -6188,7 +6188,7 @@
+ fi
+ cf_cv_rm_so_locs=yes
+ ;;
+- (linux*|gnu*|k*bsd*-gnu)
++ (linux*|gnu*|k*bsd*-gnu|midipix*)
+ if test "$DFT_LWR_MODEL" = "shared" ; then
+ LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
+--- ncurses-6.0/misc/Makefile.in.orig 2015-08-05 23:15:41.000000000 +0000
++++ ncurses-6.0/misc/Makefile.in 2016-06-23 08:40:43.767712775 +0000
+@@ -110,8 +110,8 @@
+ install.libs :: $(DESTDIR)$(bindir) ncurses-config
+ $(INSTALL_SCRIPT) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG)
+
+-@MAKE_PC_FILES@install.libs :: pc-files $(DESTDIR)$(PKG_CONFIG_LIBDIR)
+-@MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; done'
++@MAKE_PC_FILES@install.libs :: pc-files $(PKG_CONFIG_LIBDIR)
++@MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; done'
+
+ @MAKE_PC_FILES@sources :: pc-files
+ @MAKE_PC_FILES@pc-files :