aboutsummaryrefslogtreecommitdiff
path: root/japanese/ebview-gtk2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ebview-gtk2/Makefile')
-rw-r--r--japanese/ebview-gtk2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index 8c2d3ca4932e..c6a70bd02c3b 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -33,6 +33,8 @@ SUB_FILES= ebview.desktop
post-patch:
@${REINPLACE_CMD} -e \
's|-pthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \
+ ${WRKSRC}/src/ebview.c
post-install:
${MKDIR} ${PREFIX}/share/applications