summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-07 20:54:20 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-07 20:54:20 +0300
commit7dd174b6780f5de9e562db0728af670c2eb181d0 (patch)
tree9601e0956f1278a36eaad7ee8baef14bb47055c3
parent80508942472f82b644ec73cc3b75141255c58cf8 (diff)
downloadncurses-7dd174b6780f5de9e562db0728af670c2eb181d0.tar.gz
Add dyson.patch
-rw-r--r--debian/patches/dyson.patch43
-rw-r--r--debian/patches/series1
2 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/dyson.patch b/debian/patches/dyson.patch
new file mode 100644
index 0000000..eccc0c7
--- /dev/null
+++ b/debian/patches/dyson.patch
@@ -0,0 +1,43 @@
+--- ncurses-6.1+20191019.orig/aclocal.m4
++++ ncurses-6.1+20191019/aclocal.m4
+@@ -6669,7 +6669,7 @@ CF_EOF
+ fi
+ cf_cv_rm_so_locs=yes
+ ;;
+- (linux*|gnu*|k*bsd*-gnu)
++ (linux*|gnu*|k*bsd*-gnu|*solaris*)
+ if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
+ LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
+@@ -6792,31 +6792,6 @@ CF_EOF
+ MK_SHARED_LIB='${LD} ${LDFLAGS} -assert pure-text -o $[@]'
+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
+ ;;
+- (solaris2*)
+- # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
+- # tested with SunOS 5.10 (solaris 10) and gcc 3.4.3
+- if test "$DFT_LWR_MODEL" = "shared" ; then
+- LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
+- LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
+- fi
+- if test "$cf_cv_enable_rpath" = yes ; then
+- EXTRA_LDFLAGS="-R \${libdir} $EXTRA_LDFLAGS"
+- fi
+- CF_SHARED_SONAME
+- if test "$GCC" != yes; then
+- cf_save_CFLAGS="$CFLAGS"
+- for cf_shared_opts in -xcode=pic32 -xcode=pic13 -KPIC -Kpic -O
+- do
+- CFLAGS="$cf_shared_opts $cf_save_CFLAGS"
+- AC_TRY_COMPILE([#include <stdio.h>],[printf("Hello\n");],[break])
+- done
+- CFLAGS="$cf_save_CFLAGS"
+- CC_SHARED_OPTS=$cf_shared_opts
+- MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dy -G -h '$cf_cv_shared_soname' -o $[@]'
+- else
+- MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -shared -dy -G -h '$cf_cv_shared_soname' -o $[@]'
+- fi
+- ;;
+ (sysv5uw7*|unix_sv*)
+ # tested with UnixWare 7.1.0 (gcc 2.95.2 and cc)
+ if test "$GCC" != yes; then
diff --git a/debian/patches/series b/debian/patches/series
index 7796701..4e2f152 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
02-debian-backspace.diff
02-debian-drop-rin-from-screen-256color.diff
03-debian-ncursesconfig-omit-L.diff
+dyson.patch