[Bug 245131] multimedia/libdvdnav : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: src/vm/vm.c:178: error: 'for' loop initial declaration used outside C99 mode

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245131

canardo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from canardo <[email protected]> ---
Same kind of error with multimedia/libdvdread

/usr/ports/multimedia/libdvdread # make --DBATCH install clean
.....
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./src -I./src/dvdread -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -Wall -Wsign-compare -Wextra -MT
src/ifo_read.lo -MD -MP -MF src/.deps/ifo_read.Tpo -c src/ifo_read.c  -fPIC
-DPIC -o src/.libs/ifo_read.o
src/ifo_read.c: In function 'makehexdump':
src/ifo_read.c:56: error: 'for' loop initial declaration used outside C99 mode
src/ifo_read.c: In function 'ifoOpenVMGI':
src/ifo_read.c:417: error: 'for' loop initial declaration used outside C99 mode
src/ifo_read.c: In function 'ifoOpenVTSI':
src/ifo_read.c:453: error: 'for' loop initial declaration used outside C99 mode
gmake[2]: *** [Makefile:575: src/ifo_read.lo] Error 1
gmake[2]: Leaving directory
'/usr/ports/multimedia/libdvdread/work/libdvdread-6.1.0'
gmake[1]: *** [Makefile:420: all] Error 2
gmake[1]: Leaving directory
'/usr/ports/multimedia/libdvdread/work/libdvdread-6.1.0'
===> Compilation failed unexpectedly.


It looks quite similar but I can open a dedicated PR if needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.