aboutsummaryrefslogtreecommitdiffstats
path: root/x11/metisse
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
commit530706893f31269bbfa303e069f2e76cbbe2fce7 (patch)
treea8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /x11/metisse
parent9d262811a145d3e715edefd1d5d64ceac41de547 (diff)
downloadfreebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip
- update png to 1.5.10
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, \