pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/flac Added a patch for Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f00567fcfcfe
branches:  trunk
changeset: 559979:f00567fcfcfe
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jun 05 20:47:30 2009 +0000

description:
Added a patch for Linux.

Fixed pkglint warnings.

diffstat:

 audio/flac/Makefile         |   6 +++---
 audio/flac/distinfo         |   3 ++-
 audio/flac/patches/patch-az |  14 ++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r feae23e504fd -r f00567fcfcfe audio/flac/Makefile
--- a/audio/flac/Makefile       Fri Jun 05 20:00:26 2009 +0000
+++ b/audio/flac/Makefile       Fri Jun 05 20:47:30 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2007/11/21 12:47:04 drochner Exp $
+# $NetBSD: Makefile,v 1.43 2009/06/05 20:47:30 rillig Exp $
 
 DISTNAME=      flac-1.2.1
 CATEGORIES=    audio archivers
@@ -29,10 +29,10 @@
 .endif
 
 .if !empty(MACHINE_PLATFORM:M*-*-powerpc)
-.if ${OPSYS} != "Darwin"
+.  if ${OPSYS} != "Darwin"
 CONFIGURE_ARGS+=       --disable-asm-optimizations
 CONFIGURE_ARGS+=       --disable-altivec
-.endif
+.  endif
 .endif
 
 .if !empty(MACHINE_PLATFORM:MDarwin-*-i386)
diff -r feae23e504fd -r f00567fcfcfe audio/flac/distinfo
--- a/audio/flac/distinfo       Fri Jun 05 20:00:26 2009 +0000
+++ b/audio/flac/distinfo       Fri Jun 05 20:47:30 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2008/12/29 05:36:39 obache Exp $
+$NetBSD: distinfo,v 1.19 2009/06/05 20:47:30 rillig Exp $
 
 SHA1 (flac-1.2.1.tar.gz) = bd54354900181b59db3089347cc84ad81e410b38
 RMD160 (flac-1.2.1.tar.gz) = bd3223c848054f0a75d11200b30f903bdd375bfc
@@ -13,3 +13,4 @@
 SHA1 (patch-ah) = 8a2b3d16731c5a41df5679cae915233ed63fdef0
 SHA1 (patch-ai) = 3cabee2e807e4ab3d6e24266fb7a99e86bf3f4e9
 SHA1 (patch-ay) = f3af19f5f005538580a607887e23679cc0e7f0f2
+SHA1 (patch-az) = 2cb3b188d14f388b20831e189317312709d926a8
diff -r feae23e504fd -r f00567fcfcfe audio/flac/patches/patch-az
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flac/patches/patch-az       Fri Jun 05 20:47:30 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-az,v 1.1 2009/06/05 20:47:30 rillig Exp $
+
+memcpy() needs this.
+
+--- examples/cpp/encode/file/main.cpp.orig     2007-09-13 17:58:03.000000000 +0200
++++ examples/cpp/encode/file/main.cpp  2009-06-05 22:39:37.000000000 +0200
+@@ -30,6 +30,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
+ 



Home | Main Index | Thread Index | Old Index