<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>211840</bug_id>
          
          <creation_ts>2008-02-28 21:51 0000</creation_ts>
          <short_desc>www-client/kazehakase-0.5.2 GCC 4.3 patch</short_desc>
          <delta_ts>2008-02-29 15:43:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>truedfx@gentoo.org</reporter>
          <assigned_to>matsuu@gentoo.org</assigned_to>
          <cc>nakano@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2008-02-28 21:51:55 0000</bug_when>
            <thetext>kazehakase fails to configure properly when using GCC 4.3, because it performs one check by enabling -Werror -Wconversion to see if a particular warning is produced. Firstly, this warning is not produced with these options with GCC 4.3 (the flag is now -Wsign-conversion), and secondly, -Wconversion now enables other warnings, which become errors due to -Werror, and cause more bad configure results. This patch gets rid of the -W* options entirely, and takes a different approach in the configure check.

ebuild modifications are needed to regenerate autoconf, and because of that I&apos;ll attach the diff to $PORTDIR/www-client/kazehakase, not directly the diff to the source.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.3.0-rc1, glibc-2.7-r1, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Wed, 27 Feb 2008 23:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -O2 -pipe -g&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-march=athlon64 -O2 -pipe -g&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
EMERGE_DEFAULT_OPTS=&quot;--with-bdeps=y&quot;
FEATURES=&quot;assume-digests autopatch cvs distlocks installsources metadata-transfer multilib-strict notitles parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://216.165.129.135/&quot;
INSTALL_MASK=&quot;/var/www&quot;
LANG=&quot;en_GB.UTF-8&quot;
LDFLAGS=&quot;-Xlinker --as-needed&quot;
LINGUAS=&quot;*&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/etc/portage/overlay/hiyuh /etc/portage/overlay/linamh /etc/portage/overlay/nouveau /etc/portage/overlay /var/cvs/gentoo-x86&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X a52 aac accessibility acl acpi ads alsa async bidi bindist bitmap-fonts boost bzip2 cddb cdparanoia chm cjk cli cracklib crypt curl cvs debugger demo disk-partition divx dri dvd ffmpeg filepicker firefox flac fortran ftp gcc-libffi gif gmp gnustep gpg gtk htmlhandbook iconv inotify ipv6 isdnlog ithreads jpeg kde ldap lesstif libffi mad mbox midi mikmod mmx mmxext mozdevelop mp3 mudflap ncurses nls nocxx nptl nptlonly objc objc++ ogg opengl pam pango pdf perl pg-intdatetime pic png postgres pppd quicktime readline realmedia reflection rtc samba sdl session spl sqlite sqlite3 sse sse2 ssl subversion svg swat tcpd teletext tetex theora threads timidity tordns truetype truetype-fonts type1-fonts unicode urandom v4l v4l2 vorbis wmp x86 xcomposite xim xml xorg xscreensaver zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;*&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;vesa nv nouveau&quot;
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2008-02-28 21:53:19 0000</bug_when>
            <thetext>Created an attachment (id=144904)
kazehakase-gcc43.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matsuu@gentoo.org</who>
            <bug_when>2008-02-29 15:43:20 0000</bug_when>
            <thetext>fixed in kazehakase-0.5.3</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>144904</attachid>
            <date>2008-02-28 21:53 0000</date>
            <desc>kazehakase-gcc43.patch</desc>
            <filename>kazehakase-gcc43.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGthemVoYWthc2UtMC41LjIuZWJ1aWxkCisrKyBrYXplaGFrYXNlLTAuNS4yLmVidWlsZApA
QCAtMiw3ICsyLDcgQEAKICMgRGlzdHJpYnV0ZWQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUg
R2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgogIyAkSGVhZGVyOiAvdmFyL2N2c3Jvb3QvZ2VudG9v
LXg4Ni93d3ctY2xpZW50L2themVoYWthc2Uva2F6ZWhha2FzZS0wLjUuMi5lYnVpbGQsdiAxLjEg
MjAwOC8wMi8yNCAxNTo1NDoxNiBtYXRzdXUgRXhwICQKIAotaW5oZXJpdCBmbGFnLW8tbWF0aWMK
K2luaGVyaXQgYXV0b3Rvb2xzIGV1dGlscyBmbGFnLW8tbWF0aWMKIAogSVVTRT0iaHlwZXJlc3Ry
YWllciBtaWdlbW8gcnVieSBzc2wiCiAKQEAgLTMxLDYgKzMxLDEzI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