Opened 4 years ago
Closed 4 years ago
#62477 closed defect (fixed)
xorg-server-legacy-1.20.10_0: build errors on 10.5 Leopard Intel
Reported by: | kencu (Ken) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard legacy | Cc: | |
Port: | xorg-server-legacy |
Description
working my way down the systems. 10.6 was fixed quite easily with the legacysupport PG for strnlen (and others?).
10.5 Intel fails with this:
:info:build quartz.c:379:9: error: implicit declaration of function 'xp_disable_hot_keys' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build xp_disable_hot_keys(XQuartzFullscreenVisible); :info:build ^
I fixed that with the patch attached, and then another dangling use of something that was related to libdispatch was patched out as well with the next patch.
And with that, it built, and seems to work, although I'm not sure how to test the hotkeys thing exactly. I may not have done it 100% as it should be, so will put here for thoughts before pushing.
After this comes 10.5 PPC and then Tiger.
Attachments (3)
Change History (6)
Changed 4 years ago by kencu (Ken)
Attachment: | xorg-server-legacy-fail-leopard-intel.log added |
---|
Changed 4 years ago by kencu (Ken)
Attachment: | patch-xorg-server-legacy-xp-disable-hotkeys.diff added |
---|
Changed 4 years ago by kencu (Ken)
Attachment: | patch-xorg-server-legacy-dispatchfix.diff added |
---|
comment:1 Changed 4 years ago by kencu (Ken)
comment:2 Changed 4 years ago by kencu (Ken)
-
hw/xquartz/X11Application.m
old new 312 312 /* Don't try sending to X if we haven't initialized. This can happen if AppKit takes over 313 313 * (eg: uncaught exception) early in launch. 314 314 */ 315 316 #ifdef HAVE_LIBDISPATCH 315 317 if (!eventTranslationQueue) { 316 318 [super sendEvent:e]; 317 319 return; 318 320 } 321 #endif 319 322 320 323 OSX_BOOL for_appkit, for_x; 321 324
comment:3 Changed 4 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
hw/xquartz/quartz.c
if (XQuartzFullscreenDisableHotkeys)xp_disable_hot_keys(XQuartzFullscreenVisible);xp_disable_hot_keys(FALSE);