diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-10-23 23:04:13 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-10-23 23:07:41 (GMT) |
commit | fbcbd9b81c218da7d4ee747bdc4333fa36d79677 (patch) | |
tree | 44594eeaae5afcaac9a86aaa1f9c463ae0b9b079 /src/itk-1-fixes.patch | |
parent | a21a967ba8e8535b16a4fe57b1e2b7c4a6b3ab44 (diff) | |
download | mxe-fbcbd9b81c218da7d4ee747bdc4333fa36d79677.zip mxe-fbcbd9b81c218da7d4ee747bdc4333fa36d79677.tar.gz mxe-fbcbd9b81c218da7d4ee747bdc4333fa36d79677.tar.bz2 |
itk: unify patch
Diffstat (limited to 'src/itk-1-fixes.patch')
-rw-r--r-- | src/itk-1-fixes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/itk-1-fixes.patch b/src/itk-1-fixes.patch new file mode 100644 index 0000000..8105c78 --- /dev/null +++ b/src/itk-1-fixes.patch @@ -0,0 +1,37 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +Contains ad hoc patches for cross building. + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Rashad Kanavath <rashad.kanavath@c-s.fr> +Date: Wed, 2 Dec 2015 15:00:54 +0100 +Subject: [PATCH] fix shared build + + +diff --git a/Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/socket++/CMakeLists.txt b/Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/socket++/CMakeLists.txt +index 1111111..2222222 100644 +--- a/Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/socket++/CMakeLists.txt ++++ b/Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/socket++/CMakeLists.txt +@@ -6,6 +6,8 @@ set(PACKAGE "socket++") + include(CheckFunctionExists) + CHECK_FUNCTION_EXISTS(strsignal SOCKETXX_HAVE_STRSIGNAL) + ++add_definitions(-Dsocketxx_EXPORTS) ++ + # specific + if(WIN32) + else() +@@ -67,6 +69,8 @@ if(UNIX) + ) + endif() + ++set(GDCM_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS}) ++ + add_library(${SOCKETXX_LIBRARY_NAME} ${libsocket___la_SOURCES}) + set_target_properties (${SOCKETXX_LIBRARY_NAME} + PROPERTIES DEFINE_SYMBOL "socketxx_EXPORTS" ) +@@ -105,4 +109,3 @@ if(NOT SOCKETXX_INSTALL_NO_DEVELOPMENT) + DESTINATION ${SOCKETXX_INSTALL_INCLUDE_DIR} COMPONENT Headers + ) + endif() +- |