freebsd-ports/x11/xscreensaver/files/patch-hacks_screenhack.h
Doug Barton 4422dc3bcc * Upgrade to 3.34, which is mostly bug fixes, and two new hacks.
* Correct something I didn't catch when I took over the port... if we want
  the -demo program to handle settings, GTK isn't optional.
* Add a patch that handles an overly enthusiastic attempt to avoid bzero
  (which one of the hacks actually uses).
2001-12-23 08:02:14 +00:00

14 lines
428 B
C

--- 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__