FreeBSD Bugzilla – Attachment 145727 Details for
Bug 192583
multimedia/vdr crashes when not compiled with GCC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
clang/i386 stack alignment patch for testing
vdr-stackalign.patch (text/plain), 1.71 KB, created by
Juergen Lock
on 2014-08-12 18:05:58 UTC
(
hide
)
Description:
clang/i386 stack alignment patch for testing
Filename:
MIME Type:
Creator:
Juergen Lock
Created:
2014-08-12 18:05:58 UTC
Size:
1.71 KB
patch
obsolete
>Index: multimedia/vdr/Makefile >=================================================================== >--- multimedia/vdr/Makefile (revision 364721) >+++ multimedia/vdr/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= vdr > PORTVERSION= 1.7.29 >-PORTREVISION= 6 >+PORTREVISION= 7 > CATEGORIES= multimedia > MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ > >@@ -23,7 +23,8 @@ DVBPATCH_DESC= DVB audio patch for some countries > STB0899_SIGNAL_DESC= STB0899 signal strength patch > OPTIONS_DEFAULT= IPTVPATCH TTXPATCH > >-USES= pkgconfig gettext iconv:wchar_t gmake shebangfix tar:bzip2 >+USES= compiler:features pkgconfig gettext iconv:wchar_t gmake \ >+ shebangfix tar:bzip2 > SHEBANG_FILES= svdrpsend > DIST_SUBDIR= vdr > PORTDOCS= COPYING INSTALL MANUAL README HISTORY >@@ -52,11 +53,11 @@ GROUPS= ${VDR_GROUP} > PLIST_SUB= VDR_USER=${VDR_USER} > PLIST_SUB+= VDR_GROUP=${VDR_GROUP} > >-.include <bsd.port.options.mk> >+.include <bsd.port.pre.mk> > >-.if ${ARCH} == "i386" >-USE_GCC= any >-.endif >+#.if ${ARCH} == "i386" >+#USE_GCC= any >+#.endif > > EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch > .if ${PORT_OPTIONS:MIPTVPATCH} >@@ -102,6 +103,12 @@ post-patch: > @${REINPLACE_CMD} -e 's|%%CONFDIR%%|${CONFDIR}|' ${WRKSRC}/vdr.1 > # We don't support this yet: > @${RM} -r ${WRKSRC}/PLUGINS/src/dvbhddevice >+.if ${COMPILER_TYPE} == clang && ${ARCH} == "i386" >+ ${REINPLACE_CMD} \ >+ -e '/^CFLAGS *\=/s/$$/ -mstack-alignment=16 -mstackrealign/' \ >+ -e '/^CXXFLAGS *\=/s/$$/ -mstack-alignment=16 -mstackrealign/' \ >+ ${WRKSRC}/Make.config >+.endif > > post-install: > .if ${PORT_OPTIONS:MNLS} >@@ -119,4 +126,4 @@ post-install: > (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.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 192583
: 145727