diff options
| author | Mahdi Mokhtari <mmokhi@FreeBSD.org> | 2017-08-24 15:04:51 +0000 |
|---|---|---|
| committer | Mahdi Mokhtari <mmokhi@FreeBSD.org> | 2017-08-24 15:04:51 +0000 |
| commit | 3941ebc75621ac20d322a526da3207d5bb7a788f (patch) | |
| tree | 0b803b769abb5e8f94d17901e54eeeb235998d20 /devel/breakpad/files/patch-src_common_memory.h | |
| parent | Update to 1.11.4 to match www/py-django111 (diff) | |
devel/breakpad: Add port to the tree
Breakpad is a set of client and server components which implement
a crash-reporting system.
This is YET ANOTHER STEP to build Electron.io for FreeBSD.
PR: 221320
Reported by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Reviewed by: cpm, lifanov, mat (mentor), mmokhi, ultima
Approved by: cpm, lifanov, mat (mentor), mmokhi, ultima
Differential Revision: https://reviews.freebsd.org/D11773
Diffstat (limited to 'devel/breakpad/files/patch-src_common_memory.h')
| -rw-r--r-- | devel/breakpad/files/patch-src_common_memory.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/breakpad/files/patch-src_common_memory.h b/devel/breakpad/files/patch-src_common_memory.h new file mode 100644 index 000000000000..24b4959a9ddc --- /dev/null +++ b/devel/breakpad/files/patch-src_common_memory.h @@ -0,0 +1,11 @@ +--- src/common/memory.h.orig 2017-07-12 17:53:15 UTC ++++ src/common/memory.h +@@ -42,7 +42,7 @@ + #include <sanitizer/msan_interface.h> + #endif + +-#ifdef __APPLE__ ++#if __APPLE__ || __FreeBSD__ + #define sys_mmap mmap + #define sys_munmap munmap + #define MAP_ANONYMOUS MAP_ANON |
