Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32122 - squeak-3.4.1-r1 fails to compile with gcc-3.3.2 dues to multiline strings
Summary: squeak-3.4.1-r1 fails to compile with gcc-3.3.2 dues to multiline strings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 13:31 UTC by Thomas Bjorn Andersen
Modified: 2003-10-30 14:27 UTC (History)
2 users (show)

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


Attachments
Patch for multiline strings (squeak-3.4.1-r1-gentoo.diff,15.80 KB, patch)
2003-10-29 13:01 UTC, Thomas Bjorn Andersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bjorn Andersen 2003-10-27 13:31:06 UTC
Plugin/libmpeg/video/output.c:396 (and others?) contain multiline strings.
Should be fixed by having \n\ appended to each line of the string.

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

Actual Results:  
compilation fails.

Expected Results:  
compiled :-)


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22-ac1)
=================================================================
System uname: 2.4.22-ac1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk java guile
postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk
qt kde motif opengl mozilla ldap snmp cdr acl acpi acpi4linux auctex curl dga
dnd doc dvd emacs emacs-w3 ethereal evo ffmpeg freetds gb gd gnomedb gphoto2 gps
gtk2 imap joystick leim libgda maildir md5sum mozcalendar mule objc odbc pda
plotutils ppds radeon rplay sasl sox sse tiff usb v4l videos vim-with-x wmf
wxwindows Xaw3d xface xfs xine xosd -alsa"
Comment 1 Thomas Bjorn Andersen 2003-10-29 13:01:41 UTC
Created attachment 19944 [details, diff]
Patch for multiline strings

/usr/portage/dev-lang/squeak/files/squeak-3.4.1-r1-gentoo.diff attached.
Add the following to squeak-3.4.1-r1.ebuild :
src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${PF}-gentoo.diff
}
Comment 2 Joshua Kinard gentoo-dev 2003-10-30 14:27:58 UTC
Patch is in CVS.  While I can't test it as my machine does not run X, it
applies and should fix the issue.  If it does not, reopen this bug.  Resolving
as FIXED.