diff --git a/argyllcms.changes b/argyllcms.changes index 2967c9d..9cdc062 100644 --- a/argyllcms.changes +++ b/argyllcms.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 24 15:00:24 UTC 2015 - rguenther@suse.com + +- Use -std=gnu89 for building to not run into broken __declspec + uses with the GCC 5 default of -std=gnu99. + ------------------------------------------------------------------- Mon Feb 23 13:55:20 UTC 2015 - meissner@suse.com diff --git a/argyllcms.spec b/argyllcms.spec index 75f445e..ca0e42a 100644 --- a/argyllcms.spec +++ b/argyllcms.spec @@ -1,7 +1,7 @@ # # spec file for package argyllcms # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,11 +118,11 @@ rm -fr usb/{*.inf,*.rtf,*.inf,*.cat,*.vcproj,*.sys,*.dsw,*.sln,*.dsp,*template*, %build cd ajam-2.5.2-1.3.3 -make CFLAGS="${RPM_OPT_FLAGS}" +make CFLAGS="-std=gnu89 ${RPM_OPT_FLAGS}" ln -s $PWD/bin.unix/jam ../jam cd .. -echo "CCFLAGS += ${RPM_OPT_FLAGS} -fno-strict-aliasing ;" >> Jamtop +echo "CCFLAGS += -std=gnu89 ${RPM_OPT_FLAGS} -fno-strict-aliasing ;" >> Jamtop # Evil hack to get --as-needed working. The build system unfortunately lists all # the shared libraries by default on the command line _before_ the object to be built... echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop