Bug#720650: libsdl2-dev: Unneeded/undesirable/broken cflags returned by pkg-config
Thibaut Girka
thib at sitedethib.com
Sat Aug 24 10:12:03 UTC 2013
Package: libsdl2-dev
Version: 2.0.0+dfsg1-1
Severity: normal
Hi,
The “external_header_paths.diff” patch adds “@EXTRA_CFLAGS@” to SDL2's
cflags in order to work around #669363.
This leads to a lot of unneeded, undesirable or broken Cflags when invoking
“pkg-config --cflags sdl2”:
“-D_REENTRANT -mmmx -m3dnow -msse -fvisibility=hidden -DHAVE_LINUX_VERSION_H
-Wall -I/usr/include/SDL2 -Iinclude
-I/build/libsdl2-hm4mPw/libsdl2-2.0.0+dfsg1/include -I/usr/include/dbus-1.0
-I/usr/lib/i386-linux-gnu/dbus-1.0/include”
Most paths are unneeded or plain broken. Things like “-fvisibility=hidden”
are especially harmful, as they might introduce unsuspected errors when
building shared objects.
Please drop this patch, which shouldn't be needed anymore as the directfb
backend is now disabled in the debian package.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libsdl2-dev depends on:
ii libasound2-dev 1.0.27.1-2
ii libgl1-mesa-dev 9.1.6-2
ii libglu1-mesa-dev 9.0.0-1
ii libpulse-dev 4.0-6
ii libsdl2-2.0-0 2.0.0+dfsg1-1
ii libts-dev 1.0-11
ii libudev-dev 175-7.2
ii libx11-dev 2:1.6.1-1
ii libxcursor-dev 1:1.1.14-1
ii libxext-dev 2:1.3.2-1
ii libxi-dev 2:1.7.2-1
ii libxinerama-dev 2:1.1.3-1
ii libxrandr-dev 2:1.4.1-1
ii libxss-dev 1:1.2.2-1
ii libxt-dev 1:1.1.4-1
ii libxv-dev 2:1.0.9-1
ii libxxf86vm-dev 1:1.1.3-1
libsdl2-dev recommends no packages.
libsdl2-dev suggests no packages.
-- no debconf information
More information about the Pkg-sdl-maintainers
mailing list