[Bug 243616] deskutils/cfiles: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: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=243616

            Bug ID: 243616
           Summary: deskutils/cfiles: Fails to build on FreeBSD
                    12.1-RELEASE-p1 powerpc 32 bit:error: 'for' loop
                    initial declaration used outside C99 mode
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
                CC: [email protected]

Problem found when building deskutils/cfiles on FreeBSD 12.1-RELEASE-p1 powerpc
32 bit, running on Apple Powerbook 17".



/usr/ports/deskutils/cfiles # make -DBATCH install clean
===>  License MIT accepted by the user
===>   cfiles-1.8_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by cfiles-1.8_1 for building
===>  Extracting for cfiles-1.8_1
=> SHA256 Checksum OK for mananapr-cfiles-v1.8_GH0.tar.gz.
===>  Patching for cfiles-1.8_1
===>  Applying FreeBSD patches for cfiles-1.8_1
===>   cfiles-1.8_1 depends on file: /usr/local/lib/libncurses.so.6 - found
===>   cfiles-1.8_1 depends on package: pkgconf>=1.3.0_1 - found
===>  Configuring for cfiles-1.8_1
===>  Building for cfiles-1.8_1
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  `pkg-config
--cflags ncursesw` cf.c -o cfiles  `pkg-config --libs ncursesw`
cf.c: In function 'replace':
cf.c:592: error: 'for' loop initial declaration used outside C99 mode
*** [all] Error code 1

make[1]: stopped in /usr/ports/deskutils/cfiles/work/cfiles-1.8
1 error

make[1]: stopped in /usr/ports/deskutils/cfiles/work/cfiles-1.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/cfiles

-- 
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.