summaryrefslogtreecommitdiff
path: root/emulators/wine-devel
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/Makefile2
-rw-r--r--emulators/wine-devel/distinfo6
-rw-r--r--emulators/wine-devel/files/patch-server_ptrace.c11
-rw-r--r--emulators/wine-devel/files/pkg32.sh16
-rw-r--r--emulators/wine-devel/pkg-plist9
5 files changed, 34 insertions, 10 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index d98676b38c45..613f0931ffb0 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= wine
-DISTVERSION= 10.10
+DISTVERSION= 10.12
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/10.x/
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index 261fa76cdef2..b1fee7a29e6a 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749898973
-SHA256 (wine-10.10.tar.xz) = e76466a5ca3197f399ddf8069b0a79e5eb2dffe5b3b7db9eb7272288330c8596
-SIZE (wine-10.10.tar.xz) = 32528748
+TIMESTAMP = 1752417916
+SHA256 (wine-10.12.tar.xz) = cd572c71a3d72e87f98490b228c7c26aaeb3fde38dd9e79fc3b56391d599d6bf
+SIZE (wine-10.12.tar.xz) = 32594888
diff --git a/emulators/wine-devel/files/patch-server_ptrace.c b/emulators/wine-devel/files/patch-server_ptrace.c
new file mode 100644
index 000000000000..e07e605613f5
--- /dev/null
+++ b/emulators/wine-devel/files/patch-server_ptrace.c
@@ -0,0 +1,11 @@
+--- server/ptrace.c.orig 2025-07-11 20:05:52 UTC
++++ server/ptrace.c
+@@ -687,7 +687,7 @@ void init_thread_context( struct thread *thread )
+ struct dbreg dbregs;
+
+ memset( &dbregs, 0, sizeof(dbregs) );
+- ptrace( PTRACE_SETDBREGS, get_ptrace_tid( thread ), (caddr_t)&dbregs, 0 );
++ ptrace( PTRACE_SETDBREGS, thread->unix_tid , (caddr_t)&dbregs, 0 );
+ resume_after_ptrace( thread );
+ }
+ thread->system_regs = 0;
diff --git a/emulators/wine-devel/files/pkg32.sh b/emulators/wine-devel/files/pkg32.sh
index 64d82459c219..04595f6c104c 100644
--- a/emulators/wine-devel/files/pkg32.sh
+++ b/emulators/wine-devel/files/pkg32.sh
@@ -1,19 +1,23 @@
#!/bin/sh -e
-if [ "$(id -u)" = 0 ]
-then
+if [ "$(id -u)" = 0 ]; then
echo "Don't run this script as root!"
exit 1
fi
I386_ROOT="${WINE_i386_ROOT:-$HOME/.i386-wine-pkg}"
+ABI_FILE=/usr/lib32/libc.so.7
-if [ ! -d "$I386_ROOT/usr/share/keys/pkg" ]
-then
+if [ ! -f $ABI_FILE ]; then
+ echo "\"$ABI_FILE\" not found; exiting."
+ exit 1
+fi
+
+if [ ! -d "$I386_ROOT/usr/share/keys/pkg" ]; then
mkdir -p "$I386_ROOT/usr/share/keys"
ln -s /usr/share/keys/pkg "$I386_ROOT/usr/share/keys/pkg"
fi
# Show what we're going to do, then do it.
-echo pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
-exec pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
+echo pkg -o ABI_FILE=$ABI_FILE -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
+exec pkg -o ABI_FILE=$ABI_FILE -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index 90a35cde7ec4..27f578564923 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -177,8 +177,10 @@ include/wine/windows/bits5_0.h
include/wine/windows/bits5_0.idl
include/wine/windows/bitsmsg.h
include/wine/windows/bluetoothapis.h
+include/wine/windows/bluetoothleapis.h
include/wine/windows/bthdef.h
include/wine/windows/bthioctl.h
+include/wine/windows/bthledef.h
include/wine/windows/bthsdpdef.h
include/wine/windows/cderr.h
include/wine/windows/cdosys.h
@@ -356,6 +358,7 @@ include/wine/windows/dcomptypes.idl
include/wine/windows/dde.h
include/wine/windows/dde.rh
include/wine/windows/ddeml.h
+include/wine/windows/ddk/bthguid.h
include/wine/windows/ddk/compstui.h
include/wine/windows/ddk/csq.h
include/wine/windows/ddk/d3dkmthk.h
@@ -391,11 +394,14 @@ include/wine/windows/ddstream.h
include/wine/windows/ddstream.idl
include/wine/windows/delayloadhandler.h
include/wine/windows/devenum.idl
+include/wine/windows/devfiltertypes.h
include/wine/windows/devguid.h
include/wine/windows/devicetopology.h
include/wine/windows/devicetopology.idl
include/wine/windows/devpkey.h
include/wine/windows/devpropdef.h
+include/wine/windows/devquery.h
+include/wine/windows/devquerydef.h
include/wine/windows/dhcpcsdk.h
include/wine/windows/dhtmldid.h
include/wine/windows/dhtmled.h
@@ -504,6 +510,7 @@ include/wine/windows/dyngraph.idl
include/wine/windows/endpointvolume.h
include/wine/windows/endpointvolume.idl
include/wine/windows/errhandlingapi.h
+include/wine/windows/errlup.idl
include/wine/windows/errorrep.h
include/wine/windows/errors.h
include/wine/windows/errrec.idl
@@ -1129,6 +1136,8 @@ include/wine/windows/windows.data.json.h
include/wine/windows/windows.data.json.idl
include/wine/windows/windows.data.xml.dom.h
include/wine/windows/windows.data.xml.dom.idl
+include/wine/windows/windows.devices.bluetooth.genericattributeprofile.h
+include/wine/windows/windows.devices.bluetooth.genericattributeprofile.idl
include/wine/windows/windows.devices.bluetooth.h
include/wine/windows/windows.devices.bluetooth.idl
include/wine/windows/windows.devices.bluetooth.rfcomm.h