FreeBSD Bugzilla – Attachment 125488 Details for
Bug 169112
[patch] Fix build of devel/valgrind on clang.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.46 KB, created by
Lee Thomas
on 2012-06-16 01:01:55 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Lee Thomas
Created:
2012-06-16 01:01:55 UTC
Size:
1.46 KB
patch
obsolete
>--- devel/valgrind/Makefile 2012-06-15 11:30:06.000000000 -0400 >+++ devel/valgrind/Makefile 2012-06-15 11:28:33.000000000 -0400 >@@ -22,6 +22,8 @@ > OPTIONS_DEFINE= MPI > MPI_DESC= Enable build of MPI wrappers > >+EXTRA_PATCHES+= ${.CURDIR}/files/configure.diff >+ > USE_BZIP2= yes > USE_GMAKE= yes > USE_GNOME= gnomehack pkgconfig >--- /dev/null 2012-06-15 11:36:53.000000000 -0400 >+++ devel/valgrind/files/configure.diff 2012-06-15 11:34:37.000000000 -0400 >@@ -0,0 +1,25 @@ >+--- configure 2012-06-15 11:01:25.000000000 -0400 >++++ configure 2012-06-15 11:26:12.000000000 -0400 >+@@ -5327,7 +5327,10 @@ >+ | $SED 's/^[^(]*([^)]*) *\([0-9.]*\).*$/\1/'` >+ >+ is_clang="notclang" >+-if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then >++if test "x`${CC} --version | head -n 1 | $SED 's/.*\(clang\) version.*/\1/'`" = "xclang" ; then >++ gcc_version=`${CC} --version \ >++ | head -n 1 \ >++ | $SED 's/^.*version \([0-9.]*\).*$/\1/'` >+ is_clang="clang" >+ fi >+ >+@@ -5344,6 +5347,10 @@ >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (clang-${gcc_version})" >&5 >+ $as_echo "ok (clang-${gcc_version})" >&6; } >+ ;; >++ clang-3.*) >++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (clang-${gcc_version})" >&5 >++$as_echo "ok (clang-${gcc_version})" >&6; } >++ ;; >+ *) >+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (${gcc_version})" >&5 >+ $as_echo "no (${gcc_version})" >&6; }
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 169112
: 125488