summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/replace-texi2html-with-makeinfo17
-rw-r--r--debian/patches/run-help.patch31
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/solaris-shared.patch12
4 files changed, 24 insertions, 38 deletions
diff --git a/debian/patches/replace-texi2html-with-makeinfo b/debian/patches/replace-texi2html-with-makeinfo
new file mode 100644
index 0000000..c738c14
--- /dev/null
+++ b/debian/patches/replace-texi2html-with-makeinfo
@@ -0,0 +1,17 @@
+Description: Replace deprecated texi2html with makeinfo
+Forwarded: http://www.zsh.org/mla/workers/2013/msg00723.html
+Author: Axel Beckert <abe@debian.org>
+
+Index: zsh/Doc/Makefile.in
+===================================================================
+--- zsh.orig/Doc/Makefile.in 2013-12-02 15:26:29.000000000 +0100
++++ zsh/Doc/Makefile.in 2013-12-02 15:26:29.000000000 +0100
+@@ -41,7 +41,7 @@
+ MAKEINFO = makeinfo
+ TEXI2DVI = texi2dvi
+ DVIPS = dvips
+-TEXI2HTML = @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files
++TEXI2HTML = makeinfo --html --output . --ifinfo --split=chapter --node-files
+
+ .SUFFIXES: .yo .1
+
diff --git a/debian/patches/run-help.patch b/debian/patches/run-help.patch
deleted file mode 100644
index cb61b62..0000000
--- a/debian/patches/run-help.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: zsh-new/Functions/Misc/run-help
-===================================================================
---- zsh-new.orig/Functions/Misc/run-help 2012-02-23 21:39:30.000000000 +0000
-+++ zsh-new/Functions/Misc/run-help 2012-06-01 09:39:23.201633945 +0000
-@@ -10,7 +10,7 @@
-
- emulate -RL zsh
-
--local HELPDIR="${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}"
-+local HELPDIR="${HELPDIR:-/usr/share/zsh/help}"
-
- [[ $1 == "." ]] && 1="dot"
- [[ $1 == ":" ]] && 1="colon"
-@@ -29,7 +29,7 @@
- return 0
- elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
- then
-- ${=PAGER:-more} $HELPDIR/$1
-+ ${=PAGER:-/usr/bin/pager} $HELPDIR/$1
- return $?
- fi
-
-@@ -65,7 +65,7 @@
- (comp*) man zshcompsys;;
- (zf*) man zshftpsys;;
- (run-help) man zshcontrib;;
-- (*) builtin functions ${what[(w)1]} | ${=PAGER:-more};;
-+ (*) builtin functions ${what[(w)1]} | ${=PAGER:-/usr/bin/pager};;
- esac;;
- (*( is a * builtin))
- case ${what[(w)1]} in
diff --git a/debian/patches/series b/debian/patches/series
index 1494ed6..c23bc1a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
solaris-shared.patch
-run-help.patch
+replace-texi2html-with-makeinfo
diff --git a/debian/patches/solaris-shared.patch b/debian/patches/solaris-shared.patch
index 47ab57a..111a978 100644
--- a/debian/patches/solaris-shared.patch
+++ b/debian/patches/solaris-shared.patch
@@ -1,10 +1,10 @@
-Index: zsh-new/configure.ac
+Index: zsh/configure.ac
===================================================================
---- zsh-new.orig/configure.ac 2012-02-23 21:39:30.000000000 +0000
-+++ zsh-new/configure.ac 2012-05-31 23:01:56.935837293 +0000
-@@ -2689,7 +2689,8 @@
+--- zsh.orig/configure.ac 2014-01-05 22:24:59.000000000 +0400
++++ zsh/configure.ac 2014-02-06 19:16:41.485449834 +0400
+@@ -2769,7 +2769,8 @@
+ sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
- netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
- solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
+ solaris*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
@@ -12,7 +12,7 @@ Index: zsh-new/configure.ac
darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;;
beos*|haiku*) DLLDFLAGS="${DLLDFLAGS=-nostart}" ;;
openbsd*)
-@@ -2827,7 +2828,6 @@
+@@ -2907,7 +2908,6 @@
if test "x$dynamic" = xyes; then
zsh_SHARED_VARIABLE([environ], [char **])