pkgsrc/wm/windowmaker/patches/patch-ad
wiz f051ca64a7 Update to 0.70.0, based on pkg/14157 by Geoff C. Wing, with some fixes
by me.

Changes are bugfixes, and the following:
- copy/paste launching in Dock
- internal code clean-up with notifications for window state change and other
  stuff
- removed the libPropList dependancy by adding property list handling
  code to WINGs. This code is not only better integrated with the other
  WINGs data structures, but it's also more robust. Also a backward
  compatibility header file is provided which maps old libPropList
  function names to the new WINGs based proplist names allowing old code
  to be linked to WINGs with minimal changes. For details on how to use
  the compat mode, read the comments on top of WINGs/WINGs/proplist-compat.h
  More details about this can be found in WINGs/ChangeLog and WINGs/NEWS.
  Say bye, bye libPropList =)
- rewrote all Window Maker code to use the new WINGs based proplist functions.
2001-10-05 12:18:57 +00:00

25 lines
572 B
Text

$NetBSD: patch-ad,v 1.7 2001/10/05 12:18:58 wiz Exp $
--- src/main.c.orig Thu Oct 4 13:39:18 2001
+++ src/main.c Fri Oct 5 14:02:59 2001
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
+#include <signal.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -235,6 +236,12 @@
{
char *tmp, *ptr;
char buf[16];
+ struct sigaction sa;
+
+ sa.sa_handler = SIG_DFL;
+ sigemptyset(&sa.sa_mask);
+ /* sa.sa_mask = 0; */
+ sigaction(SIGPIPE, &sa, NULL);
if (multiHead) {
int len = strlen(DisplayName)+64;