[Pkg-electronics-devel] Bug#757263: Bug#757263: New patch
Arthur Marble
arthur at info9.net
Sun Aug 10 20:37:34 UTC 2014
Yes that would be much better.
On Sun, Aug 10, 2014 at 4:50 AM, أحمد المحمودي <
aelmahmoudy at users.sourceforge.net> wrote:
> On Thu, Aug 07, 2014 at 01:35:34PM -0500, Arthur Marble wrote:
> > diff -Naur covered.orig/covered-0.7.10/debian/patches/clang-ftbfs.diff
> covered/covered-0.7.10/debian/patches/clang-ftbfs.diff
> > --- covered.orig/covered-0.7.10/debian/patches/clang-ftbfs.diff
> 1969-12-31 18:00:00.000000000 -0600
> > +++ covered/covered-0.7.10/debian/patches/clang-ftbfs.diff 2014-08-07
> 13:19:49.684388142 -0500
> > @@ -0,0 +1,16 @@
> > +--- a/src/lxt2_read.h
> > ++++ b/src/lxt2_read.h
> > +@@ -47,10 +47,10 @@ typedef long off_t;
> > + #include <zlib.h>
> > + #endif
> > +
> > +-#ifdef __GNUC__
> > +-#define _LXT2_RD_INLINE inline
> > +-#else
> > ++#ifdef __clang__
> > + #define _LXT2_RD_INLINE
> > ++#else
> > ++#define _LXT2_RD_INLINE inline
> > + #endif
> > +
> > + #define LXT2_RDLOAD "LXTLOAD | "
> ---end quoted text---
>
> Shouldn't this better be:
>
> #ifdef __clang__
> #define _LXT2_RD_INLINE
> #else
> # ifdef __GNUC__
> # define _LXT2_RD_INLINE inline
> # else
> # define _LXT2_RD_INLINE
> # endif
> #endif
>
> in order to keep upstream logic the same ?
>
> --
> أحمد المحمودي (Ahmed El-Mahmoudy)
> Digital design engineer
> GPG KeyID: 0xEDDDA1B7
> GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/attachments/20140810/fa568c49/attachment.html>
More information about the Pkg-electronics-devel
mailing list