xnec2c: update to 4.4.12.

This commit is contained in:
Michal Vasilek 2022-10-08 23:58:44 +02:00
parent e2ba355508
commit 4d4181d8a6
2 changed files with 2 additions and 28 deletions

View File

@ -1,26 +0,0 @@
From eec8c7b8cf9cbec7e217e61335c74a76e3686b51 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 20 Aug 2022 23:51:22 +0200
Subject: [PATCH] Fix cross compilation
102e3cef58eb796dd6b3bb099ed0103bcc3d9c75 introduced a check for LMID in
libc to fix compilation on musl, but it used AC_RUN_IFELSE even though
only a compile check is needed. AC_RUN_IFELSE is not available with
cross compilation.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c83af6a..72bafdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([whether dlopen supports LMID])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#define _GNU_SOURCE
#include <link.h>
#include <dlfcn.h>

View File

@ -1,6 +1,6 @@
# Template file for 'xnec2c'
pkgname=xnec2c
version=4.4.11
version=4.4.12
revision=1
wrksrc="${pkgname}-v${version}"
build_style=gnu-configure
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.xnec2c.org/"
distfiles="https://www.xnec2c.org/releases/xnec2c-v${version}.tar.gz"
checksum=33892709b19a271749c36073993282e76b77b3c811e94464953cf9b0c3b2cb8f
checksum=e98af1e8b9098df9cc03f90950358b846cc6a2965e79c0114ab711fbe51272c5
pre_configure() {
NOCONFIGURE=1 ./autogen.sh