pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/advancecomp



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Apr 14 17:48:56 UTC 2017

Modified Files:
        pkgsrc/archivers/advancecomp: distinfo
Added Files:
        pkgsrc/archivers/advancecomp/patches: patch-libdeflate_compiler__gcc.h

Log Message:
Avoid type conflicts with compiler builtins by including the correct
system header first before defining macros of the same name.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/archivers/advancecomp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/archivers/advancecomp/patches/patch-libdeflate_compiler__gcc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/advancecomp/distinfo
diff -u pkgsrc/archivers/advancecomp/distinfo:1.8 pkgsrc/archivers/advancecomp/distinfo:1.9
--- pkgsrc/archivers/advancecomp/distinfo:1.8   Tue Apr 11 13:47:08 2017
+++ pkgsrc/archivers/advancecomp/distinfo       Fri Apr 14 17:48:56 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/04/11 13:47:08 mef Exp $
+$NetBSD: distinfo,v 1.9 2017/04/14 17:48:56 joerg Exp $
 
 SHA1 (advancecomp-1.23.tar.gz) = 0c6d24c4a01eed5e229cb1fda2017fdce0a26fbc
 RMD160 (advancecomp-1.23.tar.gz) = cd99a36ba2d4d428d08e91c566228550f41bd9f5
@@ -7,3 +7,4 @@ Size (advancecomp-1.23.tar.gz) = 1288937
 SHA1 (patch-aa) = ddc8b6981e1e0b46ac6291aee65d56cdae9f0998
 SHA1 (patch-ab) = 1e6e10943bd2a414d4f704bd94b1de3d1036dd90
 SHA1 (patch-ac) = d08d44224c4351c66c920b26bacc3f749a54d31a
+SHA1 (patch-libdeflate_compiler__gcc.h) = e7d0c01f7fae2ea53e74edd0e849e9243b132661

Added files:

Index: pkgsrc/archivers/advancecomp/patches/patch-libdeflate_compiler__gcc.h
diff -u /dev/null pkgsrc/archivers/advancecomp/patches/patch-libdeflate_compiler__gcc.h:1.1
--- /dev/null   Fri Apr 14 17:48:56 2017
+++ pkgsrc/archivers/advancecomp/patches/patch-libdeflate_compiler__gcc.h       Fri Apr 14 17:48:56 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-libdeflate_compiler__gcc.h,v 1.1 2017/04/14 17:48:56 joerg Exp $
+
+--- libdeflate/compiler_gcc.h.orig     2017-04-12 14:01:12.705351515 +0000
++++ libdeflate/compiler_gcc.h
+@@ -3,6 +3,11 @@
+  * handles clang and the Intel C Compiler.
+  */
+ 
++#ifdef __NetBSD__
++/* Avoid conflicts due to changing the prototypes of bswap32 and co. */
++#include <sys/endian.h>
++#endif
++
+ #define GCC_PREREQ(major, minor)              \
+       (__GNUC__ > (major) ||                  \
+        (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))



Home | Main Index | Thread Index | Old Index