Add autoconf-leap.patch

This commit is contained in:
Jan Engelhardt 2024-09-22 10:09:26 +02:00
parent e10bd5aafc
commit c689eb5bd8
3 changed files with 40 additions and 1 deletions

32
autoconf-leap.patch Normal file
View File

@ -0,0 +1,32 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2024-09-22 10:07:26.477018956 +0200
Reduce the autoconf requirement by reverting modern macro use a bit.
diff --git configure.ac configure.ac
index ab78271..de17dae 100644
--- a/configure.ac
+++ a/configure.ac
@@ -1,11 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.71])
+AC_PREREQ([2.69])
AC_INIT([libacm],[1.3],[markokr@gmail.com])
AC_CONFIG_SRCDIR([src/libacm.h])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_MACRO_DIRS([m4])
+AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -45,7 +45,7 @@ AC_C_CONST
AC_TYPE_SIZE_T
dnl Checks for library functions.
-AC_CHECK_INCLUDES_DEFAULT
+AC_HEADER_STDC
dnl Plugin configuration
PKG_PROG_PKG_CONFIG

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 22 08:09:04 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add autoconf-leap.patch to make Leap 15.x build succeed.
-------------------------------------------------------------------
Fri Sep 13 10:03:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,9 +27,11 @@ Group: Productivity/Multimedia/Video/Editors and Convertors
URL: https://github.com/markokr/libacm
Source: https://github.com/markokr/libacm/archive/%commit.tar.gz
Patch1: shared.patch
Patch2: autoconf-leap.patch
BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libtool >= 2
BuildRequires: pkg-config
BuildRequires: pkgconfig(ao)
BuildRequires: xz