summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-09 19:20:23 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-09 23:36:23 +0200
commit656577c775a39dc67e2514ada4d4b4f64683463d (patch)
tree613652cfd942305fd72cfa4ac426f34d0d4adbac /media-libs/zxing-cpp
parentmedia-libs/zxing-cpp: Fix pkgconfig version (diff)
downloadgentoo-656577c775a39dc67e2514ada4d4b4f64683463d.tar.gz
gentoo-656577c775a39dc67e2514ada4d4b4f64683463d.tar.bz2
gentoo-656577c775a39dc67e2514ada4d4b4f64683463d.zip
media-libs/zxing-cpp: Fix actual version as well
Bug: https://bugs.gentoo.org/716818 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/zxing-cpp')
-rw-r--r--media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch22
-rw-r--r--media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild5
2 files changed, 26 insertions, 1 deletions
diff --git a/media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch b/media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch
new file mode 100644
index 000000000000..12f379e7c7ea
--- /dev/null
+++ b/media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch
@@ -0,0 +1,22 @@
+From 66cc26b25633cb7f1e20f2bf7711960c321e3a7b Mon Sep 17 00:00:00 2001
+From: Huy Cuong Nguyen <huycn@users.noreply.github.com>
+Date: Thu, 19 Mar 2020 13:58:48 -0400
+Subject: [PATCH] Pump version to 1.0.8
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d851580..c996e4a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.1.3)
+
+ set (ZXING_VERSION_MAJOR 1)
+ set (ZXING_VERSION_MINOR 0)
+-set (ZXING_VERSION_PATCH 7)
++set (ZXING_VERSION_PATCH 8)
+
+ project (ZXingCpp VERSION ${ZXING_VERSION_MAJOR}.${ZXING_VERSION_MINOR}.${ZXING_VERSION_PATCH})
+
diff --git a/media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild b/media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild
index 4d6ad244fdde..fb0c6d9f4284 100644
--- a/media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild
+++ b/media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild
@@ -14,4 +14,7 @@ SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE=""
-PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" ) # bug 716818
+PATCHES=(
+ "${FILESDIR}/${P}-pkgconfig.patch" # bug 716818
+ "${FILESDIR}/${P}-version.patch" # bug 716818
+)