Hello community, here is the log from the commit of package cups-filters for openSUSE:Factory checked in at 2019-09-11 10:20:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cups-filters (Old) and /work/SRC/openSUSE:Factory/.cups-filters.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cups-filters" Wed Sep 11 10:20:44 2019 rev:43 rq:728290 version:1.25.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cups-filters/cups-filters.changes 2019-06-13 22:33:13.696383590 +0200 +++ /work/SRC/openSUSE:Factory/.cups-filters.new.7948/cups-filters.changes 2019-09-11 10:20:46.471507925 +0200 @@ -1,0 +2,6 @@ +Tue Sep 3 11:53:40 UTC 2019 - Ismail Dönmez <[email protected]> + +- Add add-cstring-include.patch to include cstring for memcpy + and strcmp + +------------------------------------------------------------------- New: ---- add-cstring-include.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cups-filters.spec ++++++ --- /var/tmp/diff_new_pack.jTYXz0/_old 2019-09-11 10:20:47.255507828 +0200 +++ /var/tmp/diff_new_pack.jTYXz0/_new 2019-09-11 10:20:47.259507827 +0200 @@ -40,6 +40,7 @@ Version: 1.25.0 Release: 0 Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz +Patch1: add-cstring-include.patch # Upstream fix for https://bugs.linuxfoundation.org/show_bug.cgi?id=1421 # in https://github.com/OpenPrinting/cups-filters/commit/6db3b08d3b20332b1525b8dd1a47950381b8f637 # dowloaded via @@ -103,8 +104,8 @@ BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: libtool -BuildRequires: pkgconfig(systemd) BuildRequires: xz +BuildRequires: pkgconfig(systemd) %systemd_requires # test requires BuildRequires: dejavu-fonts @@ -217,6 +218,7 @@ %prep %setup -q +%autopatch -p1 %build # Just do what is described in the upstream INSTALL file ++++++ add-cstring-include.patch ++++++ Index: cups-filters-1.25.0/filter/pdf.cxx =================================================================== --- cups-filters-1.25.0.orig/filter/pdf.cxx +++ cups-filters-1.25.0/filter/pdf.cxx @@ -19,6 +19,7 @@ #include <config.h> #include "pdf.h" #include <vector> +#include <cstring> #include <string> #include <qpdf/QPDF.hh> #include <qpdf/QPDFObjectHandle.hh>
