[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: patch for kdebase/kioslave/help/libxslt ...
From: The Hermit Hacker <scrappy () hub ! org>
Date: 2001-04-07 17:21:35
[Download RAW message or body]
For some reason, FreeBSD (4.x or 5.x) doesn't install ansidecl.h, so
xsltconfig.h can't find it ... the following patch provides one fix, but a
better way would be to just test for ansidecl.h in configure and use that,
but I get soooo lost, so fast in kde's configure :(
*** xsltconfig.h.in.orig Sat Apr 7 14:18:22 2001
--- xsltconfig.h.in Sat Apr 7 14:19:12 2001
***************
*** 21,32 ****
#endif
#ifdef __GNUC__
! #include <ansidecl.h>
! #ifndef ATTRIBUTE_UNUSED
! #define ATTRIBUTE_UNUSED
! #endif
#else
! #define ATTRIBUTE_UNUSED
#endif
#ifdef __cplusplus
--- 21,36 ----
#endif
#ifdef __GNUC__
! # ifndef __FreeBSD__
! # include <ansidecl.h>
! # ifndef ATTRIBUTE_UNUSED
! # define ATTRIBUTE_UNUSED
! # endif
! # else
! # define ATTRIBUTE_UNUSED
! # endif
#else
! # define ATTRIBUTE_UNUSED
#endif
#ifdef __cplusplus
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic