[arch-commits] Commit in imagescan/trunk (PKGBUILD imagescan-gcc10.patch)

Antonio Rojas arojas at archlinux.org
Thu Jun 25 07:00:34 UTC 2020


    Date: Thursday, June 25, 2020 @ 07:00:34
  Author: arojas
Revision: 652690

Update to 3.63.0

Added:
  imagescan/trunk/imagescan-gcc10.patch
Modified:
  imagescan/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   14 +++++++++-----
 imagescan-gcc10.patch |   20 ++++++++++++++++++++
 2 files changed, 29 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-25 06:09:32 UTC (rev 652689)
+++ PKGBUILD	2020-06-25 07:00:34 UTC (rev 652690)
@@ -2,22 +2,26 @@
 # Contributor: Leonardo Santana Vieira <leosanvieira at gmail dot com>
 
 pkgname=imagescan
-pkgver=3.62.0
+pkgver=3.63.0
 _utsushiver=${pkgver/3./0.}
-pkgrel=2
+pkgrel=1
 pkgdesc="EPSON Image Scan v3 front-end for scanners and all-in-ones"
 arch=(x86_64)
 url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
 license=(GPL3)
 depends=(sane gtkmm graphicsmagick boost-libs)
-makedepends=(boost)
+makedepends=(boost systemd)
 optdepends=('tesseract: OCR support')
-source=(https://support.epson.net/linux/src/scanner/imagescanv3/common/imagescan_$pkgver.orig.tar.gz)
-sha256sums=('683204986061c8833a30482b1ec7cd183aac079f464bd7d0a591ca0f97067e32')
+source=(https://support.epson.net/linux/src/scanner/imagescanv3/common/imagescan_$pkgver.orig.tar.gz
+        imagescan-gcc10.patch)
+sha256sums=('439fb18054293b6e743b168739d85f2ceba66498d68590cfa68dbbc7ad971a94'
+            'de64458187846d40e0c5dd06fa0c32962a22863803929d7ae61419153a5272bf')
 backup=('etc/utsushi/utsushi.conf')
 
 prepare() {
   cd utsushi-$_utsushiver
+
+  patch -p1 -i ../imagescan-gcc10.patch # Fix build with GCC 10
   sed -e 's|-Werror||g' -i configure.ac
   rm -r upstream/boost # Remove vendored libraries
   autoreconf -vif

Added: imagescan-gcc10.patch
===================================================================
--- imagescan-gcc10.patch	                        (rev 0)
+++ imagescan-gcc10.patch	2020-06-25 07:00:34 UTC (rev 652690)
@@ -0,0 +1,20 @@
+--- a/utsushi/string.hpp	2020-05-08 23:20:11.642359134 +0200
++++ b/utsushi/string.hpp	2020-05-08 23:20:21.834246187 +0200
+@@ -23,6 +23,7 @@
+ 
+ #include <iosfwd>
+ #include <string>
++#include <iostream>
+ 
+ #include <boost/operators.hpp>
+ 
+--- a/utsushi/toggle.hpp	2019-11-18 03:08:06.000000000 +0100
++++ b/utsushi/toggle.hpp	2020-05-08 23:23:40.284045167 +0200
+@@ -22,6 +22,7 @@
+ #define utsushi_toggle_hpp_
+ 
+ #include <iosfwd>
++#include <iostream>
+ #include <boost/operators.hpp>
+ 
+ namespace utsushi {



More information about the arch-commits mailing list