[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987250: baycomepp FTBFS with GCC-11



Package: baycomepp
Version: 0.10-15
Severity: important
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

Dear Maintainer,

baycomepp fails to build from scratch with newer versions of GCC,
especially GCC-11, as discovered by an Ubuntu archive rebuild.

The attached patch fixes this problem by re-defining the 'only_inline'
macro as 'extern inline', as it can be found in the original sources.

Thanks for considering the patch.


-- System Information:
Debian Release: bullseye/sid
  APT prefers groovy-updates
  APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 'groovy'), (100, 'groovy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-49-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -u baycomepp-0.10/udriver/drvresident.c baycomepp-0.10/udriver/drvresident.c
--- baycomepp-0.10/udriver/drvresident.c
+++ baycomepp-0.10/udriver/drvresident.c
@@ -48,11 +48,7 @@
 
 /* ---------------------------------------------------------------------- */
 
-#if __GNUC__ < 5
 #define only_inline extern inline
-#else
-#define only_inline inline
-#endif
 
 /* ---------------------------------------------------------------------- */
 

Reply to: