mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
getdns: rebuild for openssl3
This commit is contained in:
parent
f0b3be72d1
commit
7fa02578be
2 changed files with 24 additions and 3 deletions
21
srcpkgs/getdns/patches/libidn2.patch
Normal file
21
srcpkgs/getdns/patches/libidn2.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
From 9d8eea97a523d828b7d1a04352bbd2202b914519 Mon Sep 17 00:00:00 2001
|
||||
From: Sara Dickinson <sara@sinodun.com>
|
||||
Date: Thu, 21 Jul 2022 14:17:53 +0100
|
||||
Subject: [PATCH] Fix typo in cmake module for libidn2
|
||||
|
||||
diff --git a/cmake/modules/FindLibidn2.cmake b/cmake/modules/FindLibidn2.cmake
|
||||
index c56d5b61..0ddcbc28 100644
|
||||
--- a/cmake/modules/FindLibidn2.cmake
|
||||
+++ b/cmake/modules/FindLibidn2.cmake
|
||||
@@ -52,8 +52,8 @@
|
||||
)
|
||||
endif ()
|
||||
|
||||
- if (NOT LIBIDN2_VERSION AND LIBIDN2_INCLUDE_DIR AND EXISTS "${LIBIDN2_INCLUDE_DIR}/unbound.h")
|
||||
+ if (NOT LIBIDN2_VERSION AND LIBIDN2_INCLUDE_DIR AND EXISTS "${LIBIDN2_INCLUDE_DIR}/idn2.h")
|
||||
- file(STRINGS "${LIBIDN2_INCLUDE_DIR}/idn2.h" LIBIDN2_H REGEX "^#define IDN2_VERSION ")
|
||||
- string(REGEX REPLACE "^.*IDN2_VERSION \"([0-9.]+)\".*$" "\\1" LIBIDN2_VERSION "${LIBIDN2_H}")
|
||||
+ file(STRINGS "${LIBIDN2_INCLUDE_DIR}/idn2.h" LIBIDN2_H REGEX "^[ \t]*#[ \t]*define[ \t]+IDN2_VERSION[ \t]")
|
||||
+ string(REGEX REPLACE "^.*IDN2_VERSION[ \t]+\"([0-9.]+)\".*$" "\\1" LIBIDN2_VERSION "${LIBIDN2_H}")
|
||||
endif ()
|
||||
endif()
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'getdns'
|
||||
pkgname=getdns
|
||||
version=1.7.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
makedepends="libev-devel libidn-devel libuv-devel unbound-devel
|
||||
check-devel libidn2-devel"
|
||||
makedepends="libev-devel libidn2-devel libuv-devel unbound-devel
|
||||
check-devel"
|
||||
short_desc="Modern asynchronous DNS API"
|
||||
maintainer="Frank Steinborn <steinex@nognu.de>"
|
||||
license="BSD-3-Clause"
|
||||
|
|
Loading…
Add table
Reference in a new issue