diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-02-19 01:40:26 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-02-19 01:40:26 +0000 |
commit | 4b57e7ac0e30bb5a67b64547afe07a613af59931 (patch) | |
tree | 19685810aab2395c146061634be8dc78895cf752 /x11/xworld | |
parent | d75baa6296af60ce3151e02f84383d851f31ca8d (diff) | |
download | pkgsrc-4b57e7ac0e30bb5a67b64547afe07a613af59931.tar.gz |
added patch for systems (such as IRIX 5) which do not define MAP_FAILED
Diffstat (limited to 'x11/xworld')
-rw-r--r-- | x11/xworld/distinfo | 4 | ||||
-rw-r--r-- | x11/xworld/patches/patch-ah | 16 | ||||
-rw-r--r-- | x11/xworld/patches/patch-ai | 16 |
3 files changed, 35 insertions, 1 deletions
diff --git a/x11/xworld/distinfo b/x11/xworld/distinfo index 1af71524948..cd6c7bb255a 100644 --- a/x11/xworld/distinfo +++ b/x11/xworld/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/06/25 00:40:20 minskim Exp $ +$NetBSD: distinfo,v 1.8 2006/02/19 01:40:26 schwarz Exp $ SHA1 (xworld-2.0.tar.gz) = 99217a8f0b63ef8685c5508fbbff4f5d7bb9b9a8 RMD160 (xworld-2.0.tar.gz) = b139357f529a8df535f82fecd74319b0f82605b3 @@ -10,3 +10,5 @@ SHA1 (patch-ad) = d243d16ef9d79e82c817ae116b3a9b9cba71a1eb SHA1 (patch-ae) = 5abdb1a4a6133fee1f5d3a83625a41c27e07c912 SHA1 (patch-af) = cf41e600032bea1c3b2cbd5436160b412fad7010 SHA1 (patch-ag) = b764304482e74438464cebdf8880381074887588 +SHA1 (patch-ah) = ee85c12a0b6d4355a235c6e26679448758067190 +SHA1 (patch-ai) = 2c22ad01c6adb966c7b445d86c1939fa4d8328c9 diff --git a/x11/xworld/patches/patch-ah b/x11/xworld/patches/patch-ah new file mode 100644 index 00000000000..48f33657e84 --- /dev/null +++ b/x11/xworld/patches/patch-ah @@ -0,0 +1,16 @@ +$NetBSD: patch-ah,v 1.1 2006/02/19 01:40:26 schwarz Exp $ + +--- compile_world.c.orig 2006-02-19 02:24:33.000000000 +0100 ++++ compile_world.c 2006-02-19 02:26:05.000000000 +0100 +@@ -41,6 +41,11 @@ + #define MAP_FILE 0x0 + #endif + ++/* IRIX 5 hack: */ ++#ifndef MAP_FAILED ++#define MAP_FAILED ((void *) -1) ++#endif ++ + int + main() + { diff --git a/x11/xworld/patches/patch-ai b/x11/xworld/patches/patch-ai new file mode 100644 index 00000000000..5e054ceb60c --- /dev/null +++ b/x11/xworld/patches/patch-ai @@ -0,0 +1,16 @@ +$NetBSD: patch-ai,v 1.1 2006/02/19 01:40:26 schwarz Exp $ + +--- xworld.c.orig 2006-02-19 02:25:25.000000000 +0100 ++++ xworld.c 2006-02-19 02:26:37.000000000 +0100 +@@ -56,6 +56,11 @@ + #define MAP_FILE 0x0 + #endif + ++/* IRIX 5 hack: */ ++#ifndef MAP_FAILED ++#define MAP_FAILED ((void *) -1) ++#endif ++ + #define SIZE 150 + #define MIN_SIZE 50 + #define X_POS +0 |