Xorg gcc40 patch and static linking

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list.

The recently added package/x11/xorg/gcc40.patch breaks static linking of xorg
with gcc 3.4.4.
Specifically this part:

diff -dur xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
src.xorg.1129808283.2035.3041395841/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
- --- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h	2004-08-12
04:23:46.000000000 +0200
+++
src.xorg.1129808283.2035.3041395841/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h
2005-10-20 19:58:39.000000000 +0200
@@ -1,4 +1,4 @@
- -static SymTabRec RADEONChipsets[] = {
+SymTabRec RADEONChipsets[] = {
     { PCI_CHIP_RADEON_QD, "ATI Radeon QD (AGP)" },
     { PCI_CHIP_RADEON_QE, "ATI Radeon QE (AGP)" },
     { PCI_CHIP_RADEON_QF, "ATI Radeon QF (AGP)" },

@Stefan: Is it possible to compile xorg with gcc 4.0.0 without that part?

Greetings,
	Benjamin
- --
 _  _     _   _            _
| \| |___| |_| |_  __ _ __| |__
| .` / -_)  _| ' \/ _` / _| / /
|_|\_\___|\__|_||_\__,_\__|_\_\
| |  (_)_ _ _  ___ __
| |__| | ' \ || \ \ /
|____|_|_||_\_,_/_\_\
Play Nethack anywhere with an x86 computer:
	http://www.crash-override.net/?nethacklinux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDd0OAr0OTeImXvg8RAnlKAKDQAA84c+IrqoK+jl3YdzLL1JVWhwCffEF6
s2MaRzMfG0hbXzdw4anmymc=
=/xLY
-----END PGP SIGNATURE-----
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.