Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
de5fc3a1
Commit
de5fc3a1
authored
7 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
SuperBuild: make curl-build great again!
parent
65ba4faf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SuperBuild/patches/CURL/curl-1-cmake-all.diff
+39
-39
39 additions, 39 deletions
SuperBuild/patches/CURL/curl-1-cmake-all.diff
with
39 additions
and
39 deletions
SuperBuild/patches/CURL/curl-1-cmake-all.diff
+
39
−
39
View file @
de5fc3a1
...
...
@@ -5,63 +5,63 @@ diff -burN curl-7.40.0/CMake/CurlTests.c curl-7.40.0.orig/CMake/CurlTests.c
rc = gethostbyname_r(address, &h, &hdata);
#elif defined(HAVE_GETHOSTBYNAME_R_5) || \
defined(HAVE_GETHOSTBYNAME_R_5_REENTRANT)
- rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop);
+ rc = gethostbyname_r(address, &h, buffer, 8192,
0,
&h_errnop);
- rc = gethostbyname_r(address, &h, buffer, 8192,
0,
&h_errnop);
+ rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop);
(void)hp; /* not used for test */
#elif defined(HAVE_GETHOSTBYNAME_R_6) || \
defined(HAVE_GETHOSTBYNAME_R_6_REENTRANT)
diff -burN curl-7.40.0/CMake/OtherTests.cmake curl-7.40.0
.orig
/CMake/OtherTests.cmake
--- curl-7.40.0/CMake/OtherTests.cmake 201
7-07
-2
6
1
5:23:53.377674268
+0
2
00
+++ curl-7.40.0
.orig
/CMake/OtherTests.cmake 2017-07-2
6
1
5:22:05.268949035
+0200
@@ -10,
7
+10,
6
@@
diff -burN curl-7.40.0
.orig
/CMake/OtherTests.cmake curl-7.40.0/CMake/OtherTests.cmake
--- curl-7.40.0
.orig
/CMake/OtherTests.cmake 201
4-11
-2
0
1
8:42:16.000000000
+0
1
00
+++ curl-7.40.0/CMake/OtherTests.cmake 2017-07-2
1
1
6:37:37.414343678
+0200
@@ -10,
6
+10,
7
@@
set(signature_call_conv)
if(HAVE_WINDOWS_H)
-
set(_source_epilogue "${_source_epilogue}\n#define _WINSOCKAPI_")
+
set(_source_epilogue "${_source_epilogue}\n#define _WINSOCKAPI_")
add_header_include(HAVE_WINDOWS_H "windows.h")
add_header_include(HAVE_WINSOCK2_H "winsock2.h")
add_header_include(HAVE_WINSOCK_H "winsock.h")
@@ -16
4,9
+16
3,7
@@
@@ -16
3,7
+16
4,9
@@
return 0;
}" HAVE_MSG_NOSIGNAL)
-if(HAVE_WINDOWS_H)
-add_header_include(HAVE_WINSOCK2_H "winsock2.h"
)
-else(
)
+
if(NOT HAVE_WINDOWS_H
)
-if(
NOT
HAVE_WINDOWS_H)
+if(HAVE_WINDOWS_H
)
+add_header_include(HAVE_WINSOCK2_H "winsock2.h"
)
+
else(
)
add_header_include(HAVE_SYS_TIME_H "sys/time.h")
add_header_include(TIME_WITH_SYS_TIME "time.h")
add_header_include(HAVE_TIME_H "time.h")
diff -burN curl-7.40.0/src/CMakeLists.txt curl-7.40.0
.orig
/src/CMakeLists.txt
--- curl-7.40.0/src/CMakeLists.txt 201
7-07
-2
6
1
5:23:53.377674268
+0
2
00
+++ curl-7.40.0
.orig
/src/CMakeLists.txt 2017-07-2
6
1
5:22:05.276949090
+0200
@@ -25,
2
1 +25,1
4
@@
diff -burN curl-7.40.0
.orig
/src/CMakeLists.txt curl-7.40.0/src/CMakeLists.txt
--- curl-7.40.0
.orig
/src/CMakeLists.txt 201
4-11
-2
0
1
8:42:17.000000000
+0
1
00
+++ curl-7.40.0/src/CMakeLists.txt 2017-07-2
1
1
6:37:41.082367733
+0200
@@ -25,1
4
+25,
2
1 @@
"${CMAKE_CURRENT_SOURCE_DIR}/tool_hugehelp.h"
VERBATIM)
else()
-
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/tool_hugehelp.c
-
"/*built-in manual is disabled, blank function */\n"
-
)
-
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/
tool_hugehelp.c
-
"#include \"tool_hugehelp.h\"\n
void hugehelp(void) {}
\n"
-
)
-
-
# add_custom_command(
- # OUTPUT
tool_hugehelp.c
- # COMMAND echo
"/*
built-in manual is disabled, blank function */
" > tool_hugehelp.c
- # COMMAND echo "#include \"tool_hugehelp.h\"" >> tool_hugehelp.c
- # COMMAND echo "void hugehelp(void) {}" >>
tool_hugehelp.c
- # DEPENDS
- # "${CMAKE_CURRENT_SOURCE_DIR}/tool_hugehelp.h"
- # VERBATIM)
+ add_custom_command(
+ OUTPUT tool_hugehelp.c
+ COMMAND echo "/* built-in manual is disabled, blank function */" > tool_hugehelp.c
+ COMMAND echo "#include \"tool_hugehelp.h\"" >> tool_hugehelp.c
+ COMMAND echo "void hugehelp(void) {}" >> tool_hugehelp.c
+ DEPENDS
+ "${CMAKE_CURRENT_SOURCE_DIR}/tool_hugehelp.h"
+ VERBATIM)
-
add_custom_command(
-
OUTPUT tool_hugehelp.c
-
COMMAND echo "/* built-in manual is disabled, blank function */" > tool_hugehelp.c
-
COMMAND echo "#include \"tool_hugehelp.h\"" >>
tool_hugehelp.c
-
COMMAND echo "
void hugehelp(void) {}
" >> tool_hugehelp.c
-
DEPENDS
-
"${CMAKE_CURRENT_SOURCE_DIR}/tool_hugehelp.h"
-
VERBATIM)
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/
tool_hugehelp.c
+
"/*built-in manual is disabled, blank function */
\n"
+)
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/
tool_hugehelp.c
+"#include \"tool_hugehelp.h\"\nvoid hugehelp(void) {}\n"
+)
+
+
#
add_custom_command(
+
#
OUTPUT tool_hugehelp.c
+
#
COMMAND echo "/* built-in manual is disabled, blank function */" > tool_hugehelp.c
+
#
COMMAND echo "#include \"tool_hugehelp.h\"" >> tool_hugehelp.c
+
#
COMMAND echo "void hugehelp(void) {}" >> tool_hugehelp.c
+
#
DEPENDS
+
#
"${CMAKE_CURRENT_SOURCE_DIR}/tool_hugehelp.h"
+
#
VERBATIM)
endif()
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment