summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-11-18 23:44:46 +0100
committerØrjan Malde <red@foxi.me>2021-11-18 23:44:46 +0100
commitdb1f66f154f24982c8ed82989b5a208974fe8d67 (patch)
tree7052f768be06c9e951681d4278bf14c79965273f /patches
parent0f47bb89b05af249bd32b2bb80dd9671cfe35ac2 (diff)
downloadmidipix_build-db1f66f154f24982c8ed82989b5a208974fe8d67.tar.bz2
midipix_build-db1f66f154f24982c8ed82989b5a208974fe8d67.tar.xz
groups/{010,231}: ncurses: bump to v6.3
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/ncurses-6.1.local.patch122
-rw-r--r--patches/ncurses-6.3.local.patch118
l---------patches/ncurses_host-6.1.local.patch1
l---------patches/ncurses_host-6.3.local.patch1
l---------patches/ncursestw-6.1.local.patch1
l---------patches/ncursestw-6.3.local.patch1
l---------patches/ncursestw_host-6.1.local.patch1
l---------patches/ncursestw_host-6.3.local.patch1
l---------patches/ncursesw-6.1.local.patch1
l---------patches/ncursesw-6.3.local.patch1
l---------patches/ncursesw_host-6.1.local.patch1
l---------patches/ncursesw_host-6.3.local.patch1
12 files changed, 123 insertions, 127 deletions
diff --git a/patches/ncurses-6.1.local.patch b/patches/ncurses-6.1.local.patch
deleted file mode 100644
index a31eb9f8..00000000
--- a/patches/ncurses-6.1.local.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-diff -ru a/configure b/configure
---- a/configure 2018-01-20 00:27:18.000000000 +0000
-+++ b/configure 2019-08-19 14:51:02.694029707 +0000
-@@ -6317,7 +6317,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"
-diff -ru a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
---- a/misc/gen-pkgconfig.in 2018-01-01 22:51:23.000000000 +0000
-+++ b/misc/gen-pkgconfig.in 2019-08-19 14:51:02.694029707 +0000
-@@ -64,17 +64,7 @@
- MENU_LIBRARY="${MENU_NAME}@USE_ARG_SUFFIX@"
- FORM_LIBRARY="${FORM_NAME}@USE_ARG_SUFFIX@"
-
--CFLAGS="@PKG_CFLAGS@"
--if test "$includedir" != "/usr/include" ; then
-- includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
-- test "$includetop" = "/usr/include" && includetop="$includedir"
-- if test "x$includetop" != "x$includedir"
-- then
-- CFLAGS="$CFLAGS -I${includetop}"
-- fi
-- CFLAGS="$CFLAGS -I\${includedir}"
--fi
--
-+CFLAGS='-I${includedir}'
- LDFLAGS=
- if test "$libdir" != "/usr/lib" ; then
- LDFLAGS="$LDFLAGS -L\${libdir}"
---- ncurses-6.1/misc/run_tic.in.orig 2017-10-24 00:16:22.000000000 +0000
-+++ ncurses-6.1/misc/run_tic.in 2019-10-11 16:25:12.380000000 +0000
-@@ -42,16 +42,8 @@
- # make install.data
-
- : ${suffix:=@EXEEXT@}
--: ${DESTDIR:=@DESTDIR@}
--: ${prefix:=@prefix@}
--: ${exec_prefix:=@exec_prefix@}
--: ${bindir:=@bindir@}
--: ${top_srcdir:=@top_srcdir@}
--: ${srcdir:=@srcdir@}
- : ${datarootdir:=@datarootdir@}
--: ${datadir:=@datadir@}
- : ${TIC_PATH:=@TIC_PATH@}
--: ${ticdir:=@TERMINFO@}
- : ${source:=@TERMINFO_SRC@}
- : ${LN_S:="@LN_S@"}
- : ${cross_compiling:=no}
---- ncurses-6.1/misc/Makefile.in.orig 2017-12-31 20:34:42.000000000 +0000
-+++ ncurses-6.1/misc/Makefile.in 2019-10-11 16:27:12.376000000 +0000
-@@ -83,17 +83,17 @@
- install : @MISC_INSTALL_DATA@ install.libs
-
- install.data : terminfo.tmp \
-- $(DESTDIR)$(libdir) \
-- $(DESTDIR)$(datadir) \
-- $(DESTDIR)$(tabsetdir)
-+ $(DESTDIR)/lib \
-+ $(DESTDIR)/share \
-+ $(DESTDIR)/share/tabset
- DESTDIR=${DESTDIR} \
-- prefix=${prefix} \
-- exec_prefix=${exec_prefix} \
-- bindir=${bindir} \
-+ prefix="" \
-+ exec_prefix="" \
-+ bindir=bin \
- top_srcdir=${top_srcdir} \
- srcdir=${srcdir} \
-- datadir=${datadir} \
-- ticdir=${ticdir} \
-+ datadir=share \
-+ ticdir=share/terminfo \
- source=terminfo.tmp \
- cross_compiling=@cross_compiling@ \
- $(SHELL) ./run_tic.sh
-@@ -101,7 +101,7 @@
- $(SHELL) -c 'for i in * ; do \
- if test -f $$i ; then \
- echo installing $$i; \
-- $(INSTALL_DATA) $$i $(DESTDIR)$(tabsetdir)/$$i; \
-+ $(INSTALL_DATA) $$i $(DESTDIR)/share/tabset/$$i; \
- fi; done'
-
- NCURSES_CONFIG = ncurses@DFT_ARG_SUFFIX@@cf_cv_abi_version@@cf_config_suffix@-config
-@@ -113,12 +113,12 @@
- # pkg-config is not installed. Work around that by creating the library
- # directory during this rule:
- @MAKE_PC_FILES@install.libs :: pc-files
--@MAKE_PC_FILES@ @$(SHELL) -c 'case "x$(DESTDIR)$(PKG_CONFIG_LIBDIR)" in \
-+@MAKE_PC_FILES@ @$(SHELL) -c 'case "x$(PKG_CONFIG_LIBDIR)" in \
- @MAKE_PC_FILES@ (x/*) \
--@MAKE_PC_FILES@ mkdir -p $(DESTDIR)$(PKG_CONFIG_LIBDIR); \
-+@MAKE_PC_FILES@ mkdir -p $(PKG_CONFIG_LIBDIR); \
- @MAKE_PC_FILES@ for name in *.pc; do \
- @MAKE_PC_FILES@ echo installing $$name; \
--@MAKE_PC_FILES@ $(INSTALL_DATA) $$name $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; \
-+@MAKE_PC_FILES@ $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; \
- @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@
diff --git a/patches/ncurses-6.3.local.patch b/patches/ncurses-6.3.local.patch
new file mode 100644
index 00000000..d77d715a
--- /dev/null
+++ b/patches/ncurses-6.3.local.patch
@@ -0,0 +1,118 @@
+diff -ru ncurses-6.3.orig/configure ncurses-6.3/configure
+--- ncurses-6.3.orig/configure 2021-10-17 17:12:23.000000000 +0200
++++ ncurses-6.3/configure 2021-11-17 20:37:05.654345556 +0100
+@@ -5940,7 +5940,7 @@
+ LD_RPATH_OPT="-rpath "
+ fi
+ ;;
+- (linux*|gnu*|k*bsd*-gnu|freebsd*)
++ (linux*|gnu*|k*bsd*-gnu|freebsd*|midipix*)
+ LD_RPATH_OPT="-Wl,-rpath,"
+ ;;
+ (openbsd[2-9].*|mirbsd*)
+@@ -6299,7 +6299,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" && test -n "$LD_RPATH_OPT" ; then
+ LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
+diff -ru ncurses-6.3.orig/misc/gen-pkgconfig.in ncurses-6.3/misc/gen-pkgconfig.in
+--- ncurses-6.3.orig/misc/gen-pkgconfig.in 2021-08-07 23:36:33.000000000 +0200
++++ ncurses-6.3/misc/gen-pkgconfig.in 2021-11-17 20:35:45.111876569 +0100
+@@ -71,17 +71,7 @@
+ MENU_LIBRARY="${MENU_NAME}@USE_ARG_SUFFIX@"
+ PANEL_LIBRARY="${PANEL_NAME}@USE_ARG_SUFFIX@"
+
+-CFLAGS="@PKG_CFLAGS@"
+-if [ "$includedir" != "/usr/include" ]; then
+- includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
+- [ "$includetop" = "/usr/include" ] && includetop="$includedir"
+- CFLAGS="$CFLAGS -I\${includedir}"
+- if [ "x$includetop" != "x$includedir" ]
+- then
+- CFLAGS="$CFLAGS -I${includetop}"
+- fi
+-fi
+-
++CFLAGS='-I${includedir}'
+ lib_flags=
+ for opt in -L$libdir @EXTRA_PKG_LDFLAGS@ @LIBS@
+ do
+diff -ru ncurses-6.3.orig/misc/Makefile.in ncurses-6.3/misc/Makefile.in
+--- ncurses-6.3.orig/misc/Makefile.in 2021-07-03 21:07:50.000000000 +0200
++++ ncurses-6.3/misc/Makefile.in 2021-11-17 20:44:37.633501552 +0100
+@@ -103,17 +103,17 @@
+ @MAKE_DATABASE@install :: @MISC_INSTALL_DATA@
+
+ @MAKE_DATABASE@install.data :: terminfo.tmp \
+-@MAKE_DATABASE@ $(DESTDIR)$(libdir) \
+-@MAKE_DATABASE@ $(DESTDIR)$(datadir) \
+-@MAKE_DATABASE@ $(DESTDIR)$(tabsetdir)
++@MAKE_DATABASE@ $(DESTDIR)/lib \
++@MAKE_DATABASE@ $(DESTDIR)/share \
++@MAKE_DATABASE@ $(DESTDIR)/share/tabset
+ @MAKE_DATABASE@ DESTDIR=${DESTDIR} \
+-@MAKE_DATABASE@ prefix=${prefix} \
+-@MAKE_DATABASE@ exec_prefix=${exec_prefix} \
+-@MAKE_DATABASE@ bindir=${bindir} \
++@MAKE_DATABASE@ prefix="" \
++@MAKE_DATABASE@ exec_prefix="" \
++@MAKE_DATABASE@ bindir=/bin \
+ @MAKE_DATABASE@ top_srcdir=${top_srcdir} \
+ @MAKE_DATABASE@ srcdir=${srcdir} \
+-@MAKE_DATABASE@ datadir=${datadir} \
+-@MAKE_DATABASE@ ticdir=${ticdir} \
++@MAKE_DATABASE@ datadir=share \
++@MAKE_DATABASE@ ticdir=share/terminfo \
+ @MAKE_DATABASE@ source=terminfo.tmp \
+ @MAKE_DATABASE@ cross_compiling=@cross_compiling@ \
+ @MAKE_DATABASE@ $(SHELL) ./run_tic.sh
+@@ -121,7 +121,7 @@
+ @MAKE_DATABASE@ $(SHELL) -c 'for i in * ; do \
+ @MAKE_DATABASE@ if test -f $$i ; then \
+ @MAKE_DATABASE@ echo installing $$i; \
+-@MAKE_DATABASE@ $(INSTALL_DATA) $$i $(DESTDIR)$(tabsetdir)/$$i; \
++@MAKE_DATABASE@ $(INSTALL_DATA) $$i $(DESTDIR)/share/tabset/$$i; \
+ @MAKE_DATABASE@ fi; done' )
+ install.data ::
+ @echo "finished $@"
+@@ -147,13 +147,13 @@
+ # directory during this rule:
+ @MAKE_PC_FILES@install \
+ @MAKE_PC_FILES@install.libs :: pc-files
+-@MAKE_PC_FILES@ @$(SHELL) -c 'case "x$(DESTDIR)$(PKG_CONFIG_LIBDIR)" in \
++@MAKE_PC_FILES@ @$(SHELL) -c 'case "x$(PKG_CONFIG_LIBDIR)" in \
+ @MAKE_PC_FILES@ x/*) \
+-@MAKE_PC_FILES@ mkdir -p $(DESTDIR)$(PKG_CONFIG_LIBDIR); \
++@MAKE_PC_FILES@ mkdir -p $(PKG_CONFIG_LIBDIR); \
+ @MAKE_PC_FILES@ for name in $(PC_FILES); do \
+ @MAKE_PC_FILES@ test -f $$name || continue; \
+ @MAKE_PC_FILES@ echo installing $$name; \
+-@MAKE_PC_FILES@ $(INSTALL_DATA) $$name $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; \
++@MAKE_PC_FILES@ $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; \
+ @MAKE_PC_FILES@ done \
+ @MAKE_PC_FILES@ ;; \
+ @MAKE_PC_FILES@ *) \
+diff -ru ncurses-6.3.orig/misc/run_tic.in ncurses-6.3/misc/run_tic.in
+--- ncurses-6.3.orig/misc/run_tic.in 2020-02-15 16:30:53.000000000 +0100
++++ ncurses-6.3/misc/run_tic.in 2021-11-17 20:34:54.197118847 +0100
+@@ -43,16 +43,8 @@
+ # make install.data
+
+ : ${suffix:=@EXEEXT@}
+-: ${DESTDIR:=@DESTDIR@}
+-: ${prefix:=@prefix@}
+-: ${exec_prefix:=@exec_prefix@}
+-: ${bindir:=@bindir@}
+-: ${top_srcdir:=@top_srcdir@}
+-: ${srcdir:=@srcdir@}
+ : ${datarootdir:=@datarootdir@}
+-: ${datadir:=@datadir@}
+ : ${TIC_PATH:=@TIC@}
+-: ${ticdir:=@TERMINFO@}
+ : ${source:=@TERMINFO_SRC@}
+ : ${LN_S:="@LN_S@"}
+ : ${cross_compiling:=no}
diff --git a/patches/ncurses_host-6.1.local.patch b/patches/ncurses_host-6.1.local.patch
deleted file mode 120000
index 4c06615b..00000000
--- a/patches/ncurses_host-6.1.local.patch
+++ /dev/null
@@ -1 +0,0 @@
-ncurses-6.1.local.patch \ No newline at end of file
diff --git a/patches/ncurses_host-6.3.local.patch b/patches/ncurses_host-6.3.local.patch
new file mode 120000
index 00000000..c15dc257
--- /dev/null
+++ b/patches/ncurses_host-6.3.local.patch
@@ -0,0 +1 @@
+ncurses-6.3.local.patch \ No newline at end of file
diff --git a/patches/ncursestw-6.1.local.patch b/patches/ncursestw-6.1.local.patch
deleted file mode 120000
index 4c06615b..00000000
--- a/patches/ncursestw-6.1.local.patch
+++ /dev/null
@@ -1 +0,0 @@
-ncurses-6.1.local.patch \ No newline at end of file
diff --git a/patches/ncursestw-6.3.local.patch b/patches/ncursestw-6.3.local.patch
new file mode 120000
index 00000000..c15dc257
--- /dev/null
+++ b/patches/ncursestw-6.3.local.patch
@@ -0,0 +1 @@
+ncurses-6.3.local.patch \ No newline at end of file
diff --git a/patches/ncursestw_host-6.1.local.patch b/patches/ncursestw_host-6.1.local.patch
deleted file mode 120000
index 4c06615b..00000000
--- a/patches/ncursestw_host-6.1.local.patch
+++ /dev/null
@@ -1 +0,0 @@
-ncurses-6.1.local.patch \ No newline at end of file
diff --git a/patches/ncursestw_host-6.3.local.patch b/patches/ncursestw_host-6.3.local.patch
new file mode 120000
index 00000000..c15dc257
--- /dev/null
+++ b/patches/ncursestw_host-6.3.local.patch
@@ -0,0 +1 @@
+ncurses-6.3.local.patch \ No newline at end of file
diff --git a/patches/ncursesw-6.1.local.patch b/patches/ncursesw-6.1.local.patch
deleted file mode 120000
index 4c06615b..00000000
--- a/patches/ncursesw-6.1.local.patch
+++ /dev/null
@@ -1 +0,0 @@
-ncurses-6.1.local.patch \ No newline at end of file
diff --git a/patches/ncursesw-6.3.local.patch b/patches/ncursesw-6.3.local.patch
new file mode 120000
index 00000000..c15dc257
--- /dev/null
+++ b/patches/ncursesw-6.3.local.patch
@@ -0,0 +1 @@
+ncurses-6.3.local.patch \ No newline at end of file
diff --git a/patches/ncursesw_host-6.1.local.patch b/patches/ncursesw_host-6.1.local.patch
deleted file mode 120000
index 4c06615b..00000000
--- a/patches/ncursesw_host-6.1.local.patch
+++ /dev/null
@@ -1 +0,0 @@
-ncurses-6.1.local.patch \ No newline at end of file
diff --git a/patches/ncursesw_host-6.3.local.patch b/patches/ncursesw_host-6.3.local.patch
new file mode 120000
index 00000000..c15dc257
--- /dev/null
+++ b/patches/ncursesw_host-6.3.local.patch
@@ -0,0 +1 @@
+ncurses-6.3.local.patch \ No newline at end of file