From 86bfc2d780aa8dffe519fde092ee100411d0e0ed Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Feb 2024 14:30:00 +0100 Subject: ignore incompatible-pointer-types errors, reported as https://github.com/RubixML/Tensor/issues/42 --- php-pecl-tensor.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-pecl-tensor.spec b/php-pecl-tensor.spec index 5728799..4e689ff 100644 --- a/php-pecl-tensor.spec +++ b/php-pecl-tensor.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-tensor # -# Copyright (c) 2020-2023 Remi Collet +# Copyright (c) 2020-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -21,7 +21,7 @@ Summary: Objects for scientific computing in PHP Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz @@ -93,6 +93,9 @@ EOF %build %{?dtsenable} +# see https://github.com/RubixML/Tensor/issues/42 +export CFLAGS="%{optflags} -Wno-incompatible-pointer-types" + cd %{sources}/ext %{__phpize} @@ -189,6 +192,10 @@ fi %changelog +* Mon Feb 19 2024 Remi Collet - 1.10.1-2 +- ignore incompatible-pointer-types errors, reported as + https://github.com/RubixML/Tensor/issues/42 + * Wed Sep 20 2023 Remi Collet - 3.0.4-1 - update to 3.0.4 - build out of sources tree -- cgit