From d5c7dbcb2f018196530e812fe1c77882c5599c23 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 31 Jan 2023 19:55:16 +0100 Subject: [PATCH 1/1] - added ac patch (AC_PROG_CPP required before AC_TRY_LINK, otherwise check for fails) --- seed-ac.patch | 11 +++++++++++ seed.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 seed-ac.patch diff --git a/seed-ac.patch b/seed-ac.patch new file mode 100644 index 0000000..45d0ab1 --- /dev/null +++ b/seed-ac.patch @@ -0,0 +1,11 @@ +Ensure AC_PROG_CPP before AC_TRY_CPP +--- seed-3.8.1/configure.ac.orig 2013-04-16 09:59:57.000000000 +0200 ++++ seed-3.8.1/configure.ac 2023-01-31 19:49:18.278394102 +0100 +@@ -8,6 +8,7 @@ AC_CONFIG_HEADERS([config.h]) + AC_CANONICAL_HOST + + AC_PROG_CC ++AC_PROG_CPP + AM_PROG_CC_C_O + AC_PROG_LIBTOOL + PKG_PROG_PKG_CONFIG diff --git a/seed.spec b/seed.spec index d2bcc8f..4bf85ce 100644 --- a/seed.spec +++ b/seed.spec @@ -14,6 +14,7 @@ Source0: https://download.gnome.org/sources/seed/3.8/%{name}-%{version}.tar.xz Patch0: format-security.patch Patch1: gtkdoc.patch Patch2: %{name}-array-filename.patch +Patch3: %{name}-ac.patch URL: https://wiki.gnome.org/Seed BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.7 @@ -97,6 +98,7 @@ Dokumentacja API biblioteki seed. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %{__gtkdocize} -- 2.44.0