Bug#1108203: maildir-utils: Please link against libatomic on m68k, powerpc and sh4

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <175065859918.3497879.11004047137724436347.reportbug__27694.8941800342$1750658733$gmane$org@login1.physik.fu-berlin.de>
Source: maildir-utils
Version: 1.12.9-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: powerpc
X-Debbugs-Cc: [email protected]

Hi,

please add m68k, powerpc and sh4 to the list of architectures which need to link
against libatomic in [1].

I suggest the following change:

--- debian/rules.orig   2025-03-10 23:07:50.000000000 +0100
+++ debian/rules        2025-06-23 08:02:15.046285114 +0200
@@ -12,7 +12,7 @@
 #
 # Cf. #1068030.
 #
-ifeq (armel,$(DEB_HOST_ARCH))
+ifneq (,$(filter armel m68k powerpc sh4, $(DEB_HOST_ARCH)))
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
 endif
 


Thanks,
Adrian

> [1] https://salsa.debian.org/emacsen-team/maildir-utils/-/blob/debian/master/debian/rules?ref_type=heads#L15

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
maildir-utils-libatomic.diff (text/plain, 332 B)
--- debian/rules.orig	2025-03-10 23:07:50.000000000 +0100
+++ debian/rules	2025-06-23 08:02:15.046285114 +0200
@@ -12,7 +12,7 @@
 #
 # Cf. #1068030.
 #
-ifeq (armel,$(DEB_HOST_ARCH))
+ifneq (,$(filter armel m68k powerpc sh4, $(DEB_HOST_ARCH)))
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
 endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.