summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/tn5250/files')
-rw-r--r--net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch (renamed from net-misc/tn5250/files/disable-sslv2-and-sslv3.patch)0
-rw-r--r--net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch (renamed from net-misc/tn5250/files/fix-Wformat-security-warnings.patch)0
-rw-r--r--net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch10
-rw-r--r--net-misc/tn5250/files/tn5250-0.17.4-whoami.patch13
4 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/tn5250/files/disable-sslv2-and-sslv3.patch b/net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch
index 9c8d04f55851..9c8d04f55851 100644
--- a/net-misc/tn5250/files/disable-sslv2-and-sslv3.patch
+++ b/net-misc/tn5250/files/tn5250-0.17.4-disable-sslv2-and-sslv3.patch
diff --git a/net-misc/tn5250/files/fix-Wformat-security-warnings.patch b/net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch
index 4927bce546f2..4927bce546f2 100644
--- a/net-misc/tn5250/files/fix-Wformat-security-warnings.patch
+++ b/net-misc/tn5250/files/tn5250-0.17.4-fix-Wformat-security-warnings.patch
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch b/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch
new file mode 100644
index 000000000000..46469c4def8e
--- /dev/null
+++ b/net-misc/tn5250/files/tn5250-0.17.4-tinfo.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -64,6 +64,7 @@
+ AC_MSG_ERROR([** You need a curses-compatible library installed.])
+ fi
+ fi
++ AC_SEARCH_LIBS(stdscr, tinfo, [CURSES_LIB="$CURSES_LIB -ltinfo"])
+ AC_SUBST([CURSES_LIB])
+ if test "$ac_cv_use_old_keys" != "yes";
+ then
diff --git a/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch b/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch
new file mode 100644
index 000000000000..fbcece25af27
--- /dev/null
+++ b/net-misc/tn5250/files/tn5250-0.17.4-whoami.patch
@@ -0,0 +1,13 @@
+--- a/linux/Makefile.am
++++ b/linux/Makefile.am
+@@ -18,10 +18,6 @@
+ if [ "$$(uname -s)" = "Linux" ]; then \
+ if which tic >/dev/null 2>&1 ; then \
+ if [ "`whoami`" = "root" ]; then \
+- rm -f /usr/share/terminfo/x/xterm-5250 ; \
+- rm -f /usr/share/terminfo/5/5250 ; \
+- rm -f /usr/lib/terminfo/x/xterm-5250 ; \
+- rm -f /usr/lib/terminfo/5/5250 ; \
+ good=yes ; \
+ tic $(srcdir)/5250.terminfo || good=no ; \
+ else \