From 656577c775a39dc67e2514ada4d4b4f64683463d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 9 Apr 2020 19:20:23 +0200 Subject: [PATCH] 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 --- .../files/zxing-cpp-1.0.8-version.patch | 22 +++++++++++++++++++ .../zxing-cpp/zxing-cpp-1.0.8-r1.ebuild | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch 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 +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 +) -- 2.26.2