Bug#1038112: bglibs/sysdeps.h redeclares system functions and variables (with incomplete prototypes)

2023-12-12 Thread Phil Wyett
forwarded 1038112 https://github.com/bruceg/bglibs/issues/3

Actually forwarded.

Regards

Phil

-- 
Playing the game for the games sake.

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org
* Social Debian: https://pleroma.debian.social/kathenas/
* Social Instagram: https://www.instagram.com/kathenasorg/




signature.asc
Description: This is a digitally signed message part


Bug#1038112: bglibs/sysdeps.h redeclares system functions and variables (with incomplete prototypes)

2023-12-12 Thread Phil Wyett
This looks like it was never forwarded to upstream. Will do so to get their 
opinions on the issue.

Regards

Phil

-- 
Playing the game for the games sake.

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org
* Social Debian: https://pleroma.debian.social/kathenas/
* Social Instagram: https://www.instagram.com/kathenasorg/




signature.asc
Description: This is a digitally signed message part


Bug#1038112: bglibs/sysdeps.h redeclares system functions and variables (with incomplete prototypes)

2023-06-15 Thread Julian Andres Klode
Package: libbg-dev
Version: 2.04+dfsg-2.1
Severity: important
X-Debbugs-Cc: j...@debian.org

The most funny tidbit is

extern int select();

which totally breaks compilation in a C++ compiler even if you wrap
everything into extern "C" block.

Regardless of that, the declarations in the system headers may have
additional attributes set that may or may not cause conflicts with
the redeclarations down the road so libbg-dev should not redeclare
them.

-- System Information:
Debian Release: bookworm/sid
  APT prefers mantic
  APT policy: (500, 'mantic'), (500, 'lunar-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-4-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libbg-dev depends on:
pn  libbg2  
ii  libc6   2.37-0ubuntu2

Versions of packages libbg-dev recommends:
pn  bglibs-doc  

libbg-dev suggests no packages.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer  i speak de, en