pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/mMosaic added support for Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/416390d47530
branches: trunk
changeset: 519609:416390d47530
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Fri Oct 06 19:15:09 2006 +0000
description:
added support for Darwin
diffstat:
www/mMosaic/Makefile | 4 +++-
www/mMosaic/distinfo | 10 +++++++++-
www/mMosaic/patches/patch-ah | 13 +++++++++++++
www/mMosaic/patches/patch-aj | 15 +++++++++++++++
www/mMosaic/patches/patch-ak | 15 +++++++++++++++
www/mMosaic/patches/patch-al | 15 +++++++++++++++
www/mMosaic/patches/patch-am | 15 +++++++++++++++
www/mMosaic/patches/patch-an | 13 +++++++++++++
www/mMosaic/patches/patch-ao | 13 +++++++++++++
www/mMosaic/patches/patch-ap | 13 +++++++++++++
10 files changed, 124 insertions(+), 2 deletions(-)
diffs (184 lines):
diff -r 127779e8ca6c -r 416390d47530 www/mMosaic/Makefile
--- a/www/mMosaic/Makefile Fri Oct 06 19:05:43 2006 +0000
+++ b/www/mMosaic/Makefile Fri Oct 06 19:15:09 2006 +0000
@@ -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 @@
.elif ${OPSYS:MIRIX*} != ""
MAKEFLAGS+= sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2'
+.elif ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+= rename:-shared:-c
.endif
.include "../../mk/bsd.pkg.mk"
diff -r 127779e8ca6c -r 416390d47530 www/mMosaic/distinfo
--- a/www/mMosaic/distinfo Fri Oct 06 19:05:43 2006 +0000
+++ b/www/mMosaic/distinfo Fri Oct 06 19:15:09 2006 +0000
@@ -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-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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-ah Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-aj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-aj Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-ak Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-al
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-al Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-am Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-an
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-an Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-ao Fri Oct 06 19:15:09 2006 +0000
@@ -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 -r 127779e8ca6c -r 416390d47530 www/mMosaic/patches/patch-ap
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mMosaic/patches/patch-ap Fri Oct 06 19:15:09 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index