summaryrefslogtreecommitdiff
path: root/net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-11-22 23:29:11 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-11-22 23:33:07 +0000
commit945403ca4f4abe84187fba4fdfce2065e33f3a8d (patch)
treefa02eaa428d67005bc8f9817f96b5641e6afd5f5 /net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch
parentsys-kernel/stable-sources: version bump (diff)
downloadportage-945403ca4f4abe84187fba4fdfce2065e33f3a8d.tar.xz
net-p2p/monero: remove old
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Diffstat (limited to '')
-rw-r--r--net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch b/net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch
deleted file mode 100644
index e20fb6f4..00000000
--- a/net-p2p/monero/files/monero-gui-0.17.1.1-cmake-use-gentoo-versioning.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 5a4a63dbf9608c82c1cf18e0abc529d2a9ac5258 Mon Sep 17 00:00:00 2001
-From: Bertrand Jacquin <bertrand@jacquin.bzh>
-Date: Sun, 18 Oct 2020 15:43:33 +0100
-Subject: [PATCH] cmake: use gentoo versioning
-
----
- cmake/VersionGui.cmake | 15 +--------------
- 1 file changed, 1 insertion(+), 14 deletions(-)
-
-diff --git a/cmake/VersionGui.cmake b/cmake/VersionGui.cmake
-index 960c3f4e0d05..ef1af288495d 100644
---- a/cmake/VersionGui.cmake
-+++ b/cmake/VersionGui.cmake
-@@ -30,20 +30,7 @@ function (write_static_version_header VERSION_TAG_GUI)
- configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/version.js.in" "${CMAKE_CURRENT_SOURCE_DIR}/version.js")
- endfunction ()
-
--find_package(Git QUIET)
--if ("$Format:$" STREQUAL "")
-- # We're in a tarball; use hard-coded variables.
-- write_static_version_header("release")
--elseif (GIT_FOUND OR Git_FOUND)
-- message(STATUS "Found Git: ${GIT_EXECUTABLE}")
-+write_static_version_header("@@PV@@")
-
-- include(GitGetVersionTag)
-- git_get_version_tag(${GIT_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR} VERSION_TAG_GUI)
-- STRING(REGEX REPLACE "^v([0-9])" "\\1" VERSION_TAG_GUI ${VERSION_TAG_GUI})
-- write_static_version_header(${VERSION_TAG_GUI})
--else()
-- message(STATUS "WARNING: Git was not found!")
-- write_static_version_header("unknown")
--endif ()
- add_custom_target(genversiongui ALL
- DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/version.js")