aboutsummaryrefslogtreecommitdiff
path: root/x11/xscreensaver/files/patch-hacks_screenhack.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xscreensaver/files/patch-hacks_screenhack.h')
-rw-r--r--x11/xscreensaver/files/patch-hacks_screenhack.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/xscreensaver/files/patch-hacks_screenhack.h b/x11/xscreensaver/files/patch-hacks_screenhack.h
new file mode 100644
index 000000000000..d90935446b73
--- /dev/null
+++ b/x11/xscreensaver/files/patch-hacks_screenhack.h
@@ -0,0 +1,14 @@
+--- hacks/screenhack.h.Dist Fri Jan 19 20:28:31 2001
++++ hacks/screenhack.h Sat Dec 22 22:41:45 2001
+@@ -98,8 +98,11 @@
+ extern void screenhack_handle_events (Display*);
+
+ /* Be Posixly correct */
++/* This would work better if the sonar code didn't
++ use bzero.
+ #undef bzero
+ #define bzero __ERROR_use_memset_not_bzero_in_xscreensaver__
++*/
+ #undef bcopy
+ #define bcopy __ERROR_use_memcpy_not_bcopy_in_xscreensaver__
+