pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/libaudiofile
Module Name: pkgsrc
Committed By: maya
Date: Sun Dec 18 23:40:23 UTC 2016
Modified Files:
pkgsrc/audio/libaudiofile: distinfo
pkgsrc/audio/libaudiofile/patches:
patch-libaudiofile_modules_SimpleModule.h
Log Message:
libaudiofile: different way of doing the same operation, it's unclear
to me why it fails for others, but maybe this one works.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/libaudiofile/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/libaudiofile/distinfo
diff -u pkgsrc/audio/libaudiofile/distinfo:1.27 pkgsrc/audio/libaudiofile/distinfo:1.28
--- pkgsrc/audio/libaudiofile/distinfo:1.27 Sat Dec 17 16:40:31 2016
+++ pkgsrc/audio/libaudiofile/distinfo Sun Dec 18 23:40:22 2016
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.27 2016/12/17 16:40:31 maya Exp $
+$NetBSD: distinfo,v 1.28 2016/12/18 23:40:22 maya Exp $
SHA1 (audiofile-0.3.6.tar.gz) = 3aba3ef724b1b5f88cfc20ab9f8ce098e6c35a0e
RMD160 (audiofile-0.3.6.tar.gz) = d0666dbf98cb4b41304b01e1b4f8ca15fe9288d8
SHA512 (audiofile-0.3.6.tar.gz) = f9a1182d93e405c21eba79c5cc40962347bff13f1b3b732d9a396e3d1675297515188bd6eb43033aaa00e9bde74ff4628c1614462456529cabba464f03c1d5fa
Size (audiofile-0.3.6.tar.gz) = 811733 bytes
SHA1 (patch-libaudiofile_CAF.cpp) = ddea79105f9b1e7222f91649815668d3a8ee6e98
-SHA1 (patch-libaudiofile_modules_SimpleModule.h) = 73aeee36ef390502b38353e35bb56776a4ca052d
+SHA1 (patch-libaudiofile_modules_SimpleModule.h) = f1e3842d3d9ddcea6b547bbeb5991769855ab2fc
Index: pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h
diff -u pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h:1.1 pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h:1.2
--- pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h:1.1 Sat Dec 17 16:40:31 2016
+++ pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_modules_SimpleModule.h Sun Dec 18 23:40:23 2016
@@ -1,4 +1,4 @@
-$NetBSD: patch-libaudiofile_modules_SimpleModule.h,v 1.1 2016/12/17 16:40:31 maya Exp $
+$NetBSD: patch-libaudiofile_modules_SimpleModule.h,v 1.2 2016/12/18 23:40:23 maya Exp $
Left shift of a negative number is UB and doesn't build (-fpermissive)
Switch with functionally identical but well-defined operation.
@@ -10,7 +10,7 @@ Switch with functionally identical but w
static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
- static const int kMinSignedValue = -1 << kScaleBits;
-+ static const int kMinSignedValue = ~((1 << kScaleBits) - 1);
++ static const int kMinSignedValue = -(1 << kScaleBits);
struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
{
Home |
Main Index |
Thread Index |
Old Index