Loading debian/changelog +3 −1 Original line number Diff line number Diff line Loading @@ -4,8 +4,10 @@ elph (1.0.1-3) UNRELEASED; urgency=medium * Review watch file * cme fix dpkg-control * Standards-Version: 4.2.1 * Enable building with clang (thanks for the hint to Luke Benes <lukebenes@hotmail.com>) -- Andreas Tille <tille@debian.org> Wed, 05 Sep 2018 18:06:47 +0200 -- Andreas Tille <tille@debian.org> Thu, 20 Jun 2019 22:34:09 +0200 elph (1.0.1-2) unstable; urgency=medium Loading debian/patches/clang.patch 0 → 100644 +20 −0 Original line number Diff line number Diff line Author: Luke Benes <lukebenes@hotmail.com> Last-Update: Thu, 20 Jun 2019 18:40:25 +0000 Desctiption: In my testing, '-I-' is unnecessary for both g++ and clang. With clang it breaks the build with . clang: error: '-I-' not supported, please use -iquote instead . See https://clang.debian.net/logs/2019-01-09-7.0.1/elph_1.0.1-2_unstable_clang.log --- a/sources/Makefile +++ b/sources/Makefile @@ -1,7 +1,7 @@ CLASSDIR := . # Directories to search for header files -SEARCHDIRS := -I- -I${CLASSDIR} +SEARCHDIRS := -I${CLASSDIR} SYSTYPE := $(shell uname) debian/patches/series +1 −0 Original line number Diff line number Diff line toplevelmakefile.patch clang.patch Loading
debian/changelog +3 −1 Original line number Diff line number Diff line Loading @@ -4,8 +4,10 @@ elph (1.0.1-3) UNRELEASED; urgency=medium * Review watch file * cme fix dpkg-control * Standards-Version: 4.2.1 * Enable building with clang (thanks for the hint to Luke Benes <lukebenes@hotmail.com>) -- Andreas Tille <tille@debian.org> Wed, 05 Sep 2018 18:06:47 +0200 -- Andreas Tille <tille@debian.org> Thu, 20 Jun 2019 22:34:09 +0200 elph (1.0.1-2) unstable; urgency=medium Loading
debian/patches/clang.patch 0 → 100644 +20 −0 Original line number Diff line number Diff line Author: Luke Benes <lukebenes@hotmail.com> Last-Update: Thu, 20 Jun 2019 18:40:25 +0000 Desctiption: In my testing, '-I-' is unnecessary for both g++ and clang. With clang it breaks the build with . clang: error: '-I-' not supported, please use -iquote instead . See https://clang.debian.net/logs/2019-01-09-7.0.1/elph_1.0.1-2_unstable_clang.log --- a/sources/Makefile +++ b/sources/Makefile @@ -1,7 +1,7 @@ CLASSDIR := . # Directories to search for header files -SEARCHDIRS := -I- -I${CLASSDIR} +SEARCHDIRS := -I${CLASSDIR} SYSTYPE := $(shell uname)
debian/patches/series +1 −0 Original line number Diff line number Diff line toplevelmakefile.patch clang.patch