summaryrefslogtreecommitdiff
path: root/audio/amarok/patches
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2007-11-19 09:53:04 +0000
committerdillo <dillo@pkgsrc.org>2007-11-19 09:53:04 +0000
commit2e69db5959356267c837021e0059528359018b53 (patch)
tree8fddff94c0e171e9b32fb0a69d3333ee2fd2a1a1 /audio/amarok/patches
parentbda29e210e865e23c6bf56536ce81c9df2829d1e (diff)
downloadpkgsrc-2e69db5959356267c837021e0059528359018b53.tar.gz
MP4Close returns void now, adapt.
Patch will be sent upstream shortly.
Diffstat (limited to 'audio/amarok/patches')
-rw-r--r--audio/amarok/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/amarok/patches/patch-aa b/audio/amarok/patches/patch-aa
new file mode 100644
index 00000000000..4d7ab406901
--- /dev/null
+++ b/audio/amarok/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.12 2007/11/19 09:54:09 dillo Exp $
+
+--- amarok/src/metadata/mp4/mp4file.cpp.orig 2007-08-07 19:48:28.000000000 +0200
++++ amarok/src/metadata/mp4/mp4file.cpp
+@@ -156,10 +156,7 @@ bool MP4::File::save()
+ }
+ #endif
+
+- if(!MP4Close(handle))
+- {
+- fprintf(stderr, "close failed\n");
+- }
++ MP4Close(handle);
+
+ mp4file = MP4Read(name());
+ if(mp4file == MP4_INVALID_FILE_HANDLE)