FreeBSD Bugzilla – Attachment 141370 Details for
Bug 188145
audio/calf: Fix build on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
audio_calf.diff
audio_calf.diff (text/x-diff), 2.14 KB, created by
tkato432
on 2014-04-03 19:58:51 UTC
(
hide
)
Description:
audio_calf.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-04-03 19:58:51 UTC
Size:
2.14 KB
patch
obsolete
>diff -urN /usr/ports/audio/calf/Makefile audio/calf/Makefile >--- /usr/ports/audio/calf/Makefile 2014-04-04 03:45:16.000000000 +0900 >+++ audio/calf/Makefile 2014-04-04 03:00:00.000000000 +0900 >@@ -18,12 +18,7 @@ > libfftw3f.so:${PORTSDIR}/math/fftw3-float \ > libexpat.so:${PORTSDIR}/textproc/expat2 > >-OPTIONS_DEFINE= LASH LV2 >-OPTIONS_DEFAULT=LASH LV2 >-OPTIONS_SUB= yes >-LV2_DESC= LV2 audio plugin >- >-USES= gmake pkgconfig compiler:env >+USES= gmake pkgconfig > USE_GNOME= gtk20 > GNU_CONFIGURE= yes > INSTALLS_ICONS= yes >@@ -31,29 +26,36 @@ > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >+OPTIONS_DEFINE= LASH LV2 >+OPTIONS_DEFAULT= LASH LV2 >+OPTIONS_SUB= yes >+ > LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash > LASH_CONFIGURE_WITH= lash >+LV2_DESC= LV2 audio plugin > LV2_BUILD_DEPENDS= lv2core>0:${PORTSDIR}/audio/lv2core > LV2_RUN_DEPENDS= lv2core>0:${PORTSDIR}/audio/lv2core > LV2_CONFIGURE_WITH= lv2 > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > post-patch: > @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e \ > 's|<malloc.h>|<stdlib.h>|' >- @${REINPLACE_CMD} -e '/CXXFLAGS/s|-O3||' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e '/calf.so/s|$$(pkglibdir)|../../calf|' \ >+ @${REINPLACE_CMD} -e \ >+ '/CXXFLAGS/s|-O3|| ; \ >+ /CXXFLAGS/s|-finline-functions-called-once||' \ >+ ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e \ >+ '/AM_CXXFLAGS/s|-finline-limit=80|| ; \ >+ /calf.so/s|$$(pkglibdir)|../../calf|' \ > ${WRKSRC}/src/Makefile.in >- @${REINPLACE_CMD} -e 's|src\.size();|src->size();|' \ >+ @${REINPLACE_CMD} -e \ >+ 's|src\.size();|src->size();|' \ > ${WRKSRC}/src/calf/buffer.h >- @${REINPLACE_CMD} -e 's|data\[(1<<IntBits)+1\]|data[]|' \ >+ @${REINPLACE_CMD} -e \ >+ 's|data\[(1<<IntBits)+1\]|data[]|' \ > ${WRKSRC}/src/calf/fixed_point.h >-.if ${COMPILER_TYPE} == "clang" >- @${REINPLACE_CMD} -e 's|-finline-functions -finline-functions-called-once||' \ >- ${WRKSRC}/configure >- @${REINPLACE_CMD} -e 's|-finline-limit=80||' ${WRKSRC}/src/Makefile.in >-.endif > > pre-build: > .if ${PORT_OPTIONS:MLV2} >@@ -72,4 +74,4 @@ > -p ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2) > .endif > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 188145
:
141369
| 141370