summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-20 21:00:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 20:52:27 +0100
commitd991b9096b3e44d2aba771ed19fa3220af45ec51 (patch)
tree2316f99a68106cdb52e4e0325fc4759d78349bd6 /app-misc
parentapp-misc/rbutil: Support build with >=dev-libs/quazip-1.0 (diff)
downloadgentoo-d991b9096b3e44d2aba771ed19fa3220af45ec51.tar.gz
gentoo-d991b9096b3e44d2aba771ed19fa3220af45ec51.tar.bz2
gentoo-d991b9096b3e44d2aba771ed19fa3220af45ec51.zip
app-misc/rbutil: Fix version string
Closes: https://bugs.gentoo.org/734178 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/rbutil/files/rbutil-1.4.1-fix-versionstring.patch11
-rw-r--r--app-misc/rbutil/rbutil-1.4.1-r2.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/rbutil/files/rbutil-1.4.1-fix-versionstring.patch b/app-misc/rbutil/files/rbutil-1.4.1-fix-versionstring.patch
new file mode 100644
index 000000000000..f8a1fade7f0e
--- /dev/null
+++ b/app-misc/rbutil/files/rbutil-1.4.1-fix-versionstring.patch
@@ -0,0 +1,11 @@
+diff --git a/rbutil/rbutilqt/version.h b/rbutil/rbutilqt/version.h
+index f0877ba..044c7c7 100644
+--- a/rbutil/rbutilqt/version.h
++++ b/rbutil/rbutilqt/version.h
+@@ -40,5 +40,5 @@
+ // PUREVERSION should identify the build uniquely. Use version string for now.
+ #define PUREVERSION "v1.4.1"
+
+-#define FULLVERSION VERSION " (" PUREVERSION "), built " __DATE__ " " __TIME__
++#define FULLVERSION VERSION
+
diff --git a/app-misc/rbutil/rbutil-1.4.1-r2.ebuild b/app-misc/rbutil/rbutil-1.4.1-r2.ebuild
index 322c9c396c37..ebfb53deeda9 100644
--- a/app-misc/rbutil/rbutil-1.4.1-r2.ebuild
+++ b/app-misc/rbutil/rbutil-1.4.1-r2.ebuild
@@ -37,6 +37,7 @@ QTDIR="${PN}/${PN}qt"
PATCHES=(
"${FILESDIR}"/${P}-quazip1.patch
"${FILESDIR}"/0001-imxtools-sbtools-fix-compilation-with-gcc-10.patch
+ "${FILESDIR}"/${P}-fix-versionstring.patch # bug 734178
)
src_prepare() {