Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114349 - media-gfx/xfig-3.2.4 fails to compile with gcc4 (patch)
Summary: media-gfx/xfig-3.2.4 fails to compile with gcc4 (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: Inclusion, InVCS
Depends on:
Blocks:
 
Reported: 2005-12-03 06:25 UTC by Thomas Weidner
Modified: 2005-12-08 12:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfig-3.2.4-compile-fix.diff (xfig.3.2.4-compile-fix.diff,930 bytes, patch)
2005-12-03 06:25 UTC, Thomas Weidner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Weidner 2005-12-03 06:25:12 UTC
the compilation of xfig failes, because in the C source, there are arrays of
incomplete types declared.

Reproducible: Always
Steps to Reproduce:
1. emerge xfig
2.
3.




Portage 2.0.53 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-ge
              ntoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.15
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
              /config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/shar               e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.inform
              atik.rwth-aachen.de/pub/Linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d acl alsa audiofile avi bash-completion berkdb bitmap-fonts bz
              ip2 cdr crypt cups curl dvd dvdread emboss encode esd expat fam
font-server foom               aticdb fortran gif glut gmp gpm gstreamer gtk2
guile idn imagemagick imlib ipv6                java jpeg lcms libcaca libwww
live lzw lzw-tiff mad matroska mng motif mp3 mpeg                ncurses nls
nptl nptlonly objc ogg opengl oss pam pcre pdflib perl png python qu           
   icktime readline real rtc scanner sdl ssl tcltk tcpd tetex theora threads
tiff t               ruetype truetype-fonts type1-fonts udev unicode usb
userlocales v4l v4l2 vorbis                xattr xine xml xml2 xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Thomas Weidner 2005-12-03 06:25:33 UTC
Created attachment 73985 [details, diff]
xfig-3.2.4-compile-fix.diff
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-12-08 12:41:56 UTC
Works great here, thanks. Committed to CVS. I would like to ask you to submit 
this patch upstream if you haven't already. Thanks.