diff options
-rw-r--r-- | audio/libgpod/distinfo | 3 | ||||
-rw-r--r-- | audio/libgpod/patches/patch-ab | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/libgpod/distinfo b/audio/libgpod/distinfo index ff62abb90c6..74a9ff0dde7 100644 --- a/audio/libgpod/distinfo +++ b/audio/libgpod/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2007/02/07 22:30:10 drochner Exp $ +$NetBSD: distinfo,v 1.4 2007/07/23 23:58:35 wiz Exp $ SHA1 (libgpod-0.4.2.tar.gz) = b2aece62a206a5b703c50e6625b173217f1d67a6 RMD160 (libgpod-0.4.2.tar.gz) = 5f69a0455412771e7bc33e9f4c1996454da9792e Size (libgpod-0.4.2.tar.gz) = 768720 bytes SHA1 (patch-aa) = 10c09bf41c73667a93667d13f2e2a83478e680f5 +SHA1 (patch-ab) = e405427a69ae2257bd509fa9261eb3571eeb138d diff --git a/audio/libgpod/patches/patch-ab b/audio/libgpod/patches/patch-ab new file mode 100644 index 00000000000..88e03219a93 --- /dev/null +++ b/audio/libgpod/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.3 2007/07/23 23:58:35 wiz Exp $ + +--- src/db-artwork-writer.c.orig 2006-11-11 11:40:45.000000000 +0000 ++++ src/db-artwork-writer.c +@@ -118,9 +118,13 @@ ipod_buffer_grow_mapping (iPodBuffer *bu + { + void *new_address; + #ifdef HAVE_MREMAP +- ++#if defined(__NetBSD__) ++ new_address = mremap (buffer->mmap->mmap_area, buffer->mmap->size, ++ buffer->mmap->mmap_area, buffer->mmap->size + size, 0); ++#else + new_address = mremap (buffer->mmap->mmap_area, buffer->mmap->size, + buffer->mmap->size + size, 0); ++#endif + #else + munmap (buffer->mmap->mmap_area, buffer->mmap->size); + new_address = mmap (buffer->mmap->mmap_area, buffer->mmap->size + size, |