Fix warning building with clang
non-void function 'stp_paths_copy_with_prefix' should return a value [-Wreturn-type]
This commit is contained in:
parent
0329a7fc9d
commit
66add6573d
@ -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;
|
+ stp_list_item_t *item;
|
||||||
+ int prefixlen = strlen (prefix);
|
+ int prefixlen = strlen (prefix);
|
||||||
+ if (!(new_list = stp_list_create()))
|
+ if (!(new_list = stp_list_create()))
|
||||||
+ return;
|
+ return NULL;
|
||||||
+
|
+
|
||||||
+ item = stp_list_get_start (list);
|
+ item = stp_list_get_start (list);
|
||||||
+ while (item)
|
+ while (item)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Name: gutenprint
|
Name: gutenprint
|
||||||
Summary: Printer Drivers Package
|
Summary: Printer Drivers Package
|
||||||
Version: 5.3.3
|
Version: 5.3.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://gimp-print.sourceforge.net/
|
URL: http://gimp-print.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz
|
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.xz
|
||||||
# Post-install script to update CUPS native PPDs.
|
# Post-install script to update CUPS native PPDs.
|
||||||
@ -243,6 +243,10 @@ exit 0
|
|||||||
%{_mandir}/man8/cups-genppd*8*.gz
|
%{_mandir}/man8/cups-genppd*8*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 25 2020 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 5.3.3-2
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user