summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-03-09 15:25:08 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-03-09 15:25:08 +0000
commite1f9d3b92c64b89230a43f8ff3ef5b8998dcf547 (patch)
tree96cf4948f3196968b09a9948a75c9c22d89e9715
parent- Unbreak and Undeprecate by fixing fetch. (diff)
Fix build with glib 2.34.
Submitted by: miwi
Notes
Notes: svn path=/head/; revision=313721
-rw-r--r--devel/gpsim/Makefile6
-rw-r--r--multimedia/subtitleeditor/Makefile1
-rw-r--r--x11-themes/rezlooks/Makefile4
3 files changed, 11 insertions, 0 deletions
diff --git a/devel/gpsim/Makefile b/devel/gpsim/Makefile
index 83cec53db25e..31465ad986a6 100644
--- a/devel/gpsim/Makefile
+++ b/devel/gpsim/Makefile
@@ -26,6 +26,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/src/os_dependent.cc
+ @${REINPLACE_CMD} -e 's|glibconfig.h|glib.h|g' \
+ ${WRKSRC}/src/bitlog.h
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/multimedia/subtitleeditor/Makefile b/multimedia/subtitleeditor/Makefile
index 1e512d09fa4b..d29627eb55b7 100644
--- a/multimedia/subtitleeditor/Makefile
+++ b/multimedia/subtitleeditor/Makefile
@@ -39,5 +39,6 @@ BROKEN= does not compile
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|strtoll|strtoq|g' ${WRKSRC}/plugins/subtitleformats/advancedsubstationalpha/advancedsubstationalpha.cc
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/plugins/actions/findandreplace/findandreplace.cc
.include <bsd.port.post.mk>
diff --git a/x11-themes/rezlooks/Makefile b/x11-themes/rezlooks/Makefile
index 7e7b4c8f162c..e1a21cd0ed4e 100644
--- a/x11-themes/rezlooks/Makefile
+++ b/x11-themes/rezlooks/Makefile
@@ -26,4 +26,8 @@ OPTIONS+= ANIMATION "Animation support" On
CONFIGURE_ARGS+= --enable-animation
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/src/animation.c
+
.include <bsd.port.mk>