Subject: pkg/5942: tanked doesnt build
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 08/09/1998 04:26:24
>Number:         5942
>Category:       pkg
>Synopsis:       tanked doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug  9 04:35:01 1998
>Last-Modified:
>Originator:     Tim Rightnour
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        6/10/98<NetBSD-current source date>
>Environment:
	
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
This one was hard to catch.. Old versions of the xpm library installed the
xpm.h file into /usr/X11R6/include/xpm.h, the NetBSD pkg version installs it
into /usr/X11R6/include/X11/xpm.h.  If you have a fresh system with no
leftover cruft from before..  it bites you..  
	
>How-To-Repeat:
try to build tanked on a fresh 1.3 based system.  Notice the wierd xpm.h
not found messages, do some ls's and go "ack".
	
>Fix:
three new patches below:
--- client/libsprite/libsdefs.h.orig	Sun Aug  9 03:02:24 1998
+++ client/libsprite/libsdefs.h	Sun Aug  9 03:03:13 1998
@@ -42,3 +42,3 @@
 #else 
-#include <xpm.h>
+#include <X11/xpm.h>
 #endif /*HACKED_XPMLIB*/
--- client/libsprite/libsstruct.h.orig	Sun Aug  9 03:02:19 1998
+++ client/libsprite/libsstruct.h	Sun Aug  9 03:03:27 1998
@@ -16,3 +16,3 @@
 #else 
-#include <xpm.h>
+#include <X11/xpm.h>
 #endif /*HACKED_XPMLIB*/
--- client/libsprite/libsdefs.h.orig	Sun Aug  9 03:02:24 1998
+++ client/libsprite/libsdefs.h	Sun Aug  9 03:03:13 1998
@@ -42,3 +42,3 @@
 #else 
-#include <xpm.h>
+#include <X11/xpm.h>
 #endif /*HACKED_XPMLIB*/

	
>Audit-Trail:
>Unformatted: