OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 set -x |
| 3 set -e |
| 4 |
| 5 # Check out latest version that following patches known to apply against |
| 6 rm -rf valgrind-20090715 |
| 7 svn co -r '{2009-07-15}' svn://svn.valgrind.org/valgrind/trunk valgrind-20090715 |
| 8 |
| 9 cd valgrind-20090715 |
| 10 |
| 11 # Just in case, make sure svn gets the right version of the external VEX repo, t
oo |
| 12 cd VEX |
| 13 svn update -r '{2009-07-15}' |
| 14 cd .. |
| 15 |
| 16 # Work around bug https://bugs.kde.org/show_bug.cgi?id=162848 |
| 17 # fork() not handled properly |
| 18 wget "https://bugs.kde.org/attachment.cgi?id=35150" |
| 19 patch -p0 < "attachment.cgi?id=35150" |
| 20 |
| 21 # Work around bug https://bugs.kde.org/show_bug.cgi?id=186796 |
| 22 # long suppressions truncated |
| 23 wget "https://bugs.kde.org/attachment.cgi?id=35174" |
| 24 patch -p0 < "attachment.cgi?id=35174" |
| 25 |
| 26 sh autogen.sh |
| 27 ./configure --prefix=/usr/local/valgrind-20090715 |
| 28 make |
| 29 sudo make install |
| 30 cd /usr |
| 31 test -f bin/valgrind && sudo mv bin/valgrind bin/valgrind.orig |
| 32 sudo ln -sf /usr/local/valgrind-20090715/bin/valgrind bin |
| 33 test -d include/valgrind && sudo mv include/valgrind include/valgrind.orig |
| 34 sudo ln -sf /usr/local/valgrind-20090715/include/valgrind include |
OLD | NEW |