summaryrefslogtreecommitdiff
path: root/emulators/twin/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-05-15 09:46:37 +0000
committeragc <agc@pkgsrc.org>2001-05-15 09:46:37 +0000
commit98e0cb997a71f43ec38cbb68610257236d13318f (patch)
tree0798a9ad151804e21bb9b0f9e5506c31086e05c3 /emulators/twin/patches
parent3483bd3cd1d7f2f08b366d414d31a8af074c0581 (diff)
downloadpkgsrc-98e0cb997a71f43ec38cbb68610257236d13318f.tar.gz
Initial import of twin-3.1.14 into NetBSD Packages Collection.
Provided in PR 12928 by Ben Collver (collver@linuxfreemail.com) "Willows TWIN is a GNU software package for emulating the Microsoft Win32 API. It consists of a library set and an emulator program. The emulator program allows the execution of Windows binary applications on supported platforms; using the native Intel x86 processors, or through the built-in instruction set interpreter. The native libraries allow programmers natively to build Win32 and MFC applications from source code."
Diffstat (limited to 'emulators/twin/patches')
-rw-r--r--emulators/twin/patches/patch-aa27
-rw-r--r--emulators/twin/patches/patch-ab20
-rw-r--r--emulators/twin/patches/patch-ac12
-rw-r--r--emulators/twin/patches/patch-ad12
-rw-r--r--emulators/twin/patches/patch-ae25
-rw-r--r--emulators/twin/patches/patch-af13
-rw-r--r--emulators/twin/patches/patch-ag13
7 files changed, 122 insertions, 0 deletions
diff --git a/emulators/twin/patches/patch-aa b/emulators/twin/patches/patch-aa
new file mode 100644
index 00000000000..3e51ab7a2a5
--- /dev/null
+++ b/emulators/twin/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- configure.in.orig Sun Jan 14 00:23:50 2001
++++ configure.in Sun May 13 09:37:19 2001
+@@ -147,6 +147,10 @@
+ TARGET=freebsd
+ ;;
+
++ i*86-*-netbsd* )
++ TARGET=netbsd
++ ;;
++
+ i*86-*-linux* )
+ TARGET=linux
+ ;;
+@@ -349,6 +353,11 @@
+ powerpc-*-linux* )
+ # egcs still broken on ppc
+ TWIN_CFLAGS=-g
++ ;;
++
++ i*86-*-netbsd* )
++ LIBTWIN_LDFLAGS="$LDFLAGS $LIBTWIN_LDFLAGS"
++ DLL_LDFLAGS="$LDFLAGS $DLL_LDFLAGS"
+ ;;
+ esac
+
diff --git a/emulators/twin/patches/patch-ab b/emulators/twin/patches/patch-ab
new file mode 100644
index 00000000000..df22defa40a
--- /dev/null
+++ b/emulators/twin/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- osdll/Makefile.in.orig Sun May 13 00:21:55 2001
++++ osdll/Makefile.in Sun May 13 00:23:18 2001
+@@ -18,6 +18,7 @@
+ THREAD_sparc_solaris = DrvThreads_generic.c
+ THREAD_sparc_sunos = DrvThreads_generic.c
+ THREAD_X386_freebsd = DrvThreads_X386.c
++THREAD_X386_netbsd = DrvThreads_X386.c
+ THREAD_X386_linux = DrvThreads_X386.c
+ THREAD_X386_sco = DrvThreads_X386.c
+ THREAD_X386_solaris = DrvThreads_X386.c
+@@ -35,6 +36,7 @@
+ SYSTEM_sparc_solaris = DrvSystem_sparc.s
+ SYSTEM_sparc_sunos = DrvSystem_sparc.s
+ SYSTEM_X386_freebsd =
++SYSTEM_X386_netbsd =
+ SYSTEM_X386_linux =
+ SYSTEM_X386_sco =
+ SYSTEM_X386_solaris =
diff --git a/emulators/twin/patches/patch-ac b/emulators/twin/patches/patch-ac
new file mode 100644
index 00000000000..5321dde6e2c
--- /dev/null
+++ b/emulators/twin/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- dlls/winsock/WinSock.c.orig Sun May 13 02:24:38 2001
++++ dlls/winsock/WinSock.c Sun May 13 02:24:39 2001
+@@ -28,6 +28,7 @@
+
+ */
+
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <sys/socket.h>
+ #include <sys/time.h>
diff --git a/emulators/twin/patches/patch-ad b/emulators/twin/patches/patch-ad
new file mode 100644
index 00000000000..e7755ed5114
--- /dev/null
+++ b/emulators/twin/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- dlls/winsock/WinSockIF.c.orig Sun May 13 02:25:35 2001
++++ dlls/winsock/WinSockIF.c Sun May 13 02:25:47 2001
+@@ -28,6 +28,7 @@
+
+ */
+
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <sys/socket.h>
+ #include <sys/time.h>
diff --git a/emulators/twin/patches/patch-ae b/emulators/twin/patches/patch-ae
new file mode 100644
index 00000000000..1a6da2cf304
--- /dev/null
+++ b/emulators/twin/patches/patch-ae
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- debugger/sig_context.h.orig Sun May 13 03:01:07 2001
++++ debugger/sig_context.h Sun May 13 03:25:31 2001
+@@ -59,6 +59,20 @@
+
+ #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+
++enum {
++ REG_GS = 0, REG_FS, REG_ES, REG_DS,
++ REG_EDI, REG_ESI, REG_EBP,
++ REG_EBX, REG_EDX, REG_ECX, REG_EAX,
++ REG_EIP, REG_CS, REG_EFL, REG_ESP,
++ REG_SS, REG_BSD_ONSTACK, REG_BSD_MASK13,
++ REG_TRAPNO, REG_ERR,
++
++ REG_AX = 100, REG_BX, REG_CX, REG_DX,
++ REG_BP, REG_IP, REG_SP,
++ REG_DI, REG_SI,
++ REG_FL
++};
++
+ #include <signal.h>
+ typedef struct sigcontext SIGCONTEXT;
+
diff --git a/emulators/twin/patches/patch-af b/emulators/twin/patches/patch-af
new file mode 100644
index 00000000000..41569557940
--- /dev/null
+++ b/emulators/twin/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- tools/rc/cmdline.c.orig Wed Aug 11 01:34:18 1999
++++ tools/rc/cmdline.c Sun May 13 10:09:31 2001
+@@ -61,7 +61,7 @@
+ extern char cpp_module_name[];
+ extern char libentry_name[];
+ extern char tbl_name[];
+-static char *system_include_path[1] = { STDINC };
++static char *system_include_path[2] = { STDINC, __INCPATH__ };
+ static int n_system_include_path = sizeof(system_include_path) /
+ sizeof(*system_include_path);
+ static char **user_include_path = NULL;
diff --git a/emulators/twin/patches/patch-ag b/emulators/twin/patches/patch-ag
new file mode 100644
index 00000000000..17236027e82
--- /dev/null
+++ b/emulators/twin/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2001/05/15 09:46:37 agc Exp $
+
+--- tools/rc/Makefile.in.orig Sun Mar 21 02:47:49 1999
++++ tools/rc/Makefile.in Sun May 13 10:38:04 2001
+@@ -20,6 +20,8 @@
+
+ include $(blddir)/Make.rules
+
++CFLAGS += -D__INCPATH__=\"${prefix}/include\"
++
+ $(target): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS)
+