diff options
author | minskim <minskim> | 2004-08-04 03:33:40 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-08-04 03:33:40 +0000 |
commit | a953b63d133f3f8576885761d21b69bd26a089cc (patch) | |
tree | ed65ccc404cad6927b69cec92efcddafa9bc8d9b /shells/zsh/patches | |
parent | 8982ac6037746702de2cf8b7bbc4ea3379ee21e9 (diff) | |
download | pkgsrc-a953b63d133f3f8576885761d21b69bd26a089cc.tar.gz |
Make this package build on Interix. Patches provided by Hiramatsu Yoshifumi
in PR pkg/25946.
Diffstat (limited to 'shells/zsh/patches')
-rw-r--r-- | shells/zsh/patches/patch-ab | 20 | ||||
-rw-r--r-- | shells/zsh/patches/patch-ac | 24 |
2 files changed, 44 insertions, 0 deletions
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}" ;; |