Control: tags 956020 + patch
Control: tags 956020 + pending

Dear maintainer,

I've prepared an NMU for mydumper (versioned as 0.9.5-1.2) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diff -Nru mydumper-0.9.5/debian/changelog mydumper-0.9.5/debian/changelog
--- mydumper-0.9.5/debian/changelog	2020-03-14 22:15:00.000000000 +0200
+++ mydumper-0.9.5/debian/changelog	2020-05-08 20:14:50.000000000 +0300
@@ -1,3 +1,10 @@
+mydumper (0.9.5-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Link mydumper against libm. (Closes: #956020)
+
+ -- Adrian Bunk <b...@debian.org>  Fri, 08 May 2020 20:14:50 +0300
+
 mydumper (0.9.5-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru mydumper-0.9.5/debian/patches/0001-Link-mydumper-against-libm.patch mydumper-0.9.5/debian/patches/0001-Link-mydumper-against-libm.patch
--- mydumper-0.9.5/debian/patches/0001-Link-mydumper-against-libm.patch	1970-01-01 02:00:00.000000000 +0200
+++ mydumper-0.9.5/debian/patches/0001-Link-mydumper-against-libm.patch	2020-05-08 20:14:50.000000000 +0300
@@ -0,0 +1,26 @@
+From 47b179ace22a2b4f4e5a3e783d6a79cc44a65708 Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <b...@stusta.de>
+Date: Fri, 8 May 2020 20:12:57 +0300
+Subject: Link mydumper against libm
+
+This is required due to mydumper.c using ceil().
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ca9591f..ea4bb85 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -37,7 +37,7 @@ if (WITH_BINLOG)
+ else (WITH_BINLOG)
+   add_executable(mydumper mydumper.c server_detect.c g_unix_signal.c connection.c getPassword.c)
+ endif (WITH_BINLOG)
+-target_link_libraries(mydumper ${MYSQL_LIBRARIES} ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${PCRE_PCRE_LIBRARY} ${ZLIB_LIBRARIES} stdc++)
++target_link_libraries(mydumper ${MYSQL_LIBRARIES} ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${PCRE_PCRE_LIBRARY} ${ZLIB_LIBRARIES} stdc++ m)
+ 
+ 
+ add_executable(myloader myloader.c connection.c getPassword.c)
+-- 
+2.20.1
+
diff -Nru mydumper-0.9.5/debian/patches/series mydumper-0.9.5/debian/patches/series
--- mydumper-0.9.5/debian/patches/series	2018-12-19 11:17:53.000000000 +0200
+++ mydumper-0.9.5/debian/patches/series	2020-05-08 20:14:50.000000000 +0300
@@ -1,3 +1,4 @@
 0001-manpage-whatis-description.patch
 0002-dont-install-documentation-source.patch
 0005-fix-cmake-define-ssl
+0001-Link-mydumper-against-libm.patch

Reply via email to