main/sipp: remove libtinfo workaround

This commit is contained in:
Sertonix 2024-09-11 14:23:46 +02:00 committed by Natanael Copa
parent 52b6445bf6
commit c0b5cc6a82
2 changed files with 2 additions and 18 deletions

View File

@ -3,7 +3,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipp
pkgver=3.7.2
pkgrel=0
pkgrel=1
pkgdesc="Test tool / traffic generator for the SIP protocol"
url="https://github.com/SIPp/sipp"
arch="all"
@ -17,9 +17,7 @@ makedepends="
openssl-dev>3
samurai
"
source="https://github.com/SIPp/sipp/releases/download/v$pkgver/sipp-$pkgver.tar.gz
libtinfo.patch
"
source="https://github.com/SIPp/sipp/releases/download/v$pkgver/sipp-$pkgver.tar.gz"
options="!check" # tests have no direct target
build() {
@ -40,5 +38,4 @@ package() {
sha512sums="
5ccd73efe0dd9b9e2788a61c0a423726e3bb7002d1266931838bc18307c975f7cd15b795c1aedb900a7f97a929df4b085b0875914db6e96984bc3bd3952d390b sipp-3.7.2.tar.gz
92b62f605b92a81ed56ba3f992d126ee70b06f3b08d5c30a3a6614f0844d6ebf1d9e0094ac93dd8c80271414ff414b3efb22117ab2c8eb5ff76fc49327a1dea0 libtinfo.patch
"

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ef0cf9..1ac7131 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -180,7 +180,7 @@ endif()
if(CURSES_LIBRARY)
target_link_libraries(sipp dl ${CURSES_LIBRARY} pthread)
target_link_libraries(sipp_unittest dl ${CURSES_LIBRARY} pthread)
- if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ if(false)
if(TINFO_LIBRARY)
target_link_libraries(sipp ${TINFO_LIBRARY})
target_link_libraries(sipp_unittest ${TINFO_LIBRARY})