mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix gst-register when compiled with -O and -march=athlon-xp. Also bumping
PORTREVISION as this really didn't stop gstreamer-plugins from installing. PR: 72993 Reported by: mezz roman@cognition.uni-freiburg.de Submitted by: Michael Johnson <ahze@ahze.net> Tested by: mezz Approved by: maintainer (blanket)
This commit is contained in:
parent
3706defea4
commit
6fe1e82dd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120377
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gstreamer
|
||||
PORTVERSION= 0.8.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia audio
|
||||
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins/ \
|
||||
${MASTER_SITE_GNOME}
|
||||
@ -95,6 +96,10 @@ post-extract:
|
||||
@${CP} ${FILESDIR}/bsdi_dvd.h ${WRKSRC}/sys/vcd/
|
||||
|
||||
post-patch:
|
||||
# Fix gst-register when using -O -march=athlon-xp
|
||||
@${REINPLACE_CMD} -e 's|@CXXF|-fgcse @CXXF|g' \
|
||||
${WRKSRC}/gst/modplug/Makefile.in \
|
||||
${WRKSRC}/gst/modplug/libmodplug/Makefile.in
|
||||
# as of this writing, FreeBSD does not support lrint* C99 math functions
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^#define.*LRINT.*$$||' \
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gstreamer
|
||||
PORTVERSION= 0.8.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia audio
|
||||
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins/ \
|
||||
${MASTER_SITE_GNOME}
|
||||
@ -95,6 +96,10 @@ post-extract:
|
||||
@${CP} ${FILESDIR}/bsdi_dvd.h ${WRKSRC}/sys/vcd/
|
||||
|
||||
post-patch:
|
||||
# Fix gst-register when using -O -march=athlon-xp
|
||||
@${REINPLACE_CMD} -e 's|@CXXF|-fgcse @CXXF|g' \
|
||||
${WRKSRC}/gst/modplug/Makefile.in \
|
||||
${WRKSRC}/gst/modplug/libmodplug/Makefile.in
|
||||
# as of this writing, FreeBSD does not support lrint* C99 math functions
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^#define.*LRINT.*$$||' \
|
||||
|
Loading…
Reference in New Issue
Block a user