Compare commits
No commits in common. "rawhide" and "f38" have entirely different histories.
5 changed files with 1829 additions and 1332 deletions
6
sources
6
sources
|
|
@ -1,3 +1,3 @@
|
|||
SHA512 (wine-11.0.tar.xz) = a2c3db14f8cf0d19927466805c8f17c68ee7e93d1196d1162dd2279af497c21ec611a63f7a9de59953bbdfdb44c87d7bf55373c6533224a5d54e434c29428d1b
|
||||
SHA512 (wine-11.0.tar.xz.sign) = b37064b787e4cff05b01f0d04fe2af8ff341e274a41a0238b5e58e392223bcd3574eb593f78ba7de8fb8caea7c27abf2a1259527807a2bec2413aa9ce027e183
|
||||
SHA512 (wine-staging-11.0.tar.gz) = 27eecce0cc1974e97d2aaffc0bf5a5d114f5fd8d3d6a349d9f984058a316b6654dd07bc2223c38df16fd2862f59aa79518d2d109ea0ac41c957144377ddd39a7
|
||||
SHA512 (wine-9.1.tar.xz) = 12ec508b1e457a94391ab3072ed602ff07da2e5beb4bbe4f76e42d71e87f7fa11f6531f1f1c71e96e884b10a99240a9eaf999867479b8eeadf3576df46e0a73a
|
||||
SHA512 (wine-9.1.tar.xz.sign) = ec6b29c5ec9808b28a405a8504ec1492fdeec26b05d5bfa3ac923463b41834e88107fb01ede5668e68bc1028bcb030aa23a1a6ef6a818561b53a0cfdeaaaf02a
|
||||
SHA512 (wine-staging-9.1.tar.gz) = 070e09acf8bca60a4f2512874f48f653cc03a7fcfcfef34b4f292731d49e0670a5cf69557c268fc5dc11f0a7a8e0e7347d9665b98e6bb47e0521e3fe164ff118
|
||||
|
|
|
|||
25
wine-7.22-autoconf-2.72.patch
Normal file
25
wine-7.22-autoconf-2.72.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
--- wine-7.20.old/aclocal.m4 2022-11-17 17:19:01.772386752 +0100
|
||||
+++ wine-7.20/aclocal.m4 2022-11-17 17:24:03.721683055 +0100
|
||||
@@ -279,15 +279,17 @@
|
||||
dnl
|
||||
dnl Usage: WINE_CHECK_DEFINE(name),[action-if-yes,[action-if-no]])
|
||||
dnl
|
||||
AC_DEFUN([WINE_CHECK_DEFINE],
|
||||
[AS_VAR_PUSHDEF([ac_var],[ac_cv_cpp_def_$1])dnl
|
||||
-AC_CACHE_CHECK([whether we need to define $1],ac_var,
|
||||
- AC_EGREP_CPP(yes,[#ifndef $1
|
||||
-yes
|
||||
-#endif],
|
||||
- [AS_VAR_SET(ac_var,yes)],[AS_VAR_SET(ac_var,no)]))
|
||||
+AC_CACHE_CHECK([whether we need to define $1], ac_var,
|
||||
+ [AC_PREPROC_IFELSE([[
|
||||
+#ifndef $1
|
||||
+#error not defined
|
||||
+#endif
|
||||
+]],
|
||||
+ [AS_VAR_SET(ac_var,no)],[AS_VAR_SET(ac_var,yes)])])
|
||||
AS_VAR_IF([ac_var],[yes],
|
||||
[CFLAGS="$CFLAGS -D$1"
|
||||
LINTFLAGS="$LINTFLAGS -D$1"])dnl
|
||||
AS_VAR_POPDEF([ac_var])])
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
ntsync
|
||||
115
wine-staging-9.0.patch
Normal file
115
wine-staging-9.0.patch
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
--- patches/eventfd_synchronization/0003-ntdll-Create-eventfd-based-objects-for-semaphores.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0003-ntdll-Create-eventfd-based-objects-for-semaphores.patch 2024-01-17 20:36:36.796186786 -0600
|
||||
@@ -197,7 +197,7 @@
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
-+ if (!InterlockedCompareExchange( (int *)&esync_list[entry][idx].type, type, 0 ))
|
||||
++ if (!InterlockedCompareExchange( (LONG *)&esync_list[entry][idx].type, type, 0 ))
|
||||
+ {
|
||||
+ esync_list[entry][idx].fd = fd;
|
||||
+ esync_list[entry][idx].shm = shm;
|
||||
--- patches/eventfd_synchronization/0005-ntdll-Implement-NtClose.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0005-ntdll-Implement-NtClose.patch 2024-01-17 20:22:59.170405980 -0600
|
||||
@@ -25,7 +25,7 @@
|
||||
+
|
||||
+ if (entry < ESYNC_LIST_ENTRIES && esync_list[entry])
|
||||
+ {
|
||||
-+ if (InterlockedExchange((int *)&esync_list[entry][idx].type, 0))
|
||||
++ if (InterlockedExchange((LONG *)&esync_list[entry][idx].type, 0))
|
||||
+ {
|
||||
+ close( esync_list[entry][idx].fd );
|
||||
+ return STATUS_SUCCESS;
|
||||
--- patches/eventfd_synchronization/0004-ntdll-Implement-NtReleaseSemaphore.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0004-ntdll-Implement-NtReleaseSemaphore.patch 2024-01-17 20:25:51.399420034 -0600
|
||||
@@ -60,7 +60,7 @@
|
||||
+
|
||||
+ if (count + current > semaphore->max)
|
||||
+ return STATUS_SEMAPHORE_LIMIT_EXCEEDED;
|
||||
-+ } while (InterlockedCompareExchange( &semaphore->count, count + current, current ) != current);
|
||||
++ } while (InterlockedCompareExchange( (LONG *) &semaphore->count, count + current, current ) != current);
|
||||
+
|
||||
+ if (prev) *prev = current;
|
||||
+
|
||||
--- patches/eventfd_synchronization/0050-ntdll-server-Try-to-avoid-poll-for-signaled-events.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0050-ntdll-server-Try-to-avoid-poll-for-signaled-events.patch 2024-01-17 20:29:39.020112232 -0600
|
||||
@@ -90,7 +90,7 @@
|
||||
+ if (obj->type == ESYNC_MANUAL_EVENT)
|
||||
+ {
|
||||
+ /* Acquire the spinlock. */
|
||||
-+ while (InterlockedCompareExchange( &event->locked, 1, 0 ))
|
||||
++ while (InterlockedCompareExchange( (LONG *) &event->locked, 1, 0 ))
|
||||
+ small_pause();
|
||||
+ }
|
||||
+
|
||||
@@ -103,7 +103,7 @@
|
||||
+ * eventfd is unsignaled (i.e. reset shm, set shm, set fd, reset fd), we
|
||||
+ * *must* signal the fd now, or any waiting threads will never wake up. */
|
||||
+
|
||||
-+ if (!InterlockedExchange( &event->signaled, 1 ) || obj->type == ESYNC_AUTO_EVENT)
|
||||
++ if (!InterlockedExchange( (LONG *) &event->signaled, 1 ) || obj->type == ESYNC_AUTO_EVENT)
|
||||
+ {
|
||||
+ if (write( obj->fd, &value, sizeof(value) ) == -1)
|
||||
+ ERR("write: %s\n", strerror(errno));
|
||||
@@ -137,7 +137,7 @@
|
||||
+ if (obj->type == ESYNC_MANUAL_EVENT)
|
||||
+ {
|
||||
+ /* Acquire the spinlock. */
|
||||
-+ while (InterlockedCompareExchange( &event->locked, 1, 0 ))
|
||||
++ while (InterlockedCompareExchange( (LONG *) &event->locked, 1, 0 ))
|
||||
+ small_pause();
|
||||
+ }
|
||||
+
|
||||
@@ -147,7 +147,7 @@
|
||||
+ * For auto-reset events, we have no guarantee that the previous "signaled"
|
||||
+ * state is actually correct. We need to leave both states unsignaled after
|
||||
+ * leaving this function, so we always have to read(). */
|
||||
-+ if (InterlockedExchange( &event->signaled, 0 ) || obj->type == ESYNC_AUTO_EVENT)
|
||||
++ if (InterlockedExchange( (LONG *) &event->signaled, 0 ) || obj->type == ESYNC_AUTO_EVENT)
|
||||
+ {
|
||||
+ if (read( obj->fd, &value, sizeof(value) ) == -1 && errno != EWOULDBLOCK && errno != EAGAIN)
|
||||
+ {
|
||||
--- patches/eventfd_synchronization/0006-ntdll-Implement-NtWaitForMultipleObjects.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0006-ntdll-Implement-NtWaitForMultipleObjects.patch 2024-01-17 20:31:23.217332813 -0600
|
||||
@@ -82,7 +82,7 @@
|
||||
+ * fact that we were able to grab it at all means the count is nonzero,
|
||||
+ * and if someone else grabbed it then the count must have been >= 2,
|
||||
+ * etc. */
|
||||
-+ InterlockedExchangeAdd( &semaphore->count, -1 );
|
||||
++ InterlockedExchangeAdd( (LONG *) &semaphore->count, -1 );
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
--- patches/eventfd_synchronization/0007-ntdll-server-Implement-NtCreateEvent.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0007-ntdll-server-Implement-NtCreateEvent.patch 2024-01-17 20:31:54.500700144 -0600
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
@@ -339,6 +358,14 @@ static void update_grabbed_object( struct esync *obj )
|
||||
* etc. */
|
||||
- InterlockedExchangeAdd( &semaphore->count, -1 );
|
||||
+ InterlockedExchangeAdd( (LONG *) &semaphore->count, -1 );
|
||||
}
|
||||
+ else if (obj->type == ESYNC_AUTO_EVENT)
|
||||
+ {
|
||||
--- patches/eventfd_synchronization/0049-ntdll-Try-to-avoid-poll-for-uncontended-objects.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/eventfd_synchronization/0049-ntdll-Try-to-avoid-poll-for-uncontended-objects.patch 2024-01-17 21:07:47.674962176 -0600
|
||||
@@ -68,7 +68,7 @@
|
||||
+ if ((size = read( obj->fd, &value, sizeof(value) )) == sizeof(value))
|
||||
+ {
|
||||
+ TRACE("Woken up by handle %p [%d].\n", handles[i], i);
|
||||
-+ InterlockedDecrement( &semaphore->count );
|
||||
++ InterlockedDecrement( (LONG *) &semaphore->count );
|
||||
+ return i;
|
||||
+ }
|
||||
+ }
|
||||
--- patches/gdi32-rotation/0002-gdi32-fix-for-rotated-ellipse.patch.orig 2024-01-16 15:47:35.000000000 -0600
|
||||
+++ patches/gdi32-rotation/0002-gdi32-fix-for-rotated-ellipse.patch 2024-01-18 08:19:37.882485865 -0600
|
||||
@@ -74,7 +74,7 @@
|
||||
+ }
|
||||
+
|
||||
+ if (pdev->brush.style != BS_NULL &&
|
||||
-+ !(interior = ULongToHandle(NtGdiPolyPolyDraw( ULongToHandle(ALTERNATE), points, (const UINT *)&count, 1, NtGdiPolyPolygonRgn ))))
|
||||
++ !(interior = ULongToHandle(NtGdiPolyPolyDraw( ULongToHandle(ALTERNATE), points, (const ULONG *)&count, 1, NtGdiPolyPolygonRgn ))))
|
||||
+ {
|
||||
+ free( points );
|
||||
+ if (outline) NtGdiDeleteObjectApp( outline );
|
||||
Loading…
Add table
Add a link
Reference in a new issue