Changeset 12d8104c4fc3a6187f6cb99fabd293a7cced73f6

Show
Ignore:
Timestamp:
06/20/07 22:57:43 (1 year ago)
Author:
Jérome Decoodt <djc@videolan.org>
git-committer:
Jérome Decoodt <djc@videolan.org> 1182373063 +0000
git-parent:

[7d4656d4903875f1f029b1c7f31e70a00d5aabd6]

git-author:
Jérome Decoodt <djc@videolan.org> 1182373063 +0000
Message:

Trying to fix the build on G5...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    rbf2bdcc r12d8104  
    174174    VLC_ADD_CFLAGS([libvlc vlc],[-x objective-c]) 
    175175    VLC_ADD_LDFLAGS([vlc],[-undefined dynamic_lookup]) 
     176    VLC_ADD_CFLAGS([motion],[-fconstant-cfstrings]) 
    176177    VLC_ADD_LDFLAGS([motion],[-framework IOKit -framework CoreFoundation]) 
    177178    AC_ARG_ENABLE(macosx-defaults, 
  • modules/control/unimotion.c

    r7d4656d r12d8104  
    261261        return 0; 
    262262 
    263     CFStringRef app = CFSTR("com.ramsayl.UniMotion"); 
    264     CFStringRef xoffstr = CFSTR("x_offset"); 
    265     CFStringRef yoffstr = CFSTR("y_offset"); 
    266     CFStringRef zoffstr = CFSTR("z_offset"); 
     263    static CFStringRef app = CFSTR("com.ramsayl.UniMotion"); 
     264    static CFStringRef xoffstr = CFSTR("x_offset"); 
     265    static CFStringRef yoffstr = CFSTR("y_offset"); 
     266    static CFStringRef zoffstr = CFSTR("z_offset"); 
    267267    xoff = CFPreferencesGetAppIntegerValue(xoffstr, app, &ok); 
    268268    if ( ok ) _x += xoff;