From 94c30553d6239eaf5c94f3864be11c244369c0eb Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Dec 19 2015 09:23:46 +0000 Subject: Add -std=c99 for building the testsuite binary --- diff --git a/pngquant.spec b/pngquant.spec index 4ce6a15..7208978 100644 --- a/pngquant.spec +++ b/pngquant.spec @@ -10,7 +10,7 @@ Name: pngquant Version: 2.5.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PNG quantization tool for reducing image file size License: BSD with advertising @@ -72,7 +72,8 @@ make %{?_smp_mflags} PREFIX=%{_prefix} # build testsuite pushd test -gcc $CFLAGS $LDFLAGS -L../lib -limagequant \ +gcc -std=c99 $CFLAGS $LDFLAGS \ + -L../lib -limagequant \ -o test test.c popd @@ -138,6 +139,9 @@ popd %changelog +* Sat Dec 19 2015 Björn Esser - 2.5.2-4 +- Add '-std=c99' for building the testsuite binary + * Sat Dec 19 2015 Björn Esser - 2.5.2-3 - Add Patch1: make the configure-script work with %%configure - Build and run the testsuite