FreeBSD Bugzilla – Attachment 195565 Details for
Bug 222963
lang/yap, lang/yap-devel: crashes on i386 during build with lang/gcc7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
yap-devel.diff
yap-devel.diff (text/plain), 1.78 KB, created by
Tobias Kortkamp
on 2018-07-28 23:59:47 UTC
(
hide
)
Description:
yap-devel.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-07-28 23:59:47 UTC
Size:
1.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 475617) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= yap > PORTVERSION= 6.3.3 >-PORTREVISION= 9 >+PORTREVISION= 10 > CATEGORIES= lang > MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/ > PKGNAMESUFFIX= -devel >@@ -51,17 +51,8 @@ > DOCSDIR= ${PREFIX}/share/doc/Yap > DATADIR= ${PREFIX}/share/Yap > >-.include <bsd.port.options.mk> >- >-.if ${ARCH} == i386 >-# H/absmi.h:77:23: error: global register variables are not supported >-USES+= compiler:gcc-c++11-lib >-.endif >- >-post-build: >-.if empty(PORT_OPTIONS:MDOCS) >+post-build-DOCS-off: > # prevent the installation of docs files > ${REINPLACE_CMD} -e '758,761d' ${WRKSRC}/Makefile >-.endif > > .include <bsd.port.mk> >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 475617) >+++ files/patch-configure (working copy) >@@ -2,12 +2,14 @@ > > --- configure.orig 2013-01-19 11:48:08 UTC > +++ configure >-@@ -5169,7 +5169,7 @@ then >- C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS" >- CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS" >- case "`$CC --version < /dev/null`" in >-- *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; >-+ gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; >+@@ -5172,10 +5172,6 @@ then >+ *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;; > esac > case "$target_cpu" in >- i*86*) >+- i*86*) >+- CFLAGS="-DBP_FREE $CFLAGS" >+- CXXFLAGS="-DBP_FREE $CXXFLAGS" >+- ;; >+ sparc*) >+ case "$target_os" in >+ *solaris2-9*) CFLAGS="-mno-app-regs -DOPTIMISE_ALL_REGS_FOR_SPARC=1 $CFLAGS"
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 222963
:
195564
|
195565
|
195568