[MacPorts] #53525: valgrind: doesn't build with an old clang

MacPorts noreply at macports.org
Wed Aug 30 14:43:48 UTC 2017


#53525: valgrind: doesn't build with an old clang
-----------------------+----------------------------
  Reporter:  mojca     |      Owner:  raimue
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  lion legacy-os
      Port:  valgrind  |
-----------------------+----------------------------

Comment (by mojca):

 What about making this change?
 {{{
 #!diff
 --- configure.orig
 +++ configure
 @@ -5465,7 +5465,7 @@ fi
  # Note: m4 arguments are quoted with [ and ] so square brackets in shell
  # statements have to be quoted.
  case "${is_clang}-${gcc_version}" in
 -     applellvm-5.1|applellvm-6.*|applellvm-7.*|applellvm-8.*)
 +
 applellvm-4.2|applellvm-5.1|applellvm-6.*|applellvm-7.*|applellvm-8.*)
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (Apple LLVM
 version ${gcc_version})" >&5
  $as_echo "ok (Apple LLVM version ${gcc_version})" >&6; }
         ;;
 }}}

 I don't know why they only added 5.1 and I don't know whether other
 compiler versions work, otherwise we could just as well add 4.* and 5.*.
 No clue what's with applellvm-9.*.

--
Ticket URL: <https://trac.macports.org/ticket/53525#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list