pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/twin Make compile with gcc3 and on NetBSD-2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/326d647a7e9b
branches:  trunk
changeset: 477902:326d647a7e9b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 11 00:55:19 2004 +0000

description:
Make compile with gcc3 and on NetBSD-2.0.

diffstat:

 emulators/twin/distinfo         |   4 +++-
 emulators/twin/patches/patch-ak |  26 ++++++++++++++++++++++++++
 emulators/twin/patches/patch-al |  14 ++++++++++++++
 3 files changed, 43 insertions(+), 1 deletions(-)

diffs (63 lines):

diff -r 73e34ae7e1a2 -r 326d647a7e9b emulators/twin/distinfo
--- a/emulators/twin/distinfo   Sun Jul 11 00:48:42 2004 +0000
+++ b/emulators/twin/distinfo   Sun Jul 11 00:55:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2003/03/08 03:15:50 jmc Exp $
+$NetBSD: distinfo,v 1.3 2004/07/11 00:55:19 wiz Exp $
 
 SHA1 (twin-src-3.1.14.tar.gz) = b1652f07adcc2c98948a4458480b2d8436cc893f
 Size (twin-src-3.1.14.tar.gz) = 2216218 bytes
@@ -12,3 +12,5 @@
 SHA1 (patch-ah) = 82deae0df4dd9f695b6a402fe9be8f4b9a9bc4f4
 SHA1 (patch-ai) = 30c18f5770b839fbae7143ce2e0b435eb90cfc76
 SHA1 (patch-aj) = 904103343dec345480b7566f9fe980fb027faade
+SHA1 (patch-ak) = daa28ea5a1a2110a57948ea5ca0a59d060fca615
+SHA1 (patch-al) = 9c27e11439360db805d6d6165a3af0f75064dcec
diff -r 73e34ae7e1a2 -r 326d647a7e9b emulators/twin/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/twin/patches/patch-ak   Sun Jul 11 00:55:19 2004 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-ak,v 1.1 2004/07/11 00:55:19 wiz Exp $
+
+--- msdos/mfs_fileio.c.orig    2001-01-14 04:19:38.000000000 +0100
++++ msdos/mfs_fileio.c
+@@ -213,8 +213,8 @@ mfs_delete(DWORD p1, DWORD p2, DWORD p3,
+            (strcmp(filename, xdos.fileio[slot].filename) == 0) ) {
+           /* Get the handle */
+           if ((handle = gethandle()) < 0) {
+-              ERRSTR((LF_ERROR,"mfs_delete cannot get handle for file %s %d
+- %d\n", filename, errno, slot));
++              ERRSTR((LF_ERROR,"mfs_delete cannot get handle for file %s %d"
++" %d\n", filename, errno, slot));
+               return MAKELONG(NO_HANDLES & 0xffff,0xffff);
+           }
+           xdos.fileptr[handle] = &xdos.fileio[slot];
+@@ -232,8 +232,8 @@ mfs_delete(DWORD p1, DWORD p2, DWORD p3,
+              return unlink(filename);
+               }
+           }
+-          else ERRSTR((LF_ERROR,"mfs_delete : invalid handle %d for file
+-%s\n",handle, filename));
++          else ERRSTR((LF_ERROR,"mfs_delete : invalid handle %d for file "
++"%s\n",handle, filename));
+          }
+      }
+      /* At this point, either the file was fclosed by us, or it was
diff -r 73e34ae7e1a2 -r 326d647a7e9b emulators/twin/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/twin/patches/patch-al   Sun Jul 11 00:55:19 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1 2004/07/11 00:55:19 wiz Exp $
+
+--- include/winuser.h.orig     2001-01-01 01:51:19.000000000 +0100
++++ include/winuser.h
+@@ -3723,7 +3723,9 @@ CharPrev(LPCTSTR, LPCTSTR);
+ int WideCharToMultiByte(UINT ,DWORD ,LPCWSTR ,int ,LPSTR ,int ,LPCSTR ,LPBOOL );
+ int MultiByteToWideChar(UINT ,DWORD ,LPCSTR ,int ,LPWSTR ,int );
+ 
++#ifndef __NetBSD__
+ size_t WINAPI wcslen(LPCWSTR);
++#endif
+ 
+ #endif        /* NOAPIPROTO */
+ 



Home | Main Index | Thread Index | Old Index