diff options
author | abs <abs> | 2000-10-26 11:17:34 +0000 |
---|---|---|
committer | abs <abs> | 2000-10-26 11:17:34 +0000 |
commit | 966065620c934a0b22bab9cc6ff658ba3d0b5907 (patch) | |
tree | bd478da0d7535f0de795baa48fb6d2aa77d44726 /www | |
parent | f11e9c8e412029d120dacc708e65b6aafc98755a (diff) | |
download | pkgsrc-966065620c934a0b22bab9cc6ff658ba3d0b5907.tar.gz |
Use sys/endian to determine the byte ordering. Now works on NetBSD/arm32.
Diffstat (limited to 'www')
-rw-r--r-- | www/chimera/files/patch-sum | 13 | ||||
-rw-r--r-- | www/chimera/patches/patch-aa | 6 | ||||
-rw-r--r-- | www/chimera/patches/patch-ab | 6 | ||||
-rw-r--r-- | www/chimera/patches/patch-ac | 30 | ||||
-rw-r--r-- | www/chimera/patches/patch-ad | 6 | ||||
-rw-r--r-- | www/chimera/patches/patch-ae | 6 | ||||
-rw-r--r-- | www/chimera/patches/patch-af | 14 |
7 files changed, 52 insertions, 29 deletions
diff --git a/www/chimera/files/patch-sum b/www/chimera/files/patch-sum index 11065df3d80..ebd25b142aa 100644 --- a/www/chimera/files/patch-sum +++ b/www/chimera/files/patch-sum @@ -1,7 +1,8 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/10/19 14:23:00 fredb Exp $ +$NetBSD: patch-sum,v 1.2 2000/10/26 11:17:34 abs Exp $ -MD5 (patch-aa) = 5673433604b405513b866a8a4bdd9134 -MD5 (patch-ab) = b75eeb92932caffd7f41d556cd2cd562 -MD5 (patch-ac) = 71685ef677c3076e266a20827209275f -MD5 (patch-ad) = f04f6751484cc62adc8006924d3a295f -MD5 (patch-ae) = 8d00cf061197698821ca4adf610f9ab5 +MD5 (patch-aa) = 02d70d0c2d2ddc1659575596cb66297c +MD5 (patch-ab) = 3f281316260992f2e3b8118a57a0ee99 +MD5 (patch-ac) = 1f28072db0c5077b5513267071bcb6bd +MD5 (patch-ad) = 6b15e5fa3f5c025f339d1c151295bd74 +MD5 (patch-ae) = 0d4d9424ceb0a21f99900081d58f4458 +MD5 (patch-af) = 83b5582cd8f0f1336dc8e8417e01bd1a diff --git a/www/chimera/patches/patch-aa b/www/chimera/patches/patch-aa index 367ed83042f..b18fa747c00 100644 --- a/www/chimera/patches/patch-aa +++ b/www/chimera/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/19 14:23:00 fredb Exp $ +$NetBSD: patch-aa,v 1.2 2000/10/26 11:17:35 abs Exp $ ---- Common.tmpl.dist.orig Sun May 30 16:43:52 1999 -+++ Common.tmpl.dist Mon Mar 20 22:28:13 2000 +--- Common.tmpl.dist.orig Sun May 30 22:43:52 1999 ++++ Common.tmpl.dist @@ -9,12 +9,12 @@ * CHIMERA_LIBDIR - configuration files. someday. * CHIMERA_MANDIR - directory to hold the outdated man page. diff --git a/www/chimera/patches/patch-ab b/www/chimera/patches/patch-ab index 6a799917d76..b0c692d72f4 100644 --- a/www/chimera/patches/patch-ab +++ b/www/chimera/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/10/19 14:23:00 fredb Exp $ +$NetBSD: patch-ab,v 1.2 2000/10/26 11:17:35 abs Exp $ ---- common/uproc.c.orig Sun Mar 28 20:27:05 1999 -+++ common/uproc.c Wed Oct 18 18:48:19 2000 +--- common/uproc.c.orig Mon Mar 29 03:27:05 1999 ++++ common/uproc.c @@ -38,7 +38,9 @@ #if defined(WNOHANG) && !defined(SYSV) && !defined(SVR4) int pid; diff --git a/www/chimera/patches/patch-ac b/www/chimera/patches/patch-ac index 12edbc6bf91..55e49f74025 100644 --- a/www/chimera/patches/patch-ac +++ b/www/chimera/patches/patch-ac @@ -1,14 +1,22 @@ -$NetBSD: patch-ac,v 1.1.1.1 2000/10/19 14:23:00 fredb Exp $ +$NetBSD: patch-ac,v 1.2 2000/10/26 11:17:35 abs Exp $ ---- port/getcwd.c.orig Sun Mar 28 20:22:30 1999 -+++ port/getcwd.c Wed Oct 18 18:35:25 2000 -@@ -34,7 +34,9 @@ - #include <sys/param.h> +--- image/image_endian.h.orig Sat Oct 21 11:36:58 2000 ++++ image/image_endian.h +@@ -48,6 +48,17 @@ + #define __VAX__ 1 + #endif - extern char *getwd(); -+#ifndef errno - extern int errno; ++#if defined(__NetBSD__) ++#include <sys/endian.h> ++#if BYTE_ORDER == BIG_ENDIAN ++#undef CHIMERA_LITTLE_ENDIAN ++#define CHIMERA_BIG_ENDIAN ++#else ++#undef CHIMERA_BIG_ENDIAN ++#define CHIMERA_LITTLE_ENDIAN +#endif - - char * - getcwd(buf, size) ++#endif ++ + #if defined(__i386__) || defined(__VAX__) || defined(__MIPSEL__) || defined(__alpha__) || defined(__QNX__) + #undef CHIMERA_BIG_ENDIAN + #define CHIMERA_LITTLE_ENDIAN diff --git a/www/chimera/patches/patch-ad b/www/chimera/patches/patch-ad index d27ada4d799..0cd2dc66b69 100644 --- a/www/chimera/patches/patch-ad +++ b/www/chimera/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.1.1.1 2000/10/19 14:23:01 fredb Exp $ +$NetBSD: patch-ad,v 1.2 2000/10/26 11:17:35 abs Exp $ ---- image/png.c.orig Sun Mar 28 20:23:46 1999 -+++ image/png.c Wed Oct 18 22:56:45 2000 +--- image/png.c.orig Mon Mar 29 03:23:46 1999 ++++ image/png.c @@ -222,17 +222,11 @@ if (setjmp(png->state->jmpbuf)) return; diff --git a/www/chimera/patches/patch-ae b/www/chimera/patches/patch-ae index b86e90707b5..928b715c314 100644 --- a/www/chimera/patches/patch-ae +++ b/www/chimera/patches/patch-ae @@ -1,7 +1,7 @@ -$NetBSD: patch-ae,v 1.1.1.1 2000/10/19 14:23:01 fredb Exp $ +$NetBSD: patch-ae,v 1.2 2000/10/26 11:17:35 abs Exp $ ---- mxw/TextField.c.orig Sun Mar 28 20:19:56 1999 -+++ mxw/TextField.c Wed Oct 18 19:29:15 2000 +--- mxw/TextField.c.orig Mon Mar 29 03:19:56 1999 ++++ mxw/TextField.c @@ -943,7 +943,8 @@ XSelectionRequestEvent *req = XtGetSelectionRequest(aw, *selection, NULL); diff --git a/www/chimera/patches/patch-af b/www/chimera/patches/patch-af new file mode 100644 index 00000000000..7a8c1f1d227 --- /dev/null +++ b/www/chimera/patches/patch-af @@ -0,0 +1,14 @@ +$NetBSD: patch-af,v 1.1 2000/10/26 11:17:59 abs Exp $ + +--- port/getcwd.c.orig Mon Mar 29 03:22:30 1999 ++++ port/getcwd.c +@@ -34,7 +34,9 @@ + #include <sys/param.h> + + extern char *getwd(); ++#ifndef errno + extern int errno; ++#endif + + char * + getcwd(buf, size) |