diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-10-06 19:15:09 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-10-06 19:15:09 +0000 |
commit | 53f2afdfbda0aace91c782c0a14585a7efb97c58 (patch) | |
tree | 24ea4a6e83a7d64144614363e2fd1992963c6553 /www | |
parent | 4fccc74f6f89b78d0134fd0620ede9de0320b62d (diff) | |
download | pkgsrc-53f2afdfbda0aace91c782c0a14585a7efb97c58.tar.gz |
added support for Darwin
Diffstat (limited to 'www')
-rw-r--r-- | www/mMosaic/Makefile | 4 | ||||
-rw-r--r-- | www/mMosaic/distinfo | 10 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ah | 13 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-aj | 15 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ak | 15 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-al | 15 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-am | 15 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-an | 13 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ao | 13 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ap | 13 |
10 files changed, 124 insertions, 2 deletions
diff --git a/www/mMosaic/Makefile b/www/mMosaic/Makefile index 504880003c8..230e0521504 100644 --- a/www/mMosaic/Makefile +++ b/www/mMosaic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/04/19 19:21:28 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2006/10/06 19:15:09 schwarz Exp $ # DISTNAME= mMosaic-3.7.2 @@ -36,6 +36,8 @@ MAKEFLAGS+= sysconfigflags='-DLINUX -Dlinux -DMOTIF1_2' .elif ${OPSYS:MIRIX*} != "" MAKEFLAGS+= sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2' +.elif ${OPSYS} == "Darwin" +BUILDLINK_TRANSFORM+= rename:-shared:-c .endif .include "../../mk/bsd.pkg.mk" diff --git a/www/mMosaic/distinfo b/www/mMosaic/distinfo index 5d178855f65..8bc9b285614 100644 --- a/www/mMosaic/distinfo +++ b/www/mMosaic/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/04/19 19:21:28 wiz Exp $ +$NetBSD: distinfo,v 1.8 2006/10/06 19:15:09 schwarz Exp $ SHA1 (mMosaic-3.7.2.tar.gz) = f26d4fd115a0fb7fc09947506b59e1a3790b6ac7 RMD160 (mMosaic-3.7.2.tar.gz) = 9c7f2e2f00beaef474e53e25a91aeb604584dd06 @@ -10,4 +10,12 @@ SHA1 (patch-ad) = 995b630412892a2a7bd32da3d95c2ecd31e9a71d SHA1 (patch-ae) = 41eb6cccefb77f720bba0885993c453bc25dc14e SHA1 (patch-af) = 0cba2c49579f6631d7e7d4f1068c00c22401d879 SHA1 (patch-ag) = 51a1021eda3d92bc8bea7dacda510b24ee8ae7ef +SHA1 (patch-ah) = 5c78179ccb2757024994817725eefd31e45f9d33 SHA1 (patch-ai) = 990bfbd0181fa93a53de7aaa9a98e5e954e72813 +SHA1 (patch-aj) = 5a8d74285976d234744287f5b9d08268f3e2e92d +SHA1 (patch-ak) = 0a9c6bf97261645aed2741ca4f0d1e845132e0b7 +SHA1 (patch-al) = 5dba5394bc2e3c84504ff741d82c5e1677c9454c +SHA1 (patch-am) = 9205dc1b78eb69fbff9866d2cd48e6e6f4f88e4b +SHA1 (patch-an) = 3e03f847457166662da82162144a417d316a6508 +SHA1 (patch-ao) = 46430e4821335d84568d04186c91e097fd2c4447 +SHA1 (patch-ap) = e69d9299dd8a3a61e23a9772e39ae848c20dde67 diff --git a/www/mMosaic/patches/patch-ah b/www/mMosaic/patches/patch-ah new file mode 100644 index 00000000000..8912be14baf --- /dev/null +++ b/www/mMosaic/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- libhtmlw/HTML-PSformat.c.orig 2006-10-04 21:53:34.000000000 +0200 ++++ libhtmlw/HTML-PSformat.c 2006-10-04 21:55:11.000000000 +0200 +@@ -67,7 +67,7 @@ + #include <stdlib.h> + #ifdef __bsdi__ + #include <sys/malloc.h> +-#else ++#elif !defined(__APPLE__) + #include <malloc.h> + #endif + #include <time.h> diff --git a/www/mMosaic/patches/patch-aj b/www/mMosaic/patches/patch-aj new file mode 100644 index 00000000000..be237d32d2e --- /dev/null +++ b/www/mMosaic/patches/patch-aj @@ -0,0 +1,15 @@ +$NetBSD: patch-aj,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- libhtmlw/HTML.c.orig 2006-10-04 21:51:24.000000000 +0200 ++++ libhtmlw/HTML.c 2006-10-04 21:52:40.000000000 +0200 +@@ -3,7 +3,9 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <malloc.h> ++#ifndef __APPLE__ ++# include <malloc.h> ++#endif + #include <ctype.h> + #include <assert.h> + diff --git a/www/mMosaic/patches/patch-ak b/www/mMosaic/patches/patch-ak new file mode 100644 index 00000000000..efb81b70f9e --- /dev/null +++ b/www/mMosaic/patches/patch-ak @@ -0,0 +1,15 @@ +$NetBSD: patch-ak,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- libhtmlw/HTMLcolors.c.orig 2006-10-04 21:49:35.000000000 +0200 ++++ libhtmlw/HTMLcolors.c 2006-10-04 21:50:54.000000000 +0200 +@@ -2,7 +2,9 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <malloc.h> ++#ifndef __APPLE__ ++# include <malloc.h> ++#endif + #include <ctype.h> + #include <math.h> + diff --git a/www/mMosaic/patches/patch-al b/www/mMosaic/patches/patch-al new file mode 100644 index 00000000000..2fadb6be65e --- /dev/null +++ b/www/mMosaic/patches/patch-al @@ -0,0 +1,15 @@ +$NetBSD: patch-al,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- libmc/mc_obj.c.orig 2006-10-04 21:57:03.000000000 +0200 ++++ libmc/mc_obj.c 2006-10-04 21:56:48.000000000 +0200 +@@ -5,7 +5,9 @@ + #include <fcntl.h> + #include <sys/uio.h> + #include <unistd.h> +-#include <malloc.h> ++#ifndef __APPLE__ ++# include <malloc.h> ++#endif + #include <assert.h> + + #include <Xm/XmAll.h> diff --git a/www/mMosaic/patches/patch-am b/www/mMosaic/patches/patch-am new file mode 100644 index 00000000000..f546db8c03b --- /dev/null +++ b/www/mMosaic/patches/patch-am @@ -0,0 +1,15 @@ +$NetBSD: patch-am,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- libnut/list.c.orig 2006-10-04 21:55:45.000000000 +0200 ++++ libnut/list.c 2006-10-04 21:56:05.000000000 +0200 +@@ -9,7 +9,9 @@ + + #include <stdio.h> /* joe@athena, TBL 921019 */ + #include <stdlib.h> +-#include <malloc.h> ++#ifndef __APPLE__ ++# include <malloc.h> ++#endif + + #define outofmem(file, func) \ + { fprintf(stderr, "%s %s: out of memory.\nProgram aborted.\n", file, func); \ diff --git a/www/mMosaic/patches/patch-an b/www/mMosaic/patches/patch-an new file mode 100644 index 00000000000..91ea2c5e4af --- /dev/null +++ b/www/mMosaic/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- src/main.c.orig 2006-10-04 22:02:27.000000000 +0200 ++++ src/main.c 2006-10-04 22:03:07.000000000 +0200 +@@ -313,7 +313,7 @@ + /* old : #if defined(SVR4) || defined(__QNX__) || defined(NETBSD) || defined(FreeBSD) */ + + /* new */ +-#if defined(SVR4) || defined(__QNX__) || defined(NETBSD) || defined(FreeBSD) || defined(linux) ++#if defined(SVR4) || defined(__QNX__) || defined(NETBSD) || defined(FreeBSD) || defined(linux) || defined(__APPLE__) + signal(SIGCHLD, (void (*)(int))ChildTerminated); + #else + signal(SIGCLD, (void (*)())ChildTerminated); diff --git a/www/mMosaic/patches/patch-ao b/www/mMosaic/patches/patch-ao new file mode 100644 index 00000000000..fb509a6af9f --- /dev/null +++ b/www/mMosaic/patches/patch-ao @@ -0,0 +1,13 @@ +$NetBSD: patch-ao,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- src/proxy-dialogs.c.orig 2006-10-04 22:04:00.000000000 +0200 ++++ src/proxy-dialogs.c 2006-10-04 22:04:28.000000000 +0200 +@@ -19,7 +19,7 @@ + + #ifdef __bsdi__ + #include <sys/malloc.h> +-#else ++#elif !defined(__APPLE__) + #include <malloc.h> + #endif + #include <string.h> diff --git a/www/mMosaic/patches/patch-ap b/www/mMosaic/patches/patch-ap new file mode 100644 index 00000000000..4adbad37ee3 --- /dev/null +++ b/www/mMosaic/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.1 2006/10/06 19:15:09 schwarz Exp $ + +--- src/www-con.c.orig 2006-10-04 22:05:07.000000000 +0200 ++++ src/www-con.c 2006-10-04 22:06:46.000000000 +0200 +@@ -30,7 +30,7 @@ + #include <stdlib.h> + #endif + +-#if defined(NETBSD) || defined(FreeBSD) ++#if defined(NETBSD) || defined(FreeBSD) || defined(__APPLE__) + #include <sys/filio.h> + #include <sys/ioctl.h> + #endif |