diff --git a/gutenprint-postscriptdriver.patch b/gutenprint-postscriptdriver.patch index 47877e4..d4b5ff7 100644 --- a/gutenprint-postscriptdriver.patch +++ b/gutenprint-postscriptdriver.patch @@ -71,7 +71,7 @@ diff -up gutenprint-5.3.3/src/main/path.c.postscriptdriver gutenprint-5.3.3/src/ + stp_list_item_t *item; + int prefixlen = strlen (prefix); + if (!(new_list = stp_list_create())) -+ return; ++ return NULL; + + item = stp_list_get_start (list); + while (item) diff --git a/gutenprint.spec b/gutenprint.spec index 57df648..7ecb4c8 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -4,7 +4,7 @@ Name: gutenprint Summary: Printer Drivers Package Version: 5.3.3 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://gimp-print.sourceforge.net/ Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz # Post-install script to update CUPS native PPDs. @@ -243,6 +243,10 @@ exit 0 %{_mandir}/man8/cups-genppd*8*.gz %changelog +* Wed Mar 25 2020 Tom Stellard - 5.3.3-3 +- Fix warning building with clang +- non-void function 'stp_paths_copy_with_prefix' should return a value [-Wreturn-type] + * Wed Jan 29 2020 Fedora Release Engineering - 5.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild