Debian Codegraph @

debian/patches/6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch

raw symbols SCIP
1 Fromscip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#From.: Rudi Heitbaum <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#Date.: Fri, 28 Mar 2025 09:31:40 +0000
3 Originscip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#Origin.: https://github.com/lloyd/yajl/pull/256/commits/6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9
4 Bugscip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#Bug.: https://github.com/lloyd/yajl/issues/254
5 Bug-Debianscip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#Bug-Debian.: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113652
6 Descriptionscip-debian debian yajl 2.1.0-5.1 yajl/patches/`6fe59ca50dfd65bdb3d1c87a27245b2dd1a072f9.patch`#Description.: [PATCH] Allow build with CMake 4.0.0
7 .
8 fixes deprecated cmake option and uses cmake 2.8.0 TARGET_FILE
9 update cmake supported minimum versions to 2.8.0...3.10
10 .
11 ref:
12 - https://cmake.org/cmake/help/latest/policy/CMP0026.html
13 .
14 CMake Error at .../CMakeLists.txt: (GET_TARGET_PROPERTY):
15 The LOCATION property may not be read from target "json_...". Use the
16 target name directly with add_custom_command, or use the generator
17 expression $<TARGET_FILE>, as appropriate.
18 .
19 Signed-off-by: Rudi Heitbaum <[email protected]>
20 ---
21 CMakeLists.txt | 2 +-
22 reformatter/CMakeLists.txt | 4 +---
23 verify/CMakeLists.txt | 4 +---
24 3 files changed, 3 insertions(+), 7 deletions(-)
25
26 Index: yajl-2.1.0/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0/CMakeLists.txt`:
27 ===================================================================
28 --- yajl-2.1.0.orig/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0.orig/CMakeLists.txt`:
29 +++ yajl-2.1.0/CMakeLists.txt
30 @@ -12,7 +12,7 @@
31 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
32 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
33
34 -CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
35 +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0...3.10)
36
37 PROJECT(YetAnotherJSONParser C)
38
39 Index: yajl-2.1.0/reformatter/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0/reformatter/CMakeLists.txt`:
40 ===================================================================
41 --- yajl-2.1.0.orig/reformatter/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0.orig/reformatter/CMakeLists.txt`:
42 +++ yajl-2.1.0/reformatter/CMakeLists.txt
43 @@ -35,9 +35,7 @@ IF (NOT WIN32)
44 ENDIF (NOT WIN32)
45
46 # copy the binary into the output directory
47 -GET_TARGET_PROPERTY(binPath json_reformat LOCATION)
48 -
49 ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD
50 - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir})
51 + COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:json_reformat> ${binDir})
52
53 INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin)
54 Index: yajl-2.1.0/verify/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0/verify/CMakeLists.txt`:
55 ===================================================================
56 --- yajl-2.1.0.orig/verify/CMakeLists.txtscip-debian debian yajl 2.1.0-5.1 yajl/upstream/`yajl-2.1.0.orig/verify/CMakeLists.txt`:
57 +++ yajl-2.1.0/verify/CMakeLists.txt
58 @@ -29,9 +29,7 @@ ADD_EXECUTABLE(json_verify ${SRCS})
59 TARGET_LINK_LIBRARIES(json_verify yajl)
60
61 # copy in the binary
62 -GET_TARGET_PROPERTY(binPath json_verify LOCATION)
63 -
64 ADD_CUSTOM_COMMAND(TARGET json_verify POST_BUILD
65 - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir})
66 + COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:json_verify> ${binDir})
67
68 INSTALL(TARGETS json_verify RUNTIME DESTINATION bin)