diff options
author | ahze <ahze@FreeBSD.org> | 2005-04-05 10:36:07 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-04-05 10:36:07 +0800 |
commit | 16c74c10ee8650445f600a7e221859a4b2b1fe76 (patch) | |
tree | ef754f94b537c5c16fae354393a2ae3fc8fefeeb /audio/gnome-media | |
parent | 6fa065e708980498ab3a6008b3efc0389dcb8c9e (diff) | |
download | freebsd-ports-gnome-16c74c10ee8650445f600a7e221859a4b2b1fe76.tar.gz freebsd-ports-gnome-16c74c10ee8650445f600a7e221859a4b2b1fe76.tar.zst freebsd-ports-gnome-16c74c10ee8650445f600a7e221859a4b2b1fe76.zip |
- Fix build for some 5.x users who don't have lrint yet
PR: 79547
Reported by: Michael Kuhn
Diffstat (limited to 'audio/gnome-media')
-rw-r--r-- | audio/gnome-media/Makefile | 2 |
1 files changed, 2 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 |