missed cvs add, reported by nigel@
This commit is contained in:
parent
5135e17304
commit
0fb9509272
15
mail/rspamd/patches/patch-contrib_lua-lpeg_CMakeLists_txt
Normal file
15
mail/rspamd/patches/patch-contrib_lua-lpeg_CMakeLists_txt
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-contrib_lua-lpeg_CMakeLists_txt,v 1.1 2018/06/17 10:41:04 sthen Exp $
|
||||
|
||||
Index: contrib/lua-lpeg/CMakeLists.txt
|
||||
--- contrib/lua-lpeg/CMakeLists.txt.orig
|
||||
+++ contrib/lua-lpeg/CMakeLists.txt
|
||||
@@ -5,9 +5,6 @@ SET(LPEGSRC lpcap.c
|
||||
lpvm.c)
|
||||
|
||||
IF(ENABLE_FULL_DEBUG MATCHES "OFF")
|
||||
-if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
||||
- SET(LPEG_CFLAGS "${LPEG_CFLAGS} -O3")
|
||||
-endif ()
|
||||
ENDIF()
|
||||
|
||||
SET(LIB_TYPE STATIC)
|
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-contrib_lua-torch_torch7_lib_TH_THGeneral_c,v 1.1 2018/06/17 10:41:05 sthen Exp $
|
||||
|
||||
Index: contrib/lua-torch/torch7/lib/TH/THGeneral.c
|
||||
--- contrib/lua-torch/torch7/lib/TH/THGeneral.c.orig
|
||||
+++ contrib/lua-torch/torch7/lib/TH/THGeneral.c
|
||||
@@ -15,7 +15,7 @@
|
||||
#if defined(__FreeBSD__)
|
||||
#include <malloc_np.h>
|
||||
#else
|
||||
- #include <malloc.h>
|
||||
+ #include <stdlib.h>
|
||||
#endif
|
||||
#elif defined(__APPLE__)
|
||||
#include <malloc/malloc.h>
|
Loading…
Reference in New Issue
Block a user