aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-10-05 20:39:05 +0800
committerdanfe <danfe@FreeBSD.org>2004-10-05 20:39:05 +0800
commit359847b8aa5fd68bcc042d1005d4764f705791b0 (patch)
tree79c8dceea61ff0f23bc2e1e5e2fe99581dbb29bc
parent0c0101fcfea8334b0d9067389b0296acc936fbb1 (diff)
downloadfreebsd-ports-gnome-359847b8aa5fd68bcc042d1005d4764f705791b0.tar.gz
freebsd-ports-gnome-359847b8aa5fd68bcc042d1005d4764f705791b0.tar.zst
freebsd-ports-gnome-359847b8aa5fd68bcc042d1005d4764f705791b0.zip
Unbreak the build with recent GCC.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus) fjoe (mentor, implicit) maintainer (timeout after 14 days)
-rw-r--r--graphics/cinepaint/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/cinepaint/Makefile b/graphics/cinepaint/Makefile
index 14fa8075f5ab..359f7186bf63 100644
--- a/graphics/cinepaint/Makefile
+++ b/graphics/cinepaint/Makefile
@@ -40,12 +40,6 @@ PLIST_SUB+= OPENEXR:=""
PLIST_SUB+= OPENEXR:="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's| -Wall||' \
@@ -55,4 +49,8 @@ post-patch:
's|-LINUX.+$$||' \
${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+ @${REINPLACE_CMD} -e \
+ 's|static GDrawableType|static GImageType|' \
+ ${WRKSRC}/plug-ins/psd/psd.c
+
+.include <bsd.port.mk>