[packages/seed] - added ac patch (AC_PROG_CPP required before AC_TRY_LINK, otherwise check for <mpfr.h> fails)

qboosh qboosh at pld-linux.org
Tue Jan 31 19:53:53 CET 2023


commit d5c7dbcb2f018196530e812fe1c77882c5599c23
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 31 19:55:16 2023 +0100

    - added ac patch (AC_PROG_CPP required before AC_TRY_LINK, otherwise check for <mpfr.h> fails)

 seed-ac.patch | 11 +++++++++++
 seed.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
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}
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/seed.git/commitdiff/d5c7dbcb2f018196530e812fe1c77882c5599c23



More information about the pld-cvs-commit mailing list