Date: Thu, 28 Jun 2007 02:00:22 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114078: Update port: print/panda Message-ID: <20070628020022.0d1f8ee6.tkato432@yahoo.com> Resent-Message-ID: <200706271710.l5RHA94V074596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114078 >Category: ports >Synopsis: Update port: print/panda >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 27 17:10:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 6.2-RELEASE-p5 i386 >Organization: >Environment: >Description: - Fix build with gcc4 - Support USE_BDB New file: files/patch-objects.c >How-To-Repeat: >Fix: diff -urN /usr/ports/print/panda/Makefile print/panda/Makefile --- /usr/ports/print/panda/Makefile Tue Aug 15 13:49:53 2006 +++ print/panda/Makefile Wed Jun 27 03:10:49 2007 @@ -17,22 +17,21 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A PDF generation library -LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41 \ - jpeg.9:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff USE_BZIP2= yes -USE_GNOME= gnomehack gnometarget lthack pkgconfig +USE_GNOME= gnomehack gnometarget pkgconfig +USE_BDB= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-berkeley-db -USE_LDCONFIG= yes +INSTALLS_SHLIB= yes -CPPFLAGS= -I${LOCALBASE}/include/db41 -I${LOCALBASE}/include \ - ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} .include <bsd.port.pre.mk> diff -urN /usr/ports/print/panda/files/patch-objects.c print/panda/files/patch-objects.c --- /usr/ports/print/panda/files/patch-objects.c Thu Jan 1 09:00:00 1970 +++ print/panda/files/patch-objects.c Wed Jun 27 23:26:17 2007 @@ -0,0 +1,11 @@ +--- objects.c.orig Tue Apr 13 09:46:24 2004 ++++ objects.c Wed Jun 27 23:25:53 2007 +@@ -99,7 +99,7 @@ + created->children = (panda_child *) panda_xmalloc (sizeof (panda_child)); + + ((panda_child *) created->children)->next = NULL; +- (panda_child *) created->cachedLastChild = NULL; ++ created->cachedLastChild = NULL; + + // By default this object is not a pages object + created->isPages = panda_false; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070628020022.0d1f8ee6.tkato432>