|
From: SourceForge.net <no...@so...> - 2005-03-29 04:05:15
|
Patches item #1172159, was opened at 2005-03-28 17:24 Message generated for change (Settings changed) made by lschiere You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1172159&group_id=235 Category: Plugins Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jason Rohwedder (rohwedde) Assigned to: Nobody/Anonymous (nobody) Summary: gaim 1.2.0 - yahoo plugin / gcc 2.95 compile time patch Initial Comment: gcc 2.95 seems to prefer variable declarations be at the beginning of a subroutine. As it stands gaim 1.2.0 does not compile under RH 7.3 for me. This patch fixes that. -j Error from pre-patch : Making all in yahoo make[4]: Entering directory `/usr/src/redhat/BUILD/gaim-1.2.0/src/protocols/yahoo' if /bin/sh ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=i386 -mcpu=i686 -Wall -g3 -MT crypt.lo -MD -MP -MF ".deps/crypt.Tpo" -c -o crypt.lo crypt.c; then mv -f ".deps/crypt.Tpo" ".deps/crypt.Plo"; else rm -f ".deps/crypt.Tpo"; exit 1; fi if /bin/sh ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=i386 -mcpu=i686 -Wall -g3 -MT yahoo_auth.lo -MD -MP -MF ".deps/yahoo_auth.Tpo" -c -o yahoo_auth.lo yahoo_auth.c; then mv -f ".deps/yahoo_auth.Tpo" ".deps/yahoo_auth.Plo"; else rm -f ".deps/yahoo_auth.Tpo"; exit 1; fi if /bin/sh ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=i386 -mcpu=i686 -Wall -g3 -MT yahoo.lo -MD -MP -MF ".deps/yahoo.Tpo" -c -o yahoo.lo yahoo.c; then mv -f ".deps/yahoo.Tpo" ".deps/yahoo.Plo"; else rm -f ".deps/yahoo.Tpo"; exit 1; fi if /bin/sh ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=i386 -mcpu=i686 -Wall -g3 -MT yahoochat.lo -MD -MP -MF ".deps/yahoochat.Tpo" -c -o yahoochat.lo yahoochat.c; then mv -f ".deps/yahoochat.Tpo" ".deps/yahoochat.Plo"; else rm -f ".deps/yahoochat.Tpo"; exit 1; fi yahoochat.c: In function `yahoo_process_chat_join': yahoochat.c:446: parse error before `*' yahoochat.c:448: `ops' undeclared (first use in this function) yahoochat.c:448: (Each undeclared identifier is reported only once yahoochat.c:448: for each function it appears in.) yahoochat.c:449: parse error before `*' yahoochat.c:450: `account' undeclared (first use in this function) yahoochat.c:451: `roomies' undeclared (first use in this function) make[4]: *** [yahoochat.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/usr/src/redhat/BUILD/gaim-1.2.0/src/protocols/yahoo' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/gaim-1.2.0/src/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/gaim-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/gaim-1.2.0' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.89028 (%build) ---------------------------------------------------------------------- Comment By: Mark Doliner (thekingant) Date: 2005-03-28 17:50 Message: Logged In: YES user_id=20979 Whoever applies this might want to look into why HEAD doesn't seem to have some of the code that oldstatus does. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1172159&group_id=235 |