aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-05-08 09:38:18 +0800
committergerald <gerald@FreeBSD.org>2011-05-08 09:38:18 +0800
commit0c9ba9bc9130cca5b12ea15628456b5874b888df (patch)
tree2dbd830086aeab5297c55a3f572e43bfe1a8f2b1 /emulators
parentc6a813f441b5b91bb8d4ffaf190b598d921f857d (diff)
downloadfreebsd-ports-gnome-0c9ba9bc9130cca5b12ea15628456b5874b888df.tar.gz
freebsd-ports-gnome-0c9ba9bc9130cca5b12ea15628456b5874b888df.tar.zst
freebsd-ports-gnome-0c9ba9bc9130cca5b12ea15628456b5874b888df.zip
Update to Wine 1.3.19. This includes the following changes:
- New sound driver architecture for MMDevAPI. - Better support for relative mouse events in DInput. - Various improvements in D3DX9. - More MSVC runtime functions. - Various bug fixes. This requires three patches of mine, two submitted upstream so far, to unbreak recent changes around the sound system (bundled into one here). Sort CONFIGURE_ARGS on the way.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile6
-rw-r--r--emulators/wine-devel/distinfo4
-rw-r--r--emulators/wine-devel/files/patch-dlls-wineoss.drv54
-rw-r--r--emulators/wine-devel/pkg-plist4
-rw-r--r--emulators/wine/Makefile6
-rw-r--r--emulators/wine/distinfo4
-rw-r--r--emulators/wine/files/patch-dlls-wineoss.drv54
-rw-r--r--emulators/wine/pkg-plist4
8 files changed, 126 insertions, 10 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 1778ce067caa..2c8c67080359 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-DISTVERSION= 1.3.18
+DISTVERSION= 1.3.19
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
@@ -33,8 +33,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--datadir=${DATADIR} --verbose --disable-tests \
--with-glu --with-opengl --with-xrandr \
--without-capi --without-gphoto --without-gsm \
- --without-v4l --without-mpg123 --without-sane \
- --without-xcomposite --without-xinerama
+ --without-mpg123 --without-sane \
+ --without-v4l --without-xcomposite --without-xinerama
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
FLEX="${LOCALBASE}/bin/flex"
WINELIBDIR?= ${PREFIX}/lib
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index adc33d663f0d..183e12e44ca8 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wine-1.3.18.tar.bz2) = 994064d326954e6df252002891bfcbb987a35aa573ab74be605224f66623a4ac
-SIZE (wine-1.3.18.tar.bz2) = 19155641
+SHA256 (wine-1.3.19.tar.bz2) = 8686777c08d76be742f089a292cb5f7b339d7d4cc6ca8161c97d97dec9e4e78d
+SIZE (wine-1.3.19.tar.bz2) = 19185499
diff --git a/emulators/wine-devel/files/patch-dlls-wineoss.drv b/emulators/wine-devel/files/patch-dlls-wineoss.drv
new file mode 100644
index 000000000000..304e5bb9dd16
--- /dev/null
+++ b/emulators/wine-devel/files/patch-dlls-wineoss.drv
@@ -0,0 +1,54 @@
+diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c
+index ff21cd6..76fd474 100644
+--- dlls/wineoss.drv/mmdevdrv.c
++++ dlls/wineoss.drv/mmdevdrv.c
+@@ -500,7 +500,7 @@ static int get_oss_format(const WAVEFORMATEX *fmt)
+ case 16:
+ return AFMT_S16_LE;
+ case 24:
+- return AFMT_S24_PACKED;
++ return AFMT_S24_LE;
+ case 32:
+ return AFMT_S32_LE;
+ }
+@@ -513,7 +513,9 @@ static int get_oss_format(const WAVEFORMATEX *fmt)
+ if(fmt->wBitsPerSample != 32)
+ return -1;
+
++#ifdef AFMT_FLOAT
+ return AFMT_FLOAT;
++#endif
+ }
+
+ return -1;
+@@ -944,16 +946,18 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
+ if(formats & AFMT_S16_LE){
+ fmt->Format.wBitsPerSample = 16;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
++#ifdef AFMT_FLOAT
+ }else if(formats & AFMT_FLOAT){
+ fmt->Format.wBitsPerSample = 32;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
++#endif
+ }else if(formats & AFMT_U8){
+ fmt->Format.wBitsPerSample = 8;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+ }else if(formats & AFMT_S32_LE){
+ fmt->Format.wBitsPerSample = 32;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+- }else if(formats & AFMT_S24_PACKED){
++ }else if(formats & AFMT_S24_LE){
+ fmt->Format.wBitsPerSample = 24;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+ }else{
+@@ -1174,6 +1178,10 @@ static HRESULT WINAPI AudioClient_Stop(IAudioClient *iface)
+ This->timer = NULL;
+ }
+
++#ifndef SNDCTL_DSP_HALT
++#define SNDCTL_DSP_HALT SNDCTL_DSP_RESET
++#endif
++
+ if(ioctl(This->fd, SNDCTL_DSP_HALT, NULL) < 0){
+ LeaveCriticalSection(&This->lock);
+ WARN("HALT failed: %d (%s)\n", errno, strerror(errno));
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 43e4f62b5f53..7775ab75c242 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -175,6 +175,7 @@ include/wine/windows/d3drmwin.h
include/wine/windows/d3dtypes.h
include/wine/windows/d3dvec.inl
include/wine/windows/d3dx9.h
+include/wine/windows/d3dx9anim.h
include/wine/windows/d3dx9core.h
include/wine/windows/d3dx9effect.h
include/wine/windows/d3dx9math.h
@@ -183,6 +184,7 @@ include/wine/windows/d3dx9mesh.h
include/wine/windows/d3dx9shader.h
include/wine/windows/d3dx9shape.h
include/wine/windows/d3dx9tex.h
+include/wine/windows/d3dx9xof.h
include/wine/windows/dbccmd.idl
include/wine/windows/dbcses.idl
include/wine/windows/dbdsad.idl
@@ -1041,6 +1043,7 @@ lib/wine/fakedlls/mssip32.dll
lib/wine/fakedlls/mstask.dll
lib/wine/fakedlls/msvcirt.dll
lib/wine/fakedlls/msvcp100.dll
+lib/wine/fakedlls/msvcp60.dll
lib/wine/fakedlls/msvcp80.dll
lib/wine/fakedlls/msvcp90.dll
lib/wine/fakedlls/msvcr100.dll
@@ -1526,6 +1529,7 @@ lib/wine/mssip32.dll.so
lib/wine/mstask.dll.so
lib/wine/msvcirt.dll.so
lib/wine/msvcp100.dll.so
+lib/wine/msvcp60.dll.so
lib/wine/msvcp80.dll.so
lib/wine/msvcp90.dll.so
lib/wine/msvcr100.dll.so
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 1778ce067caa..2c8c67080359 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wine
-DISTVERSION= 1.3.18
+DISTVERSION= 1.3.19
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
@@ -33,8 +33,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--datadir=${DATADIR} --verbose --disable-tests \
--with-glu --with-opengl --with-xrandr \
--without-capi --without-gphoto --without-gsm \
- --without-v4l --without-mpg123 --without-sane \
- --without-xcomposite --without-xinerama
+ --without-mpg123 --without-sane \
+ --without-v4l --without-xcomposite --without-xinerama
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
FLEX="${LOCALBASE}/bin/flex"
WINELIBDIR?= ${PREFIX}/lib
diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo
index adc33d663f0d..183e12e44ca8 100644
--- a/emulators/wine/distinfo
+++ b/emulators/wine/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wine-1.3.18.tar.bz2) = 994064d326954e6df252002891bfcbb987a35aa573ab74be605224f66623a4ac
-SIZE (wine-1.3.18.tar.bz2) = 19155641
+SHA256 (wine-1.3.19.tar.bz2) = 8686777c08d76be742f089a292cb5f7b339d7d4cc6ca8161c97d97dec9e4e78d
+SIZE (wine-1.3.19.tar.bz2) = 19185499
diff --git a/emulators/wine/files/patch-dlls-wineoss.drv b/emulators/wine/files/patch-dlls-wineoss.drv
new file mode 100644
index 000000000000..304e5bb9dd16
--- /dev/null
+++ b/emulators/wine/files/patch-dlls-wineoss.drv
@@ -0,0 +1,54 @@
+diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c
+index ff21cd6..76fd474 100644
+--- dlls/wineoss.drv/mmdevdrv.c
++++ dlls/wineoss.drv/mmdevdrv.c
+@@ -500,7 +500,7 @@ static int get_oss_format(const WAVEFORMATEX *fmt)
+ case 16:
+ return AFMT_S16_LE;
+ case 24:
+- return AFMT_S24_PACKED;
++ return AFMT_S24_LE;
+ case 32:
+ return AFMT_S32_LE;
+ }
+@@ -513,7 +513,9 @@ static int get_oss_format(const WAVEFORMATEX *fmt)
+ if(fmt->wBitsPerSample != 32)
+ return -1;
+
++#ifdef AFMT_FLOAT
+ return AFMT_FLOAT;
++#endif
+ }
+
+ return -1;
+@@ -944,16 +946,18 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
+ if(formats & AFMT_S16_LE){
+ fmt->Format.wBitsPerSample = 16;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
++#ifdef AFMT_FLOAT
+ }else if(formats & AFMT_FLOAT){
+ fmt->Format.wBitsPerSample = 32;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
++#endif
+ }else if(formats & AFMT_U8){
+ fmt->Format.wBitsPerSample = 8;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+ }else if(formats & AFMT_S32_LE){
+ fmt->Format.wBitsPerSample = 32;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+- }else if(formats & AFMT_S24_PACKED){
++ }else if(formats & AFMT_S24_LE){
+ fmt->Format.wBitsPerSample = 24;
+ fmt->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+ }else{
+@@ -1174,6 +1178,10 @@ static HRESULT WINAPI AudioClient_Stop(IAudioClient *iface)
+ This->timer = NULL;
+ }
+
++#ifndef SNDCTL_DSP_HALT
++#define SNDCTL_DSP_HALT SNDCTL_DSP_RESET
++#endif
++
+ if(ioctl(This->fd, SNDCTL_DSP_HALT, NULL) < 0){
+ LeaveCriticalSection(&This->lock);
+ WARN("HALT failed: %d (%s)\n", errno, strerror(errno));
diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist
index 43e4f62b5f53..7775ab75c242 100644
--- a/emulators/wine/pkg-plist
+++ b/emulators/wine/pkg-plist
@@ -175,6 +175,7 @@ include/wine/windows/d3drmwin.h
include/wine/windows/d3dtypes.h
include/wine/windows/d3dvec.inl
include/wine/windows/d3dx9.h
+include/wine/windows/d3dx9anim.h
include/wine/windows/d3dx9core.h
include/wine/windows/d3dx9effect.h
include/wine/windows/d3dx9math.h
@@ -183,6 +184,7 @@ include/wine/windows/d3dx9mesh.h
include/wine/windows/d3dx9shader.h
include/wine/windows/d3dx9shape.h
include/wine/windows/d3dx9tex.h
+include/wine/windows/d3dx9xof.h
include/wine/windows/dbccmd.idl
include/wine/windows/dbcses.idl
include/wine/windows/dbdsad.idl
@@ -1041,6 +1043,7 @@ lib/wine/fakedlls/mssip32.dll
lib/wine/fakedlls/mstask.dll
lib/wine/fakedlls/msvcirt.dll
lib/wine/fakedlls/msvcp100.dll
+lib/wine/fakedlls/msvcp60.dll
lib/wine/fakedlls/msvcp80.dll
lib/wine/fakedlls/msvcp90.dll
lib/wine/fakedlls/msvcr100.dll
@@ -1526,6 +1529,7 @@ lib/wine/mssip32.dll.so
lib/wine/mstask.dll.so
lib/wine/msvcirt.dll.so
lib/wine/msvcp100.dll.so
+lib/wine/msvcp60.dll.so
lib/wine/msvcp80.dll.so
lib/wine/msvcp90.dll.so
lib/wine/msvcr100.dll.so