pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/p5-Sereal-Decoder



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Sun Dec 11 20:30:35 UTC 2016

Modified Files:
        pkgsrc/converters/p5-Sereal-Decoder: Makefile distinfo
Added Files:
        pkgsrc/converters/p5-Sereal-Decoder/patches:
            patch-snappy_csnappy__internal__userspace.h

Log Message:
Add patch to fix the build when using gcc on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/converters/p5-Sereal-Decoder/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/converters/p5-Sereal-Decoder/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/converters/p5-Sereal-Decoder/patches/patch-snappy_csnappy__internal__userspace.h

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

Modified files:

Index: pkgsrc/converters/p5-Sereal-Decoder/Makefile
diff -u pkgsrc/converters/p5-Sereal-Decoder/Makefile:1.8 pkgsrc/converters/p5-Sereal-Decoder/Makefile:1.9
--- pkgsrc/converters/p5-Sereal-Decoder/Makefile:1.8    Wed Jun  8 19:22:21 2016
+++ pkgsrc/converters/p5-Sereal-Decoder/Makefile        Sun Dec 11 20:30:35 2016
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2016/06/08 19:22:21 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2016/12/11 20:30:35 wiedi Exp $
 
 DISTNAME=      Sereal-Decoder-3.014
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    security perl5 converters
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../CPAN/authors/id/Y/YV/YVES/}
 

Index: pkgsrc/converters/p5-Sereal-Decoder/distinfo
diff -u pkgsrc/converters/p5-Sereal-Decoder/distinfo:1.6 pkgsrc/converters/p5-Sereal-Decoder/distinfo:1.7
--- pkgsrc/converters/p5-Sereal-Decoder/distinfo:1.6    Sun May  8 15:07:40 2016
+++ pkgsrc/converters/p5-Sereal-Decoder/distinfo        Sun Dec 11 20:30:35 2016
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2016/05/08 15:07:40 wen Exp $
+$NetBSD: distinfo,v 1.7 2016/12/11 20:30:35 wiedi Exp $
 
 SHA1 (Sereal-Decoder-3.014.tar.gz) = 79962f925b2f7dc3920c913d0b033da860a84012
 RMD160 (Sereal-Decoder-3.014.tar.gz) = bc15b504e216305349fd5192f337202d93e21480
 SHA512 (Sereal-Decoder-3.014.tar.gz) = 00ac49d18033fa177fa12d36b0527f327eaed54c96a065783da6c209db24764b4487464312a933ac24d51d94ef79293c0cb1aa938f6e4704a3b0a11b30151e22
 Size (Sereal-Decoder-3.014.tar.gz) = 369546 bytes
+SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006

Added files:

Index: pkgsrc/converters/p5-Sereal-Decoder/patches/patch-snappy_csnappy__internal__userspace.h
diff -u /dev/null pkgsrc/converters/p5-Sereal-Decoder/patches/patch-snappy_csnappy__internal__userspace.h:1.1
--- /dev/null   Sun Dec 11 20:30:35 2016
+++ pkgsrc/converters/p5-Sereal-Decoder/patches/patch-snappy_csnappy__internal__userspace.h     Sun Dec 11 20:30:35 2016
@@ -0,0 +1,30 @@
+$NetBSD: patch-snappy_csnappy__internal__userspace.h,v 1.1 2016/12/11 20:30:35 wiedi Exp $
+
+reorder so that __sun matches before __GNUC__
+
+--- snappy/csnappy_internal_userspace.h.orig   2015-11-24 17:55:03.000000000 +0000
++++ snappy/csnappy_internal_userspace.h
+@@ -154,11 +154,6 @@ Albert Lee
+ #define __LITTLE_ENDIAN LITTLE_ENDIAN
+ #define __BIG_ENDIAN BIG_ENDIAN
+ 
+-#elif defined(__GNUC__) || defined(__ANDROID__) || defined(__CYGWIN__)
+-
+-#include <endian.h>
+-#include <byteswap.h>
+-
+ #elif defined(__sun)
+ 
+ #include <sys/byteorder.h>
+@@ -173,6 +168,11 @@ Albert Lee
+ #define __BYTE_ORDER __BIG_ENDIAN
+ #endif
+ 
++#elif defined(__GNUC__) || defined(__ANDROID__) || defined(__CYGWIN__)
++
++#include <endian.h>
++#include <byteswap.h>
++
+ #elif defined(__hpux)
+ 
+ #ifdef __LP64__



Home | Main Index | Thread Index | Old Index