[arch-commits] Commit in gpscorrelate/trunk (PKGBUILD gpscorrelate-exiv2-0.27.1.patch)

Antonio Rojas arojas at archlinux.org
Sat May 18 16:58:56 UTC 2019


    Date: Saturday, May 18, 2019 @ 16:58:55
  Author: arojas
Revision: 467865

Fix build with exiv2 0.27.1

Added:
  gpscorrelate/trunk/gpscorrelate-exiv2-0.27.1.patch
Modified:
  gpscorrelate/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |    7 +++++--
 gpscorrelate-exiv2-0.27.1.patch |   12 ++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-18 14:14:57 UTC (rev 467864)
+++ PKGBUILD	2019-05-18 16:58:55 UTC (rev 467865)
@@ -14,14 +14,17 @@
 makedepends=('libxslt')
 source=($pkgname-$_gitrev.tar.gz::https://github.com/freefoote/$pkgname/archive/$_gitrev.tar.gz
         gpscorrelate.appdata.xml
-        gtk3-port.patch)
+        gtk3-port.patch
+        gpscorrelate-exiv2-0.27.1.patch)
 sha256sums=('449023f21f5dd0a2149592754d7f94635697653b6dcfcd4432986e85c1155a4f'
             'c5915b4fdee2fd4120ca12679c471ddaa3b39e53589e7ee0b3197a0ac3784209'
-            '19a707fae49d83e30cd71b3eead9345ca316fde8a1c3c960b90a05228a2765f8')
+            '19a707fae49d83e30cd71b3eead9345ca316fde8a1c3c960b90a05228a2765f8'
+            '87f337404a268266bfa3e01673ad95358ced5462b729ee75eea2b4301d448464')
 
 prepare() {
   cd $pkgname-$_gitrev
   patch -Np1 -i ../gtk3-port.patch
+  patch -p1 -i ../gpscorrelate-exiv2-0.27.1.patch # Fix build with exiv2 0.27.1
 }
 
 build() {

Added: gpscorrelate-exiv2-0.27.1.patch
===================================================================
--- gpscorrelate-exiv2-0.27.1.patch	                        (rev 0)
+++ gpscorrelate-exiv2-0.27.1.patch	2019-05-18 16:58:55 UTC (rev 467865)
@@ -0,0 +1,12 @@
+--- gpscorrelate/exif-gps.cpp.orig	2019-05-18 16:53:08.116277391 +0000
++++ gpscorrelate/exif-gps.cpp	2019-05-18 16:54:08.360430243 +0000
+@@ -41,8 +41,7 @@
+ #include <unistd.h>
+ 
+ 
+-#include "exiv2/image.hpp"
+-#include "exiv2/exif.hpp"
++#include "exiv2/exiv2.hpp"
+ 
+ #include "gpsstructure.h"
+ #include "exif-gps.h"


More information about the arch-commits mailing list