Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54937 - amd64 bugfixes for media-plugins/xmms-synaesthesia-0.0.3_rc3
Summary: amd64 bugfixes for media-plugins/xmms-synaesthesia-0.0.3_rc3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 16:09 UTC by Tyler Montbriand
Modified: 2004-07-15 12:40 UTC (History)
1 user (show)

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


Attachments
Patch for syna_core.c (syna_core.diff,921 bytes, patch)
2004-06-23 16:11 UTC, Tyler Montbriand
Details | Diff
patch for syna_xmms.c (syna_xmms.diff,1.57 KB, patch)
2004-06-23 16:11 UTC, Tyler Montbriand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Montbriand 2004-06-23 16:09:07 UTC
To get this to compile at all, it was necessary to rerun aclocal, autoheader, automake, autoconf, then "libtoolize --force" in the source directory.  Once it was compiling, I tracked down the bugs that were causing it to segfault - a few "long ints" that needed to be just-plain ints, some missing include headers, and an array that needed to be dynamically resized.  I will attach patches for the source files.

Reproducible: Always
Steps to Reproduce:
1. Unpack source
2. change into source directory
3. aclocal
4. autoheader
5. automake
6. autoconf
7. libtoolize --force
8. ./configure
9. Patch source files
10. make
11. make install

Actual Results:  
xmms-synaesthesia compiled, installed, and worked under amd64.


Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 x86_64 5
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb cdr crypt cups encode esd foomaticdb
gdbm ggi gif gnome gpm gtk gtk2 guile imlib jpeg kde libg++ libwww mikmod motif
mozilla mpeg multilib mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib
perl png ppds python qt quicktime readline scanner sdl slang spell ssl tcltk
tcpd truetype usb xml2 xmms xv zlib"
Comment 1 Tyler Montbriand 2004-06-23 16:11:07 UTC
Created attachment 33989 [details, diff]
Patch for syna_core.c
Comment 2 Tyler Montbriand 2004-06-23 16:11:42 UTC
Created attachment 33990 [details, diff]
patch for syna_xmms.c
Comment 3 Chris White (RETIRED) gentoo-dev 2004-06-23 16:34:18 UTC
Re-assigning this to amd64 for them to look over.
Comment 4 Tom Martin (RETIRED) gentoo-dev 2004-07-15 12:40:34 UTC
Thanks very much Tyler!

When I was testing this out, it built and ran fine with only the patches you made.

One small note though: when creating diffs, it helps to use the unified diff format (-u to diff) and also, if you want to patch several files at once, cat them together.

Anyway, thanks again!