diff options
author | rillig <rillig@pkgsrc.org> | 2009-06-05 20:47:30 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2009-06-05 20:47:30 +0000 |
commit | 66a68b7113a54270c4735a689cfb90f513e83d18 (patch) | |
tree | f838afb5845cb84f3d24dffa56e9ba5cc2f3e35f /audio/flac | |
parent | 9e7d00b618adb02d53561de25afb7db2e9a3f334 (diff) | |
download | pkgsrc-66a68b7113a54270c4735a689cfb90f513e83d18.tar.gz |
Added a patch for Linux.
Fixed pkglint warnings.
Diffstat (limited to 'audio/flac')
-rw-r--r-- | audio/flac/Makefile | 6 | ||||
-rw-r--r-- | audio/flac/distinfo | 3 | ||||
-rw-r--r-- | audio/flac/patches/patch-az | 14 |
3 files changed, 19 insertions, 4 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index cbfa069ce2e..3680354d9e9 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -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 @@ BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm .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 --git a/audio/flac/distinfo b/audio/flac/distinfo index 320e9f634f1..b8e37126840 100644 --- a/audio/flac/distinfo +++ b/audio/flac/distinfo @@ -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-ag) = 39cd81f6ad7451c572d5e5c3c697c7afaa1c65a4 SHA1 (patch-ah) = 8a2b3d16731c5a41df5679cae915233ed63fdef0 SHA1 (patch-ai) = 3cabee2e807e4ab3d6e24266fb7a99e86bf3f4e9 SHA1 (patch-ay) = f3af19f5f005538580a607887e23679cc0e7f0f2 +SHA1 (patch-az) = 2cb3b188d14f388b20831e189317312709d926a8 diff --git a/audio/flac/patches/patch-az b/audio/flac/patches/patch-az new file mode 100644 index 00000000000..52801d61a71 --- /dev/null +++ b/audio/flac/patches/patch-az @@ -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" + |