aboutsummaryrefslogtreecommitdiff
path: root/graphics/cinepaint
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-05 12:39:05 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-05 12:39:05 +0000
commit7977d7405a52dc301462b06893ced2d18464d793 (patch)
tree840266e362bfb04d0a16347bcab738967d389dfd /graphics/cinepaint
parent58a0ad28e7d48a367fd7b068295f9f9778a85dc0 (diff)
downloadports-7977d7405a52dc301462b06893ced2d18464d793.tar.gz
ports-7977d7405a52dc301462b06893ced2d18464d793.zip
Unbreak the build with recent GCC.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus) fjoe (mentor, implicit) maintainer (timeout after 14 days)
Notes
Notes: svn path=/head/; revision=118546
Diffstat (limited to 'graphics/cinepaint')
-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>