[packages/candl] - added opt patch (adjust CFLAGS check for current autoconf); release 3

qboosh qboosh at pld-linux.org
Thu Jun 29 22:35:39 CEST 2023


commit 581ca9f8693a6e64e28836e697ac93cd64930c26
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 29 22:28:52 2023 +0200

    - added opt patch (adjust CFLAGS check for current autoconf); release 3

 candl-opt.patch | 11 +++++++++++
 candl.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/candl.spec b/candl.spec
index 729cc7b..20995ed 100644
--- a/candl.spec
+++ b/candl.spec
@@ -2,7 +2,7 @@ Summary:	Candl - Data Dependence Analysis Tool in the Polyhedral Model
 Summary(pl.UTF-8):	Candl - narzędzie do analizy zależności danych w modelu wielościennym
 Name:		candl
 Version:	0.6.3
-Release:	2
+Release:	3
 License:	LGPL v3+
 Group:		Libraries
 #Source0:	http://web.cse.ohio-state.edu/~pouchet/software/pocc/download/modules/%{name}-0.6.2.tar.gz
@@ -12,6 +12,7 @@ Source0:	https://github.com/periscop/candl/archive/%{version}/%{name}-%{version}
 Patch0:		%{name}-piplib.patch
 Patch1:		%{name}-isl.patch
 Patch2:		%{name}-info.patch
+Patch3:		%{name}-opt.patch
 URL:		http://icps.u-strasbg.fr/people/bastoul/public_html/development/candl/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1:1.9
@@ -66,6 +67,7 @@ Statyczna biblioteka Candl.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
diff --git a/candl-opt.patch b/candl-opt.patch
new file mode 100644
index 0000000..64b79fe
--- /dev/null
+++ b/candl-opt.patch
@@ -0,0 +1,11 @@
+--- candl-0.6.3/m4/ax_cc_maxopt.m4.orig	2022-01-25 14:31:20.000000000 +0100
++++ candl-0.6.3/m4/ax_cc_maxopt.m4	2023-06-29 22:26:57.543834180 +0200
+@@ -65,7 +65,7 @@ AC_ARG_ENABLE(portable-binary, [AC_HELP_
+ 	acx_maxopt_portable=$withval, acx_maxopt_portable=no)
+ 
+ # Try to determine "good" native compiler flags if none specified via CFLAGS
+-if test "$ac_test_CFLAGS" != "set"; then
++if test "x$ac_test_CFLAGS" = "x"; then
+   CFLAGS=""
+   case $ax_cv_c_compiler_vendor in
+     dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/candl.git/commitdiff/581ca9f8693a6e64e28836e697ac93cd64930c26



More information about the pld-cvs-commit mailing list