[Pkg-sysvinit-devel] Bug#777914: insserv: Adding patch
Mohit Bhakkad
mohit.bhakkad at gmail.com
Sat Apr 4 20:25:14 UTC 2015
Package: insserv
Version: 1.14.0-5
Followup-For: Bug #777914
Dear Maintainer,
* I am trying to build this package using clang compiler and getting
all the errors reported in this bug by Matthias.
* Looking into code, I found that errors are due to an assumption
about relation between __STDC_VERSION__ and definition of "extension"
in listing.h
* I observed that this gets build with gcc-4.9.2, as for gcc
__STDC_VERSION__ is not defined.
* I tested it with clang-3.5(__STDC_VERSION__ 199901L) and
clang 3.7(__STDC_VERSION__ 201112L) and getting same errors, so extension
is undefined even for __STDC_VERSION__ > 199901L.
* So moving definition of "extension" outside if loop.
Patch at:
https://raw.githubusercontent.com/Mohit7/Debian-Clang/master/161_bts777914_fix_undeclared_identifier.patch
More information about the Pkg-sysvinit-devel
mailing list