diff options
author | hans <hans@pkgsrc.org> | 2012-03-02 14:57:07 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-02 14:57:07 +0000 |
commit | 4469a61430ae679973f60b1ce296cc62d2d184dc (patch) | |
tree | 33b6e2224fed8e13cb6e9380facf1468f82b2e3b /wm | |
parent | 3b9e9d530ae114089fec369297754dd4c7d30332 (diff) | |
download | pkgsrc-4469a61430ae679973f60b1ce296cc62d2d184dc.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/3ddesktop/distinfo | 4 | ||||
-rw-r--r-- | wm/3ddesktop/patches/patch-config.hpp | 12 | ||||
-rw-r--r-- | wm/3ddesktop/patches/patch-util.h | 16 |
3 files changed, 31 insertions, 1 deletions
diff --git a/wm/3ddesktop/distinfo b/wm/3ddesktop/distinfo index 6199452faf1..ba9fb63cf74 100644 --- a/wm/3ddesktop/distinfo +++ b/wm/3ddesktop/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2011/11/25 22:20:28 joerg Exp $ +$NetBSD: distinfo,v 1.8 2012/03/02 14:57:07 hans Exp $ SHA1 (3ddesktop-0.2.9.tar.gz) = 33ff86b559d0c0407ef4c6c989a9fcbf804f7e5f RMD160 (3ddesktop-0.2.9.tar.gz) = 86ca9d9df57a83d2f4719ce45708e129bdc75fb4 @@ -7,3 +7,5 @@ SHA1 (patch-aa) = bf6d06462cb2b0e48f15296a7238980dec0e8e17 SHA1 (patch-ab) = e078b55d2a0fc7344f59dcbddd25644b31f8f201 SHA1 (patch-ad) = 3e24c98b58b27e2e7384bb96ece20cb604dd900f SHA1 (patch-config.cpp) = e3352c5b93aa574b5de8d77b4c56d1fbf65f7ecf +SHA1 (patch-config.hpp) = 75e530ef6d024236a14a4e8e7f2fe44badc012d7 +SHA1 (patch-util.h) = 8207e3ffc523b56902860abac3a80dbe03abb6e2 diff --git a/wm/3ddesktop/patches/patch-config.hpp b/wm/3ddesktop/patches/patch-config.hpp new file mode 100644 index 00000000000..2ec15421ae9 --- /dev/null +++ b/wm/3ddesktop/patches/patch-config.hpp @@ -0,0 +1,12 @@ +$NetBSD: patch-config.hpp,v 1.1 2012/03/02 14:57:08 hans Exp $ + +--- config.hpp.orig 2005-06-20 13:28:29.000000000 +0200 ++++ config.hpp 2012-03-02 15:50:39.263891839 +0100 +@@ -35,6 +35,7 @@ + #define _GNU_SOURCE + #endif + #include <dirent.h> // for PATH_MAX? ++#include <limits.h> + #include <getopt.h> + + #include <X11/keysym.h> diff --git a/wm/3ddesktop/patches/patch-util.h b/wm/3ddesktop/patches/patch-util.h new file mode 100644 index 00000000000..e532eee6f94 --- /dev/null +++ b/wm/3ddesktop/patches/patch-util.h @@ -0,0 +1,16 @@ +$NetBSD: patch-util.h,v 1.1 2012/03/02 14:57:08 hans Exp $ + +--- util.h.orig 2005-06-20 13:06:50.000000000 +0200 ++++ util.h 2012-03-02 15:48:57.476209637 +0100 +@@ -24,6 +24,11 @@ + #include <sys/param.h> // BSD + #ifdef BSD + #include <sys/endian.h> ++#elif defined(__sun) ++#include <sys/byteorder.h> ++#ifdef _BIG_ENDIAN ++#define __BIG_ENDIAN__ ++#endif + #else + #include <endian.h> + #endif |