[154228] trunk/dports/devel/valgrind

raimue at macports.org raimue at macports.org
Mon Oct 24 22:41:34 CEST 2016


Revision: 154228
          https://trac.macports.org/changeset/154228
Author:   raimue at macports.org
Date:     2016-10-24 22:41:34 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
valgrind{,-devel}: update to version 3.12/3.13

Update valgrind to version 3.12.0.
Update valgrind-devel to revision 16104, VEX 3283.

Revision Links:
--------------
    https://trac.macports.org/changeset/16104

Modified Paths:
--------------
    trunk/dports/devel/valgrind/Portfile

Added Paths:
-----------
    trunk/dports/devel/valgrind/files/patch-bzero.diff

Removed Paths:
-------------
    trunk/dports/devel/valgrind/files/patch-configure.ac.diff

Modified: trunk/dports/devel/valgrind/Portfile
===================================================================
--- trunk/dports/devel/valgrind/Portfile	2016-10-24 20:27:36 UTC (rev 154227)
+++ trunk/dports/devel/valgrind/Portfile	2016-10-24 20:41:34 UTC (rev 154228)
@@ -69,13 +69,13 @@
 }
 
 if {$subport eq $name} {
-    version             3.11.0
+    version             3.12.0
     revision            0
     conflicts           valgrind-devel
 
-    checksums           md5     4ea62074da73ae82e0162d6550d3f129 \
-                        sha1    340757e91d9e83591158fe8bb985c6b11bc53de5 \
-                        sha256  6c396271a8c1ddd5a6fb9abe714ea1e8a86fce85b30ab26b4266aeb4c2413b42
+    checksums           md5     6eb03c0c10ea917013a7622e483d61bb \
+                        sha256  67ca4395b2527247780f36148b084f5743a68ab0c850cb43e4a5b4b012cf76a1 \
+                        rmd160  25d413bc0594bdf4d26ff19d031151a4dfe87920
 
     use_bzip2           yes
 
@@ -83,13 +83,13 @@
     extract.post_args-append --exclude=${distname}/docs/html/FAQ.html
 
     pre-fetch {
-        if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 15)} {
-            ui_error "${subport} @${version} is only compatible with macOS versions from 10.5 up to 10.11."
+        if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 16)} {
+            ui_error "${subport} @${version} is only compatible with macOS versions from 10.5 up to 10.12."
             return -code error "incompatible macOS version"
         }
     }
 
-    patchfiles-append   patch-configure.ac.diff
+    patchfiles-append   patch-bzero.diff
 
     livecheck.type      regex
     livecheck.url       ${homepage}
@@ -97,9 +97,9 @@
 }
 
 subport valgrind-devel {
-    svn.revision        16033
-    set vex_revision    3260
-    version             3.12.0-r${svn.revision}
+    svn.revision        16104
+    set vex_revision    3283
+    version             3.13.0-r${svn.revision}
     revision            0
     conflicts           valgrind
 

Added: trunk/dports/devel/valgrind/files/patch-bzero.diff
===================================================================
--- trunk/dports/devel/valgrind/files/patch-bzero.diff	                        (rev 0)
+++ trunk/dports/devel/valgrind/files/patch-bzero.diff	2016-10-24 20:41:34 UTC (rev 154228)
@@ -0,0 +1,36 @@
+Index: coregrind/m_main.c
+===================================================================
+--- coregrind/m_main.c	(revision 16102)
++++ coregrind/m_main.c	(revision 16103)
+@@ -3489,6 +3489,10 @@
+     // skip check
+   return VG_(memset)(s,c,n);
+ }
++void __bzero(void* s, UWord n);
++void __bzero(void* s, UWord n) {
++    (void)VG_(memset)(s,0,n);
++}
+ void bzero(void *s, SizeT n);
+ void bzero(void *s, SizeT n) {
+     VG_(memset)(s,0,n);
+@@ -4058,20 +4062,7 @@
+ 
+ #endif
+ 
+-#if defined(VGO_darwin) && DARWIN_VERS == DARWIN_10_10
+ 
+-/* This might also be needed for > DARWIN_10_10, but I have no way
+-   to test for that.  Hence '==' rather than '>=' in the version
+-   test above. */
+-void __bzero ( void* s, UWord n );
+-void __bzero ( void* s, UWord n )
+-{
+-   (void) VG_(memset)( s, 0, n );
+-}
+-
+-#endif
+-
+-
+ /*--------------------------------------------------------------------*/
+ /*--- end                                                          ---*/
+ /*--------------------------------------------------------------------*/

Deleted: trunk/dports/devel/valgrind/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/devel/valgrind/files/patch-configure.ac.diff	2016-10-24 20:27:36 UTC (rev 154227)
+++ trunk/dports/devel/valgrind/files/patch-configure.ac.diff	2016-10-24 20:41:34 UTC (rev 154228)
@@ -1,22 +0,0 @@
-https://bugs.kde.org/show_bug.cgi?id=366138
-
---- configure.ac.orig	2016-07-26 09:30:11.000000000 -0700
-+++ configure.ac	2016-07-26 09:30:27.000000000 -0700
-@@ -154,7 +154,7 @@ AM_CONDITIONAL(COMPILER_IS_ICC, test $is
- # 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-5.1|applellvm-[[6-9]].*|applellvm-[[1-9]][[0-9]].*)
- 	AC_MSG_RESULT([ok (Apple LLVM version ${gcc_version})])
- 	;;
-      icc-1[[3-9]].*)
-@@ -167,7 +167,7 @@ case "${is_clang}-${gcc_version}" in
- 	AC_MSG_RESULT([ok (clang-${gcc_version})])
- 	;;
-      *)
--	AC_MSG_RESULT([no (${gcc_version})])
-+	AC_MSG_RESULT([no (${is_clang}-${gcc_version})])
- 	AC_MSG_ERROR([please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0])
- 	;;
- esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161024/5c4a2abd/attachment-0002.html>


More information about the macports-changes mailing list