1423287 - c2esp: FTBFS in rawhide
This commit is contained in:
parent
07f26d594f
commit
b2d01d63ed
23
c2esp-ftbfs-gcc7.patch
Normal file
23
c2esp-ftbfs-gcc7.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -up c2esp-27/src/c2espC.c.ftbfs-gcc7 c2esp-27/src/c2espC.c
|
||||
diff -up c2esp-27/src/c2espcommon.c.ftbfs-gcc7 c2esp-27/src/c2espcommon.c
|
||||
--- c2esp-27/src/c2espcommon.c.ftbfs-gcc7 2017-03-03 14:10:28.018395128 +0100
|
||||
+++ c2esp-27/src/c2espcommon.c 2017-03-03 14:19:26.967383931 +0100
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <fcntl.h> //files
|
||||
#include <sys/stat.h> //for chmod
|
||||
#include <time.h> //time functions used for debugging
|
||||
+#include <stdlib.h>
|
||||
|
||||
#if HAVE_CUPSFILTERS_DRIVER_H == 1
|
||||
#include <cupsfilters/driver.h> //has the dither functions
|
||||
diff -up c2esp-27/src/c2espcommon.h.ftbfs-gcc7 c2esp-27/src/c2espcommon.h
|
||||
--- c2esp-27/src/c2espcommon.h.ftbfs-gcc7 2017-03-03 14:25:54.186413550 +0100
|
||||
+++ c2esp-27/src/c2espcommon.h 2017-03-03 14:26:53.105961575 +0100
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
|
||||
#include <fcntl.h> //files
|
||||
#include <time.h> //time functions used for debugging
|
||||
+#include <stdio.h> //library for stderr, stdout, stdin - because of gcc7, it needed to be included
|
||||
|
||||
/*
|
||||
* Constants...
|
@ -2,13 +2,15 @@
|
||||
|
||||
Name: c2esp
|
||||
Version: 2.7
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: CUPS driver for Kodak AiO printers
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://sourceforge.net/projects/cupsdriverkodak/
|
||||
Source0: http://downloads.sourceforge.net/cupsdriverkodak/c2esp-%{version_no_dot}.tar.gz
|
||||
|
||||
Patch01: c2esp-ftbfs-gcc7.patch
|
||||
|
||||
# _cups_serverbin macro
|
||||
BuildRequires: cups-devel
|
||||
|
||||
@ -29,6 +31,7 @@ CUPS filters and drivers for Kodak ESP and Hero all in one printers.
|
||||
|
||||
%prep
|
||||
%setup -q -n c2esp-%{version_no_dot}
|
||||
%patch01 -p1 -b .ftbfs-gcc7
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -47,6 +50,9 @@ make -C src/ install DESTDIR=%{buildroot}
|
||||
%{_datadir}/cups/drv/c2esp
|
||||
|
||||
%changelog
|
||||
* Fri Mar 03 2017 Zdenek Dohnal <zdohnal@redhat.com> - 2.7-10
|
||||
- 1423287 - c2esp: FTBFS in rawhide
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user