summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-handlers.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-11 13:09:10 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-11 13:09:10 +0000
commit4974cb1b9c607c8c941e3aaf33e65e07d6afa431 (patch)
tree05ffedbe9972851024bba11aba6a92ccc08f78e1 /sysutils/scanmem/files/patch-handlers.c
parentgraphics/wayland-info: add new port (diff)
Resurrect `sysutils/scanmem' and update to version 0.17.
Diffstat (limited to 'sysutils/scanmem/files/patch-handlers.c')
-rw-r--r--sysutils/scanmem/files/patch-handlers.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/scanmem/files/patch-handlers.c b/sysutils/scanmem/files/patch-handlers.c
new file mode 100644
index 000000000000..7a0b6e899ece
--- /dev/null
+++ b/sysutils/scanmem/files/patch-handlers.c
@@ -0,0 +1,12 @@
+--- handlers.c.orig 2017-10-13 21:53:16 UTC
++++ handlers.c
+@@ -38,7 +38,9 @@
+ #include <signal.h>
+ #include <assert.h>
+ #include <setjmp.h>
++#ifdef HAVE_ALLOCA_H
+ #include <alloca.h>
++#endif
+ #include <strings.h>
+ #include <string.h>
+ #include <stdbool.h>