Re: VLC fails to build

2016-04-23 Thread Ryan Schmidt

On Apr 23, 2016, at 5:09 AM, Brandon Allbery wrote:

> On Sat, Apr 23, 2016 at 4:50 AM,  wrote:
>> A search for 'DISPATCH_QUEUE_SERIAL' brought me to
>> 
>> 
>> 
>> which offered a potential solution.
>> 
>> I am not experienced with the phases in macports build process, so here is 
>> my question:
>> 
>> How to pass NULL for the second parameter to dispatch_queue_create() ?
> 
> You would provide a patch file modifying the source code as originally 
> unpacked. See https://guide.macports.org/chunked/development.patches.html 
> (and the rest of https://guide.macports.org/chunked/ for more information on 
> Portfile development). This patch should only be applied on pre-10.7 systems.

The VLC-devel port already uses this patch:

https://trac.macports.org/browser/trunk/dports/multimedia/VLC-devel/files/dispatch_queue_serial.patch

It would be best to keep the VLC and VLC-devel ports as similar as possible, so 
maybe you can use (a copy of) this same patch for VLC.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: VLC fails to build

2016-04-23 Thread Brandon Allbery
On Sat, Apr 23, 2016 at 4:50 AM,  wrote:

> A search for 'DISPATCH_QUEUE_SERIAL' brought me to
>
> <
> http://stackoverflow.com/questions/10075083/restkit-undeclared-identifier-dispatch-queue-serial-inside-rkobjectmanager
> >
>
> which offered a potential solution.
>
> I am not experienced with the phases in macports build process, so here is
> my question:
>
> How to pass NULL for the second parameter to dispatch_queue_create() ?
>

You would provide a patch file modifying the source code as originally
unpacked. See https://guide.macports.org/chunked/development.patches.html
(and the rest of https://guide.macports.org/chunked/ for more information
on Portfile development). This patch should only be applied on pre-10.7
systems.


> the config log gives an error, too:
> > conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
> > #include 
>

The filename it's talking about should be a hint... it's a deliberate
failure, and if that had succeeded then configure would have aborted with a
complaint about your C compiler being broken.

Lots of configure tests fail, because configure checks for include files,
libraries, and functions that may or may not exist on any given OS or
release thereof. If the compiler doesn't error out when it should, then it
can't check what functionality works on your system.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


VLC fails to build

2016-04-23 Thread listmember
Hello all,

VLC 2.2.2 fails to build on 10.6.8

the build log gives me in $BUILDDIR/work/vlc-2.2.2/modules/gui/macosx

>> :info:build intf.m:688:91: error: use of undeclared identifier 
>> 'DISPATCH_QUEUE_SERIAL'
>> :info:build informInputChangedQueue = 
>> dispatch_queue_create("org.videolan.vlc.inputChangedQueue", 
>> DISPATCH_QUEUE_SERIAL);

A search for 'DISPATCH_QUEUE_SERIAL' brought me to



which offered a potential solution. 

I am not experienced with the phases in macports build process, so here is my 
question:

How to pass NULL for the second parameter to dispatch_queue_create() ?

P.S.

the config log gives an error, too:
> conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
> #include 
>  ^

is this somehow related?

thanks in advance
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users