#28281: VLC 1.0.6 build fails (have patch to 1.1.7) --------------------------------+------------------------------------------- Reporter: carsomyr@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: vlc --------------------------------+------------------------------------------- Comment(by jeremyhu@…): I tried doing this today. Since there was work done in this bug report for 1.1.7, I decided to try with 1.1.7 rather than jumping to 1.1.13 or 2.0.1. Here is my patch against current VLC. Audio does not work, and the Preferences window does not open with an error loading a nib (I didn't look into it further): {{{ 2012-05-01 22:20:20.928 VLC[9048:707] ( 0 CoreFoundation 0x00007fff88b9ad36 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff84b78444 objc_exception_throw + 43 2 CoreFoundation 0x00007fff88c2eaf9 -[NSException raise] + 9 3 Foundation 0x00007fff8bd01f8e -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 238 4 Foundation 0x00007fff8bc3cf5d -[NSObject(NSKeyValueCoding) valueForKey:] + 400 5 Foundation 0x00007fff8bc5ae9e -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 341 6 AppKit 0x00007fff870e738d -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 163 7 AppKit 0x00007fff872df4df -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 667 8 AppKit 0x00007fff872df134 -[NSValueBinder _observeValueForKeyPath:ofObject:context:] + 192 9 AppKit 0x00007fff870d97be -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 641 10 AppKit 0x00007fff870d2cfa -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1012 11 AppKit 0x00007fff870c9a64 loadNib + 317 12 AppKit 0x00007fff870c8f7a +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 219 13 AppKit 0x00007fff870c8dd4 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 370 14 libmacosx_plugin.dylib 0x0000000105c6c965 -[VLCMain viewPreferences:] + 69 15 AppKit 0x00007fff871bd6d9 -[NSApplication sendAction:to:from:] + 214 16 AppKit 0x00007fff872a8b0c -[NSMenuItem _corePerformAction] + 406 17 AppKit 0x00007fff872a87fa -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133 18 AppKit 0x00007fff875630b4 -[NSMenu _internalPerformActionForItemAtIndex:] + 36 19 AppKit 0x00007fff873d640f -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 135 20 AppKit 0x00007fff87224a6d NSSLMMenuEventHandler + 342 21 HIToolbox 0x00007fff8c97cdc2 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206 22 HIToolbox 0x00007fff8c97c371 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 410 23 HIToolbox 0x00007fff8c9931c9 SendEventToEventTarget + 40 24 HIToolbox 0x00007fff8c9d8a61 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 443 25 HIToolbox 0x00007fff8cac8195 SendMenuCommandWithContextAndModifiers + 59 26 HIToolbox 0x00007fff8cb12b8c SendMenuItemSelectedEvent + 254 27 HIToolbox 0x00007fff8c9d1b4d _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94 28 HIToolbox 0x00007fff8c9c93d2 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 605 29 HIToolbox 0x00007fff8c9c8a2f _HandleMenuSelection2 + 565 30 AppKit 0x00007fff87125a3c _NSHandleCarbonMenuEvent + 245 31 AppKit 0x00007fff870c2857 _DPSNextEvent + 2073 32 AppKit 0x00007fff870c1ba9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 33 AppKit 0x00007fff870be1d3 -[NSApplication run] + 517 34 libmacosx_plugin.dylib 0x0000000105c768af Run + 255 35 libvlccore.4.dylib 0x00000001030f260f intf_Create + 847 36 libvlccore.4.dylib 0x00000001030deb75 libvlc_InternalAddIntf + 213 37 libvlc.5.dylib 0x00000001030bd02c libvlc_add_intf + 12 38 VLC 0x00000001030b8c2c main + 428 39 libdyld.dylib 0x00007fff8b3917e1 start + 0 40 ??? 0x0000000000000002 0x0 + 2 ) }}} -- Ticket URL: <https://trac.macports.org/ticket/28281#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS