summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-08-04 03:33:40 +0000
committerminskim <minskim@pkgsrc.org>2004-08-04 03:33:40 +0000
commit82242b25399e5a25c93c553d6e4c396035f47ea7 (patch)
treeed65ccc404cad6927b69cec92efcddafa9bc8d9b /shells
parentd0ab35e32b69e71a274343bec879affbe8257648 (diff)
downloadpkgsrc-82242b25399e5a25c93c553d6e4c396035f47ea7.tar.gz
Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi
in PR pkg/25946.
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/distinfo4
-rw-r--r--shells/zsh/patches/patch-ab20
-rw-r--r--shells/zsh/patches/patch-ac24
3 files changed, 47 insertions, 1 deletions
diff --git a/shells/zsh/distinfo b/shells/zsh/distinfo
index 76ab287212a..96be7864c0b 100644
--- a/shells/zsh/distinfo
+++ b/shells/zsh/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.15 2004/03/28 10:30:13 recht Exp $
+$NetBSD: distinfo,v 1.16 2004/08/04 03:33:40 minskim Exp $
SHA1 (zsh-4.2.0.tar.bz2) = 944786bec07470aa4fbe58249dba2e345296165e
Size (zsh-4.2.0.tar.bz2) = 1990884 bytes
SHA1 (patch-aa) = 5e5fde0f21a64c2e0579958868b05737ef0c6afb
+SHA1 (patch-ab) = 1a4ec86b93aae128d81d494f437063ee06dd5dd8
+SHA1 (patch-ac) = f563837ccc4370d43598d49b329d69cebbd88c01
SHA1 (patch-ae) = 7d4514d0bad6553d3c0cf115874bf50ed0da3d48
diff --git a/shells/zsh/patches/patch-ab b/shells/zsh/patches/patch-ab
new file mode 100644
index 00000000000..15c4390eb2e
--- /dev/null
+++ b/shells/zsh/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.9 2004/08/04 03:33:40 minskim Exp $
+
+--- Src/zsh.h.orig Thu Mar 11 13:20:10 2004
++++ Src/zsh.h
+@@ -1565,6 +1565,7 @@ struct ttyinfo {
+ #endif
+ };
+
++#ifndef __INTERIX
+ /* defines for whether tabs expand to spaces */
+ #if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H)
+ #define SGTTYFLAG shttyinfo.tio.c_oflag
+@@ -1580,6 +1581,7 @@ struct ttyinfo {
+ #define SGTABTYPE XTABS
+ # endif
+ # endif
++#endif
+
+ /* flags for termflags */
+
diff --git a/shells/zsh/patches/patch-ac b/shells/zsh/patches/patch-ac
new file mode 100644
index 00000000000..4e2fa1bb827
--- /dev/null
+++ b/shells/zsh/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.13 2004/08/04 03:33:40 minskim Exp $
+
+--- configure.orig Mon Mar 15 13:10:03 2004
++++ configure
+@@ -13630,6 +13630,10 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6
+ DLLD="${DLLD=/usr/ccs/bin/cc}"
+ DLLDARG="${LDARG}"
+ ;;
++ *interix*)
++ DLLD="${DLLD=$CC}"
++ DLLDARG=""
++ ;;
+ * )
+ DLLD="${DLLD=$CC}"
+ DLLDARG="${LDARG}"
+@@ -13675,7 +13679,7 @@ echo "${ECHO_T}$zsh_cv_sys_elf" >&6
+ esac
+ fi
+ case "$host_os" in
+- freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
++ freebsd*|linux*|irix*|osf*|gnu*|interix*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
+ sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
+ sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
+ netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;