[MacPorts] #21011: gimp2 opcode errors on OS X 10.6
MacPorts
noreply at macports.org
Sun Sep 13 12:33:25 PDT 2009
#21011: gimp2 opcode errors on OS X 10.6
-------------------------------+--------------------------------------------
Reporter: hsivank@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: gimp2
-------------------------------+--------------------------------------------
Comment(by fredrik.karlsson84@…):
Replying to [comment:7 hsivank@…]:
> This is another error
> I've got the same ...
>
> Extratc from plug-ins/twain/tw_mac.c :
>
> {{{
> 194 /* Voodoo magic fix inspired by java_swt launcher */
> 195 /* Without this the icon setting doesn't work about half the time.
*/
> 196 CGrafPtr p = BeginQDContextForApplicationDockTile();
> 197 EndQDContextForApplicationDockTile(p);
> 198
> 199 SetApplicationDockTileImage (icon);
> }}}
>
> I'm not familiar with Voodoo !!! So comment lines 196,197 and 199
>
> It will be ok after ...
>
>
ah, shit.
put the patch in, worked fine for a little while, then i got the same
error as above;:
{{{
Command output: tw_mac.c:170: warning: old-style function definition
tw_mac.c:180: warning: ISO C90 forbids mixed declarations and code
tw_mac.c:187: warning: pointer targets in passing argument 2 of
'CFURLCreateFromFileSystemRepresentation' differ in signedness
tw_mac.c:190: warning: ISO C90 forbids mixed declarations and code
tw_mac.c:196: warning: implicit declaration of function
'BeginQDContextForApplicationDockTile'
tw_mac.c:196: warning: initialization makes pointer from integer without a
cast
tw_mac.c:197: warning: implicit declaration of function
'EndQDContextForApplicationDockTile'
tw_mac.c:199: warning: implicit declaration of function
'SetApplicationDockTileImage'
tw_mac.c: At top level:
tw_mac.c:204: warning: no previous prototype for 'twainMain'
tw_mac.c: In function 'twainMain':
tw_mac.c:204: warning: old-style function definition
tw_mac.c:225: warning: implicit declaration of function
'RunApplicationEventLoop'
}}}
i changed tw_mac.c and still same error, without line 199...
after change, end entry:
{{{
Undefined symbols:
"_EndQDContextForApplicationDockTile", referenced from:
_twainMain in tw_mac.o
"_BeginQDContextForApplicationDockTile", referenced from:
_twainMain in tw_mac.o
ld: symbol(s) not found
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21011#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list