diff options
Diffstat (limited to 'www/amaya/patches/patch-ad')
-rw-r--r-- | www/amaya/patches/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/amaya/patches/patch-ad b/www/amaya/patches/patch-ad new file mode 100644 index 00000000000..a8f32e8f9b7 --- /dev/null +++ b/www/amaya/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.8 2004/05/13 03:47:29 xtraeme Exp $ + +--- ../tools/mkdep/mkdep.c.orig 2004-05-13 05:34:59.000000000 +0200 ++++ ../tools/mkdep/mkdep.c 2004-05-13 05:35:12.000000000 +0200 +@@ -385,7 +385,7 @@ + res = munmap(mmap_map, (size_t) mmap_mapsize); + if (res < 0) perror("unmap failed"); + #else +- mmap_map = malloc(mmap_mapsize); ++ mmap_map = (char *)malloc(mmap_mapsize); + if (mmap_map == NULL) { + perror("malloc failed"); + exit(1); |