[pkg-gnupg-maint] Bug#870383: gpgme1.0: FTBFS on hurd-i386: hardinging flags mismatch w.r.t. Qt5

Gianfranco Costamagna locutusofborg at debian.org
Fri Jun 26 09:59:55 BST 2020


control: tags -1 patch
Hello,

the patch from Ubuntu seems enough to do the trick, can you please forward upstream?
I'm still waiting for my account to get accepted on dev.gnupg.org (I just registered)
diff -pruN 1.13.1-7/debian/patches/0006-PIC-and-shared.patch 1.13.1-7ubuntu2/debian/patches/0006-PIC-and-shared.patch
--- 1.13.1-7/debian/patches/0006-PIC-and-shared.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.13.1-7ubuntu2/debian/patches/0006-PIC-and-shared.patch	2017-05-12 07:22:23.000000000 +0000
@@ -0,0 +1,19 @@
+Description: Use -fPIC instead of -fpic.
+Author: Adam Conrad <adconrad at ubuntu.com>
+Last-Update: 2017-05-12
+
+Index: gpgme1.0-1.8.0/m4/qt.m4
+===================================================================
+--- gpgme1.0-1.8.0.orig/m4/qt.m4
++++ gpgme1.0-1.8.0/m4/qt.m4
+@@ -24,8 +24,9 @@ AC_DEFUN([FIND_QT],
+                     [have_qt5test_libs="no"])
+ 
+   if ! test "$have_w32_system" = yes; then
++    GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -shared"
+     if "$PKG_CONFIG" --variable qt_config Qt5Core | grep -q "reduce_relocations"; then
+-      GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -fpic"
++      GPGME_QT_CFLAGS="$GPGME_QT_CFLAGS -fPIC"
+     fi
+   fi
+   if test "$have_qt5_libs" = "yes"; then
diff -pruN 1.13.1-7/debian/patches/series 1.13.1-7ubuntu2/debian/patches/series
--- 1.13.1-7/debian/patches/series	2020-01-30 16:37:46.000000000 +0000
+++ 1.13.1-7ubuntu2/debian/patches/series	2020-02-14 00:43:13.000000000 +0000
@@ -5,3 +5,4 @@
 0005-tests-json-Bravo-key-does-not-have-secret-key-materi.patch
 0006-gpg-Send-with-keygrip-when-listing-keys.patch
 0007-use-FULL_PATH_NAMES-NO-for-reproducible-doxygen-docu.patch
+0006-PIC-and-shared.patch

thanks

Gianfranco



More information about the pkg-gnupg-maint mailing list