diff options
Diffstat (limited to 'textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1')
-rw-r--r-- | textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1 b/textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1 index de962941c8de..23a47f43c816 100644 --- a/textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1 +++ b/textproc/expat2/files/patch-cve-2012-6702-plus-cve-2016-5300-v1 @@ -39,15 +39,15 @@ index 353627e..524d514 100755 --- CMakeLists.txt +++ CMakeLists.txt @@ -41,6 +41,9 @@ include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib) - if(MSVC)
- add_definitions(-D_CRT_SECURE_NO_WARNINGS -wd4996)
- endif(MSVC)
-+if(WIN32)
-+ add_definitions(-DCOMPILED_FROM_DSP)
-+endif(WIN32)
-
- set(expat_SRCS
- lib/xmlparse.c
+ if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -wd4996) + endif(MSVC) ++if(WIN32) ++ add_definitions(-DCOMPILED_FROM_DSP) ++endif(WIN32) + + set(expat_SRCS + lib/xmlparse.c diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index e308c79..c5f942f 100644 --- lib/xmlparse.c |