diff options
author | joerg <joerg@pkgsrc.org> | 2015-02-05 17:34:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-02-05 17:34:09 +0000 |
commit | b0df33d8716a22093cf1f3344f258b389e031195 (patch) | |
tree | 226bba9939a0840cf70199f16e6d7c75469dec07 /multimedia/libaacs | |
parent | 20d708a15750502ebc498619bb896656ca5f0b09 (diff) | |
download | pkgsrc-b0df33d8716a22093cf1f3344f258b389e031195.tar.gz |
Fix build on NetBSD.
Diffstat (limited to 'multimedia/libaacs')
-rw-r--r-- | multimedia/libaacs/distinfo | 3 | ||||
-rw-r--r-- | multimedia/libaacs/patches/patch-src_file_mmc__device__linux.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/multimedia/libaacs/distinfo b/multimedia/libaacs/distinfo index 5f3e738f4af..070b429bbb8 100644 --- a/multimedia/libaacs/distinfo +++ b/multimedia/libaacs/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2015/01/31 21:46:48 adam Exp $ +$NetBSD: distinfo,v 1.5 2015/02/05 17:34:09 joerg Exp $ SHA1 (libaacs-0.8.0.tar.bz2) = 667fd744ddd73c8a3e51192dd3822f7e5002883c RMD160 (libaacs-0.8.0.tar.bz2) = fb27b9a65b3902ce66671a9d3578acba4f50604b Size (libaacs-0.8.0.tar.bz2) = 311904 bytes SHA1 (patch-src_file_file__posix.c) = 0e4b7849f2b3c9c13f71132bbb13216c758a6b14 +SHA1 (patch-src_file_mmc__device__linux.c) = 7e88ad3c842443f36feb970ddf2f6f4f01b83803 diff --git a/multimedia/libaacs/patches/patch-src_file_mmc__device__linux.c b/multimedia/libaacs/patches/patch-src_file_mmc__device__linux.c new file mode 100644 index 00000000000..823f2b24f84 --- /dev/null +++ b/multimedia/libaacs/patches/patch-src_file_mmc__device__linux.c @@ -0,0 +1,22 @@ +$NetBSD: patch-src_file_mmc__device__linux.c,v 1.1 2015/02/05 17:34:09 joerg Exp $ + +--- src/file/mmc_device_linux.c.orig 2015-02-04 13:50:55.000000000 +0000 ++++ src/file/mmc_device_linux.c +@@ -32,6 +32,7 @@ + #include "util/strutl.h" + + #include <stdlib.h> ++#include <stdio.h> + #include <string.h> + #include <unistd.h> + #include <fcntl.h> +@@ -180,8 +181,8 @@ MMCDEV *device_open(const char *path) + } else { + BD_DEBUG(DBG_MMC | DBG_CRIT, "Error opening /proc/mounts\n"); + } +-#endif + } ++#endif + + if (fd >= 0) { + dev = calloc(1, sizeof(MMCDEV)); |