pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/zsh Make this package build on Interix. Patche...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c5a203e2933
branches:  trunk
changeset: 479035:8c5a203e2933
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Aug 04 03:33:40 2004 +0000

description:
Make this package build on Interix.  Patches provided by Hiramatsu Yoshifumi
in PR pkg/25946.

diffstat:

 shells/zsh/distinfo         |   4 +++-
 shells/zsh/patches/patch-ab |  20 ++++++++++++++++++++
 shells/zsh/patches/patch-ac |  24 ++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (65 lines):

diff -r 031a140895fd -r 8c5a203e2933 shells/zsh/distinfo
--- a/shells/zsh/distinfo       Wed Aug 04 03:06:55 2004 +0000
+++ b/shells/zsh/distinfo       Wed Aug 04 03:33:40 2004 +0000
@@ -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 -r 031a140895fd -r 8c5a203e2933 shells/zsh/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/zsh/patches/patch-ab       Wed Aug 04 03:33:40 2004 +0000
@@ -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 -r 031a140895fd -r 8c5a203e2933 shells/zsh/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/zsh/patches/patch-ac       Wed Aug 04 03:33:40 2004 +0000
@@ -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}" ;;



Home | Main Index | Thread Index | Old Index