aboutsummaryrefslogtreecommitdiffstats
path: root/testing/partclone/memtrace.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-06-08 12:31:29 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-06-08 12:31:29 +0000
commitcecdabe0921a4ff6edc158d4fc6056d50a7184fa (patch)
treed5c9e29e2e7ebfd73d508165bd6eecd3b44843c4 /testing/partclone/memtrace.patch
parent90d6040a70df0a7db253bafc379550419d35ff60 (diff)
parentd32eb4447e316d676d56bd6a8899f983ef6db64f (diff)
downloadaports-cecdabe0921a4ff6edc158d4fc6056d50a7184fa.tar.bz2
aports-cecdabe0921a4ff6edc158d4fc6056d50a7184fa.tar.xz
Merge branch 'master' of ssh://git.alpinelinux.org/gitroot/aports
Diffstat (limited to 'testing/partclone/memtrace.patch')
-rw-r--r--testing/partclone/memtrace.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/partclone/memtrace.patch b/testing/partclone/memtrace.patch
new file mode 100644
index 0000000000..9c8ba9af1b
--- /dev/null
+++ b/testing/partclone/memtrace.patch
@@ -0,0 +1,14 @@
+diff --git a/src/main.c b/src/main.c
+index 2fb6b58..8f079f2 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -20,7 +20,9 @@
+ #include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifdef HAVE_MEMTRACE
+ #include <mcheck.h>
++#endif
+ #include <stdint.h>
+ #include <stdarg.h>
+ #include <string.h>