summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-05 02:36:07 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-05 02:36:07 +0000
commit625689e7ca7de099a73bbdeddb1c918a7a2fea85 (patch)
treea2ab01425561bdceedc13af09e6a00fa7f43efb9 /audio
parentCurrent maintainer is no longer able to look after this port. We appreciate (diff)
- Fix build for some 5.x users who don't have lrint yet
PR: 79547 Reported by: Michael Kuhn
Notes
Notes: svn path=/head/; revision=132516
Diffstat (limited to 'audio')
-rw-r--r--audio/gnome-media/Makefile2
-rw-r--r--audio/gnomemedia2/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile
index a5219831189b..adb8b3e19da5 100644
--- a/audio/gnome-media/Makefile
+++ b/audio/gnome-media/Makefile
@@ -42,6 +42,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0|' ${WRKSRC}/configure
.else
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0c|' ${WRKSRC}/configure
+.endif
+.if ${OSVERSION} < 504000
@${REINPLACE_CMD} -e 's|lrint|rint|' \
${WRKSRC}/gnome-cd/gst-cdparanoia-cdrom.c \
${WRKSRC}/gst-mixer/src/volume.c
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile
index a5219831189b..adb8b3e19da5 100644
--- a/audio/gnomemedia2/Makefile
+++ b/audio/gnomemedia2/Makefile
@@ -42,6 +42,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0|' ${WRKSRC}/configure
.else
@${REINPLACE_CMD} -e 's|%%CDROM%%|acd0c|' ${WRKSRC}/configure
+.endif
+.if ${OSVERSION} < 504000
@${REINPLACE_CMD} -e 's|lrint|rint|' \
${WRKSRC}/gnome-cd/gst-cdparanoia-cdrom.c \
${WRKSRC}/gst-mixer/src/volume.c