httping: fix compilation with full NLS
authorRosen Penev <rosenp@gmail.com>
Thu, 14 Nov 2024 22:23:50 +0000 (14:23 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 22 Nov 2024 04:30:42 +0000 (20:30 -0800)
-lintl is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/httping/Makefile
net/httping/patches/010-nls.patch [new file with mode: 0644]

index 5ef2c2cdd25365086d805cc3be2b3c0c9d63d3f4..423d8d2207b68739f79eb3d5d5f9b075d06045f2 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=httping
 PKG_VERSION:=3.5
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 
diff --git a/net/httping/patches/010-nls.patch b/net/httping/patches/010-nls.patch
new file mode 100644 (file)
index 0000000..f22876d
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -30,7 +30,9 @@ add_executable(
+ set(CMAKE_BUILD_TYPE Debug)
+-target_link_libraries(httping m)
++find_package(Intl)
++
++target_link_libraries(httping m Intl::Intl)
+ include(FindPkgConfig)