pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28017: fix for windowmaker on solaris



>Number:         28017
>Category:       pkg
>Synopsis:       fix for windowmaker on solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 05 21:00:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Robert Lillack
>Release:        none
>Organization:
Max-Planck-Institute for Mathematics in the Sciences, Leipzig, Germany
>Environment:
SunOS runner 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Blade-1000

>Description:
For using the X Shape extension it must be assured, that Xlib.h and
Xutil.h are included before (At least on Solaris 8).
This is not true for two files of the actual Window Maker release.
>How-To-Repeat:
cd wm/windowmaker
bmake
>Fix:
add patch-ag: ---snip---
$NetBSD$

--- WINGs/dragsource.c.orig     2004-11-05 20:35:56.610002000 +0100
+++ WINGs/dragsource.c
@@ -3,6 +3,8 @@
 #include <X11/Xatom.h>
 #include <X11/cursorfont.h>
 #ifdef SHAPE
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <X11/extensions/shape.h>
 #endif
 
---snap---
and patch-ai: ---snip---
$NetBSD$

--- work/WindowMaker-0.91.0/src/switchpanel.c.orig      2004-10-26 
03:13:50.000000000 +0200
+++ work/WindowMaker-0.91.0/src/switchpanel.c
@@ -26,6 +26,8 @@
 #include <sys/time.h>
 
 #ifdef SHAPE
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <X11/extensions/shape.h>
 
 extern Bool wShapeSupported;
---snap---

to the patches/ dir, run bmake makepatchsum.

This will guarantee that Xlib.h & Xutil.h are included before shape.h
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index