aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2006-02-04 02:31:00 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2006-02-04 02:31:00 +0000
commit75f03bc44c8774a8bf178549217929d66622de84 (patch)
tree640f82f7954489d85d318a990ebffe28a4b36cc4 /emulators/wine
parent8f34da3be63cf1c6d9d18ed547ee39723733577c (diff)
downloadports-75f03bc44c8774a8bf178549217929d66622de84.tar.gz
ports-75f03bc44c8774a8bf178549217929d66622de84.zip
Update to Wine 0.9.7.
Notes
Notes: svn path=/head/; revision=155175
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile2
-rw-r--r--emulators/wine/distinfo6
-rw-r--r--emulators/wine/files/patch-dlls-ntdll-tape.c81
-rw-r--r--emulators/wine/files/patch-server-change.c39
-rw-r--r--emulators/wine/pkg-plist2
5 files changed, 126 insertions, 4 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 0fe3bad01b3b..a345d3e4e434 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-PORTVERSION= 0.9.6
+PORTVERSION= 0.9.7
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo
index c340eca42111..e627b93dd902 100644
--- a/emulators/wine/distinfo
+++ b/emulators/wine/distinfo
@@ -1,3 +1,3 @@
-MD5 (wine-0.9.6.tar.bz2) = 1e3bfac123009300646a0b8a7fcfd81d
-SHA256 (wine-0.9.6.tar.bz2) = 13385d0baad5d63a59e69611852c4ed1c30fccf7c11ec16aa37740c0e1057d70
-SIZE (wine-0.9.6.tar.bz2) = 10454441
+MD5 (wine-0.9.7.tar.bz2) = 92b9af6e2c108bda8d23497abd9d0356
+SHA256 (wine-0.9.7.tar.bz2) = c48bb18fd89b7ffd21931fcc258b8f3d8ce30f0a57c9e1a78569b6861fc1b1e4
+SIZE (wine-0.9.7.tar.bz2) = 10503641
diff --git a/emulators/wine/files/patch-dlls-ntdll-tape.c b/emulators/wine/files/patch-dlls-ntdll-tape.c
new file mode 100644
index 000000000000..664c0c05900e
--- /dev/null
+++ b/emulators/wine/files/patch-dlls-ntdll-tape.c
@@ -0,0 +1,81 @@
+Index: dlls/ntdll/tape.c
+===================================================================
+RCS file: /home/wine/wine/dlls/ntdll/tape.c,v
+retrieving revision 1.3
+diff -u -3 -p -r1.3 tape.c
+--- tape.c 31 Jan 2006 12:08:47 -0000 1.3
++++ tape.c 3 Feb 2006 17:30:28 -0000
+@@ -34,6 +34,10 @@
+ #if !defined(MTCOMPRESSION) && defined(MTCOMP)
+ #define MTCOMPRESSION MTCOMP
+ #endif
++/* FreeBSD, for example, has MTSETBSIZ instead of MTSETBLK. */
++#if !defined(MTSETBLK) && defined(MTSETBSIZ)
++#define MTSETBLK MTSETBSIZ
++#endif
+
+ #define NONAMELESSUNION
+ #define NONAMELESSSTRUCT
+@@ -177,7 +181,11 @@ static NTSTATUS TAPE_GetDriveParams( int
+ data->Compression = FALSE;
+ data->DataPadding = FALSE;
+ data->ReportSetmarks = FALSE;
++#ifdef __FreeBSD__
++ data->DefaultBlockSize = get.mt_blksiz;
++#else
+ data->DefaultBlockSize = get.mt_dsreg & MT_ST_BLKSIZE_MASK;
++#endif
+ data->MaximumBlockSize = data->DefaultBlockSize;
+ data->MinimumBlockSize = data->DefaultBlockSize;
+ data->MaximumPartitionCount = 1;
+@@ -208,9 +216,17 @@ static NTSTATUS TAPE_GetMediaParams( int
+
+ data->Capacity.u.LowPart = 1024 * 1024 * 1024;
+ data->Remaining.u.LowPart = 1024 * 1024 * 1024;
++#ifdef __FreeBSD__
++ data->BlockSize = get.mt_blksiz;
++#else
+ data->BlockSize = get.mt_dsreg & MT_ST_BLKSIZE_MASK;
++#endif
+ data->PartitionCount = 1;
++#ifdef __FreeBSD__
++ data->WriteProtected = 0;
++#else
+ data->WriteProtected = GMT_WR_PROT(get.mt_gstat);
++#endif
+
+ return status;
+ #else
+@@ -226,7 +242,9 @@ static NTSTATUS TAPE_GetPosition( int fd
+ {
+ #ifdef HAVE_SYS_MTIO_H
+ struct mtget get;
++#ifndef __FreeBSD__
+ struct mtpos pos;
++#endif
+ NTSTATUS status;
+
+ TRACE( "fd: %d type: 0x%08lx\n", fd, type );
+@@ -237,16 +255,22 @@ static NTSTATUS TAPE_GetPosition( int fd
+ if (status != STATUS_SUCCESS)
+ return status;
+
++#ifndef __FreeBSD__
+ status = TAPE_GetStatus( ioctl( fd, MTIOCPOS, &pos ) );
+ if (status != STATUS_SUCCESS)
+ return status;
++#endif
+
+ switch (type)
+ {
+ case TAPE_ABSOLUTE_BLOCK:
+ data->Type = type;
+ data->Partition = get.mt_resid;
++#ifndef __FreeBSD__
+ data->OffsetLow = pos.mt_blkno;
++#else
++ data->OffsetLow = get.mt_blkno;
++#endif
+ break;
+ case TAPE_LOGICAL_BLOCK:
+ case TAPE_PSEUDO_LOGICAL_BLOCK:
diff --git a/emulators/wine/files/patch-server-change.c b/emulators/wine/files/patch-server-change.c
new file mode 100644
index 000000000000..d7145eff19c2
--- /dev/null
+++ b/emulators/wine/files/patch-server-change.c
@@ -0,0 +1,39 @@
+Index: server/change.c
+===================================================================
+RCS file: /home/wine/wine/server/change.c,v
+retrieving revision 1.32
+diff -u -3 -p -r1.32 change.c
+--- change.c 30 Jan 2006 18:46:00 -0000 1.32
++++ change.c 3 Feb 2006 21:12:14 -0000
+@@ -406,6 +406,7 @@ static void inotify_do_change_notify( st
+
+ static void inotify_poll_event( struct fd *fd, int event )
+ {
++#ifdef linux
+ int r, ofs, unix_fd;
+ char buffer[0x1000];
+ struct inotify_event *ie;
+@@ -427,6 +428,7 @@ static void inotify_poll_event( struct f
+ inotify_do_change_notify( dir );
+ ofs += (sizeof (*ie) + ie->len - 1);
+ }
++#endif
+ }
+
+ static int inotify_get_info( struct fd *fd )
+@@ -436,6 +438,7 @@ static int inotify_get_info( struct fd *
+
+ static void inotify_adjust_changes( struct dir *dir )
+ {
++#ifdef linux
+ int filter = dir->filter;
+ unsigned int mask = 0;
+ char link[32];
+@@ -461,6 +464,7 @@ static void inotify_adjust_changes( stru
+ dir->wd = inotify_add_watch( get_unix_fd( dir->inotify_fd ), link, mask );
+ if (dir->wd != -1)
+ set_fd_events( dir->inotify_fd, POLLIN );
++#endif
+ }
+
+ static struct fd *create_inotify_fd( struct dir *dir )
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index 66201dfb529d..8af5702684d2 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -232,6 +232,7 @@ include/wine/windows/msacm.h
include/wine/windows/msacmdlg.h
include/wine/windows/msacmdrv.h
include/wine/windows/mscat.h
+include/wine/windows/mshtmcid.h
include/wine/windows/mshtmdid.h
include/wine/windows/mshtmhst.h
include/wine/windows/mshtmhst.idl
@@ -394,6 +395,7 @@ include/wine/windows/xmldsodid.h
include/wine/windows/zmouse.h
include/wine/windows/ddk/cfgmgr32.h
include/wine/windows/ddk/ntddser.h
+include/wine/windows/ddk/ntddtape.h
include/wine/windows/ddk/wdm.h
include/wine/windows/ddk/winsplp.h
lib/libwine.so