diff options
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r-- | graphics/xpaint/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index b597e2d5520..8d4e060edbb 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -33,6 +33,8 @@ post-patch: 's|@PREFIX@|${PREFIX}|g ; \ s|@XPMDIR@|${LOCALBASE}|g ; \ s|@LOCALBASE@|${LOCALBASE}|g' ${WRKSRC}/Local.config + @${REINPLACE_CMD} -e '/if (!image)/s/return;/return -1;/' \ + ${WRKSRC}/rw/readWriteTGA.c pre-configure: @cd ${WRKSRC} && ${SH} ./configure xaw3dxft.a |