xlockmore/xlockmore-strict-aliasing.patch
Antonio Teixeira 6f617beb9c - Update to 5.79:
* pyraminx and oct mode extended to size 6 also some hardcoding of size
    removed and fixed some drawing errors.
- Fix builds
  * Remove xlockmore-strict-aliasing.patch
  * Add xlockmore-cast-function-pointers.patch

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xlockmore?expand=0&rev=68
2024-09-15 14:00:07 +00:00

14 lines
522 B
Diff

Index: xlock/vroot.h
===================================================================
--- xlock/vroot.h.orig 2007-10-28 02:49:36.000000000 +0100
+++ xlock/vroot.h 2010-12-14 12:19:00.878842537 +0100
@@ -108,7 +108,7 @@ VirtualRootWindowOfScreen(Screen * s)
__SWM_VROOT, 0, 1, False, XA_WINDOW,
&actual_type, &actual_format,
&nitems, &bytesafter,
- (unsigned char **) &newRoot) == Success && newRoot) {
+ &newRoot) == Success && newRoot) {
root = *newRoot;
break;
}