diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/panda/Makefile | 11 | ||||
-rw-r--r-- | print/panda/files/patch-objects.c | 11 |
2 files changed, 16 insertions, 6 deletions
diff --git a/print/panda/Makefile b/print/panda/Makefile index 69a48f3abc7a..12f9ab1e2368 100644 --- a/print/panda/Makefile +++ b/print/panda/Makefile @@ -17,22 +17,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME} 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 -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 --git a/print/panda/files/patch-objects.c b/print/panda/files/patch-objects.c new file mode 100644 index 000000000000..6100ef2bea84 --- /dev/null +++ b/print/panda/files/patch-objects.c @@ -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; |