aboutsummaryrefslogtreecommitdiff
path: root/x11/metisse
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /x11/metisse
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'x11/metisse')
-rw-r--r--x11/metisse/Makefile6
-rw-r--r--x11/metisse/files/patch-fvwm-insitu-libs-PictureImageLoader.c10
2 files changed, 14 insertions, 2 deletions
diff --git a/x11/metisse/Makefile b/x11/metisse/Makefile
index 44c7d07db9ff..6ef2d0310303 100644
--- a/x11/metisse/Makefile
+++ b/x11/metisse/Makefile
@@ -7,6 +7,7 @@
PORTNAME= metisse
PORTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://insitu.lri.fr/metisse/download/metisse/
@@ -17,12 +18,13 @@ LICENSE= GPLv3
CONFLICTS= fvwm-1.* fvwm-2.5.*
-LIB_DEPENDS= Nucleo.0:${PORTSDIR}/x11-toolkits/nucleo
+LIB_DEPENDS= Nucleo.0:${PORTSDIR}/x11-toolkits/nucleo \
+ png15:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${LOCALBASE}/libdata/xorg/fonts:${PORTSDIR}/x11-fonts/xorg-fonts
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-fontdir=${LOCALBASE}/lib/X11/fonts
MAKE_ARGS= METISSE_DOC_DIR="${DOCSDIR}"
diff --git a/x11/metisse/files/patch-fvwm-insitu-libs-PictureImageLoader.c b/x11/metisse/files/patch-fvwm-insitu-libs-PictureImageLoader.c
new file mode 100644
index 000000000000..908412dbccbd
--- /dev/null
+++ b/x11/metisse/files/patch-fvwm-insitu-libs-PictureImageLoader.c
@@ -0,0 +1,10 @@
+--- fvwm-insitu/libs/PictureImageLoader.c.orig 2008-12-09 13:52:20.000000000 +0100
++++ fvwm-insitu/libs/PictureImageLoader.c 2012-05-22 07:28:06.000000000 +0200
+@@ -44,6 +44,7 @@
+ #include "Fgdk-pixbuf.h"
+ #include "FRenderInit.h"
+ #include "FImage.h"
++#include "pngpriv.h"
+
+ /* ---------------------------- local definitions -------------------------- */
+ #define FIMAGE_CMD_ARGS Display *dpy, Window win, char *path, \