pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/jasper Fix building on Darwin/Mac OS X



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb249f2efec1
branches:  trunk
changeset: 523430:cb249f2efec1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 07 19:00:59 2007 +0000

description:
Fix building on Darwin/Mac OS X

diffstat:

 graphics/jasper/Makefile         |   9 +++------
 graphics/jasper/distinfo         |   3 ++-
 graphics/jasper/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 19 insertions(+), 7 deletions(-)

diffs (62 lines):

diff -r 64f7e45f0aa9 -r cb249f2efec1 graphics/jasper/Makefile
--- a/graphics/jasper/Makefile  Sun Jan 07 17:36:26 2007 +0000
+++ b/graphics/jasper/Makefile  Sun Jan 07 19:00:59 2007 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/01/06 23:28:07 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.23 2007/01/07 19:00:59 adam Exp $
 
 DISTNAME=      jasper-1.900.0
 CATEGORIES=    graphics
@@ -12,9 +11,9 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
-GNU_CONFIGURE=         YES
 USE_LANGUAGES+=                c99
-USE_LIBTOOL=           YES
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-shared --without-x --disable-opengl
 
 post-install:
@@ -23,7 +22,5 @@
        ${INSTALL_DATA} ${WRKSRC}/doc/${doc}.pdf ${PREFIX}/share/doc/jasper
 .endfor
 
-.include "../../mk/bsd.prefs.mk"
-
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 64f7e45f0aa9 -r cb249f2efec1 graphics/jasper/distinfo
--- a/graphics/jasper/distinfo  Sun Jan 07 17:36:26 2007 +0000
+++ b/graphics/jasper/distinfo  Sun Jan 07 19:00:59 2007 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.8 2007/01/06 23:28:07 wiz Exp $
+$NetBSD: distinfo,v 1.9 2007/01/07 19:00:59 adam Exp $
 
 SHA1 (jasper-1.900.0.zip) = 1959a9e5d35d15b8be8789c993e743cb657207ef
 RMD160 (jasper-1.900.0.zip) = ac02698b747954c1e64b8b217fd1bde72c2c7178
 Size (jasper-1.900.0.zip) = 1401734 bytes
+SHA1 (patch-aa) = be18bd14b9eb7b9b3c69816ee39f047ae87a056a
 SHA1 (patch-ad) = 85637e42cdb1245babd5736c2d039558025738a6
 SHA1 (patch-ae) = bfe00f76582a44ad748706c3fc81c4d6b8aede35
 SHA1 (patch-ag) = 63da6dcbdca3f8e4508be8f934ec047abf5cb1f1
diff -r 64f7e45f0aa9 -r cb249f2efec1 graphics/jasper/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jasper/patches/patch-aa  Sun Jan 07 19:00:59 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2007/01/07 19:00:59 adam Exp $
+
+--- src/libjasper/jpc/jpc_qmfb.h.orig  2007-01-07 19:51:43.000000000 +0100
++++ src/libjasper/jpc/jpc_qmfb.h
+@@ -107,7 +107,7 @@ typedef struct {
+       double *hpenergywts;
+ } jpc_qmfb2d_t;
+ 
+-jpc_qmfb2d_t jpc_ft_qmfb2d;
+-jpc_qmfb2d_t jpc_ns_qmfb2d;
++extern jpc_qmfb2d_t jpc_ft_qmfb2d;
++extern jpc_qmfb2d_t jpc_ns_qmfb2d;
+ 
+ #endif



Home | Main Index | Thread Index | Old Index