mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-db/mydumper: drop 0.14.5.2, 0.15.2.8
Bug: https://bugs.gentoo.org/935389 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST mydumper-0.14.5-2.tar.gz 177402 BLAKE2B bcd2658e1d8e452803608f27ed1b2ccc6fe428fcb44117f88a5cb0e6de1536f89c1f0768020da2d954a95cc20fe1315af8a38f477aee7c394540fbb4f001ac8d SHA512 d19c22fb3932f7428f560dcd7cdafc92e035f924ee35320048eca2067e75a297a44aaf08c6f124ef55c604c34311be2eeb0858c6d41be5ea73a68c8c0afa66ab
|
||||
DIST mydumper-0.15.2-8.tar.gz 186389 BLAKE2B 84e08fa6460a156771f598a8a0c98c79089490f9f2fe3b90fa49efd519e2270468fe86287bab03612006489a3a1d5ab2442e76cc0f4825c8df95acec30a1c4ba SHA512 f6ca5c5756944bd2704e8a25432db1fbe14ed2a1e88b549c0799c3e0c251e524523ed39797b0b2c15c9d65c0e6e5ce3d93a60a17c77090732a8f909ab24a0126
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
From a7630737a37c11478de265e69605befa89b910b4 Mon Sep 17 00:00:00 2001
|
||||
From: Eli Schwartz <eschwartz93@gmail.com>
|
||||
Date: Sun, 10 Mar 2024 21:12:29 -0400
|
||||
Subject: [PATCH] Do not overwrite the user CFLAGS
|
||||
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 088811c..c051a31 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -35,10 +35,10 @@ if (WITH_ZSTD)
|
||||
endif (WITH_ZSTD)
|
||||
|
||||
if (WITH_ZSTD)
|
||||
- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -g -DZWRAP_USE_ZSTD=1 -Werror -Wno-discarded-qualifiers ${MYSQL_CFLAGS}")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wextra -Wshadow -DZWRAP_USE_ZSTD=1 -Wno-discarded-qualifiers ${MYSQL_CFLAGS}")
|
||||
include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ${ZSTD_INCLUDE_DIR} )
|
||||
else (WITH_ZSTD)
|
||||
- set(CMAKE_C_FLAGS "-Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -g -Werror ${MYSQL_CFLAGS}")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-deprecated-declarations -Wunused -Wwrite-strings -Wextra -Wshadow ${MYSQL_CFLAGS}")
|
||||
include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} )
|
||||
endif (WITH_ZSTD)
|
||||
|
||||
--
|
||||
2.43.2
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
MY_PV="$(ver_rs 3 -)"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL"
|
||||
HOMEPAGE="https://github.com/maxbube/mydumper"
|
||||
SRC_URI="https://github.com/maxbube/mydumper/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-arch/zstd
|
||||
dev-db/mysql-connector-c:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.13.1-atomic.patch" #654314
|
||||
|
||||
"${FILESDIR}"/${PN}-0.14-Do-not-overwrite-the-user-CFLAGS.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix doc install path
|
||||
sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/855239
|
||||
#
|
||||
# Fixed upstream in git master:
|
||||
# https://github.com/mydumper/mydumper/pull/1413
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(-DBUILD_DOCS=$(usex doc))
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
MY_PV="$(ver_rs 3 -)"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL"
|
||||
HOMEPAGE="https://github.com/mydumper/mydumper"
|
||||
SRC_URI="https://github.com/mydumper/mydumper/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-arch/zstd
|
||||
dev-db/mysql-connector-c:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.13.1-atomic.patch" #654314
|
||||
|
||||
"${FILESDIR}"/${PN}-0.15-Do-not-overwrite-the-user-CFLAGS.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix doc install path
|
||||
sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/855239
|
||||
#
|
||||
# Fixed upstream in git master:
|
||||
# https://github.com/mydumper/mydumper/pull/1413
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(-DBUILD_DOCS=$(usex doc))
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user