pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/amaya added fixes for Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31f29fbf7d84
branches:  trunk
changeset: 519681:31f29fbf7d84
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sat Oct 07 19:16:57 2006 +0000

description:
added fixes for Darwin

diffstat:

 www/amaya/Makefile         |  10 +++++++++-
 www/amaya/PLIST            |   6 +++---
 www/amaya/distinfo         |   5 ++++-
 www/amaya/patches/patch-af |  14 ++++++++++++++
 www/amaya/patches/patch-ag |  14 ++++++++++++++
 www/amaya/patches/patch-ai |  13 +++++++++++++
 6 files changed, 57 insertions(+), 5 deletions(-)

diffs (121 lines):

diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/Makefile
--- a/www/amaya/Makefile        Sat Oct 07 18:36:04 2006 +0000
+++ b/www/amaya/Makefile        Sat Oct 07 19:16:57 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/04/20 22:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2006/10/07 19:16:57 schwarz Exp $
 
 DISTNAME=      amaya-fullsrc-9.2.1
 PKGNAME=       ${DISTNAME:S/-fullsrc//}
@@ -29,6 +29,13 @@
 FONTS_DIRS.ttf+=       ${PREFIX}/share/Amaya/fonts
 REQD_DIRS+=            ${PREFIX}/share/Amaya ${PREFIX}/share/Amaya/fonts
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+PLIST_SUBST+=  LINUX=
+.else
+PLIST_SUBST+=  LINUX="@comment "
+.endif
+
 post-extract:
        ${MKDIR} ${WRKSRC}
 
@@ -39,6 +46,7 @@
 .include "../../graphics/imlib/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../x11/gtk/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/x11.buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/PLIST
--- a/www/amaya/PLIST   Sat Oct 07 18:36:04 2006 +0000
+++ b/www/amaya/PLIST   Sat Oct 07 19:16:57 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2006/02/21 22:43:38 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2006/10/07 19:16:57 schwarz Exp $
 bin/amaya
 bin/amaya-gtk
 share/Amaya/amaya/Amaya.svg
@@ -1419,8 +1419,8 @@
 share/Amaya/resources/xrc/TitleDlgWX.xrc
 share/Amaya/resources/xrc/Toolbar.xrc
 share/Amaya/resources/xrc/WinPrintDlgWX.xrc
-share/applications/amaya-8.8.1.desktop
-share/pixmaps/amaya-8.8.1.png
+${LINUX}share/applications/amaya-8.8.1.desktop
+${LINUX}share/pixmaps/amaya-8.8.1.png
 @dirrm share/Amaya/resources/xrc
 @dirrm share/Amaya/resources/icons/misc
 @dirrm share/Amaya/resources/icons/22x22
diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/distinfo
--- a/www/amaya/distinfo        Sat Oct 07 18:36:04 2006 +0000
+++ b/www/amaya/distinfo        Sat Oct 07 19:16:57 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2006/04/20 22:54:53 wiz Exp $
+$NetBSD: distinfo,v 1.18 2006/10/07 19:16:57 schwarz Exp $
 
 SHA1 (amaya-fullsrc-9.2.1.tgz) = 1736bc9a7ad997b128fa435bc99594f9f4b60b05
 RMD160 (amaya-fullsrc-9.2.1.tgz) = 74b8ce30c6c85c05b0ab94b6f950f214cbe0f512
@@ -8,4 +8,7 @@
 SHA1 (patch-ac) = 5d9df3fc894f06c981b26d82f216ff223a821954
 SHA1 (patch-ad) = 405499e719944030e131c0815e4472efeed5df64
 SHA1 (patch-ae) = e479ca874e3c2f33545e692997743f85956d9aa6
+SHA1 (patch-af) = f8a60d26788fddd66d65331105e6bfd5fe2873b6
+SHA1 (patch-ag) = fc437e97392f91d26309da3b977add6485b9656c
 SHA1 (patch-ah) = a0ea86df77bc1afa1db9e4f012f25d5c84c2b093
+SHA1 (patch-ai) = cea93adfb159c1a3ddd603d0052cb7a8e46d0365
diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/amaya/patches/patch-af        Sat Oct 07 19:16:57 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.7 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../thotlib/view/tesse.c.orig       2006-10-06 21:36:50.000000000 +0200
++++ ../thotlib/view/tesse.c    2006-10-06 21:37:08.000000000 +0200
+@@ -11,7 +11,9 @@
+  */
+ 
+ #include <stdio.h>
++#ifndef _MACOS
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ 
+ #ifdef _WINGUI
diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/amaya/patches/patch-ag        Sat Oct 07 19:16:57 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.6 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../tools/cextract-1.7/xtract.h.orig        2006-10-07 20:26:18.000000000 +0200
++++ ../tools/cextract-1.7/xtract.h     2006-10-07 20:29:52.000000000 +0200
+@@ -15,7 +15,8 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <time.h>
+-#ifdef _POSIX_SOURCE
++#if defined(_POSIX_SOURCE) || defined(__APPLE__)
++/* Darwin defines malloc() in stdlib.h. */
+ #include <stdlib.h>
+ #endif /* _POSIX_SOURCE_ */
+ #if __STDC__ 
diff -r 4163d6d798bc -r 31f29fbf7d84 www/amaya/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/amaya/patches/patch-ai        Sat Oct 07 19:16:57 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2006/10/07 19:16:57 schwarz Exp $
+
+--- ../amaya/Makefile.in.orig  2006-10-07 20:38:11.000000000 +0200
++++ ../amaya/Makefile.in       2006-10-07 20:38:40.000000000 +0200
+@@ -615,7 +615,7 @@
+       fi)
+ 
+ # MACOSX bundelization
+-      @(if test $(AMAYAOS) = "MACOSX" ; then \
++      @(if test $(AMAYAOS) = "XXXXXX" ; then \
+                       $(RM) -r $(prefix)/Amaya.app ; \
+                       $(MKDIR) $(prefix)/Amaya.app ; \
+                       $(MKDIR) $(prefix)/Amaya.app/Contents ; \



Home | Main Index | Thread Index | Old Index