summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2021-05-17 18:45:48 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2021-05-17 18:45:48 +0200
commite88cb800c1d2f1d106238cfdcf0a8db5519cc5d5 (patch)
tree8c6f15949ac5d74a6b8a7de0d9cede924ff7b5c5 /debian/patches
parentcbca5053aa041134ac8b859aa3b3ea84f5c07328 (diff)
parent02179e607b61eccf0fd6580c67f467f6d669005c (diff)
Merge branch 'release/debian/0.9.5+dfsg-1'debian/0.9.5+dfsg-1
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-missing_pthread.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/0001-missing_pthread.patch b/debian/patches/0001-missing_pthread.patch
index a7aa3cc..0d6db5a 100644
--- a/debian/patches/0001-missing_pthread.patch
+++ b/debian/patches/0001-missing_pthread.patch
@@ -7,8 +7,8 @@ Index: trunk/CMakeLists.txt
===================================================================
--- trunk.orig/CMakeLists.txt
+++ trunk/CMakeLists.txt
-@@ -217,7 +217,8 @@ if(URIPARSER_BUILD_TOOLS)
- tool/uriparse.c
+@@ -229,7 +229,8 @@ if(URIPARSER_BUILD_TOOLS)
+ ${CMAKE_CURRENT_SOURCE_DIR}/tool/uriparse.c
)
- target_link_libraries(uriparse PUBLIC uriparser)
@@ -17,15 +17,15 @@ Index: trunk/CMakeLists.txt
if(HAIKU)
# Function inet_ntop needs -lsocket or -lnetwork (see pull request #45)
-@@ -258,6 +259,7 @@ if(URIPARSER_BUILD_TESTS)
+@@ -270,6 +271,7 @@ if(URIPARSER_BUILD_TESTS)
enable_testing()
find_package(GTest 1.8.0 REQUIRED)
+ find_package(Threads REQUIRED)
add_executable(testrunner
- test/FourSuite.cpp
-@@ -287,7 +289,7 @@ if(URIPARSER_BUILD_TESTS)
+ ${CMAKE_CURRENT_SOURCE_DIR}/test/FourSuite.cpp
+@@ -299,7 +301,7 @@ if(URIPARSER_BUILD_TESTS)
)
target_link_libraries(testrunner PUBLIC
@@ -33,4 +33,4 @@ Index: trunk/CMakeLists.txt
+ ${GTEST_BOTH_LIBRARIES} pthread
)
- add_test(
+ # NOTE: uriparser does not use pthreads itself but gtest does