[MacPorts] #69539: VLC: implement building from source again, build with X11 for older OS (?)

MacPorts noreply at macports.org
Thu Apr 18 11:33:00 UTC 2024


#69539: VLC: implement building from source again, build with X11 for older OS (?)
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:
      Port:  VLC           |
---------------------------+--------------------

Comment (by RJVB):

 Replying to [comment:35 barracuda156]:

 > If you have a few min, could you try the current version on your system?
 I just wanna make sure it is not broken just for me (which is possible if
 I do something wrong).

 You do mean the current mainstream version then? I can try, but not
 promise when.
 Why don't you ask on one of the mailing lists, or file a ticket? After all
 my system isn't really relevant for what you're doing.

 Replying to [comment:36 barracuda156]:

 > That version somehow manager to fail at configure with an odd error:
 > {{{
 > configure:10445: checking whether C compiler accepts -std=gnu11
 > configure:10465: /opt/local/bin/gcc-mp-13 -c -pipe -Os -arch ppc
 -pedantic -Werror -std=gnu11 -I/opt/local/include conftest.c >&5
 > conftest.c:75: error: "_DARWIN_C_SOURCE" redefined [-Werror]
 ...
 > It thinks gcc13 does not support gnu11 :)

 Not exactly. GCC is very good at backward compatibility with older OS
 versions, but not so much with older build systems. You could try to
 figure out where the earlier `_DARWIN_C_SOURCE` definition comes from, but
 redefining a token is in no way an error in C (AFAIK!) so at least the
 `-Werror` argument would have to be dropped from CFLAGS during these
 tests.

-- 
Ticket URL: <https://trac.macports.org/ticket/69539#comment:37>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list