diff options
author | hans <hans> | 2012-01-11 19:38:24 +0000 |
---|---|---|
committer | hans <hans> | 2012-01-11 19:38:24 +0000 |
commit | 48b7679328d1d9e213ee2103f76abdff333e6fe0 (patch) | |
tree | f7eb9d66351af557db56c4b4e0b043477b1f6f9d /audio/mp3wrap | |
parent | 08a71112d6e516d548bafd95e58a2aab1a56d1c8 (diff) | |
download | pkgsrc-48b7679328d1d9e213ee2103f76abdff333e6fe0.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/mp3wrap')
-rw-r--r-- | audio/mp3wrap/distinfo | 3 | ||||
-rw-r--r-- | audio/mp3wrap/patches/patch-crc.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/mp3wrap/distinfo b/audio/mp3wrap/distinfo index e8adb0ceea5..6d32ba49509 100644 --- a/audio/mp3wrap/distinfo +++ b/audio/mp3wrap/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/11/30 19:06:41 drochner Exp $ +$NetBSD: distinfo,v 1.2 2012/01/11 19:42:36 hans Exp $ SHA1 (mp3wrap-0.5-src.tar.gz) = 458b7e9dce5d7a867b1be73554dd14043a4cd421 RMD160 (mp3wrap-0.5-src.tar.gz) = e367caeb39b582609db986359b99b43b050be882 Size (mp3wrap-0.5-src.tar.gz) = 113008 bytes +SHA1 (patch-crc.c) = c561ac268e4bdf2ef606f7b27603f4d1f37c4990 diff --git a/audio/mp3wrap/patches/patch-crc.c b/audio/mp3wrap/patches/patch-crc.c new file mode 100644 index 00000000000..cfba0f702fa --- /dev/null +++ b/audio/mp3wrap/patches/patch-crc.c @@ -0,0 +1,17 @@ +$NetBSD: patch-crc.c,v 1.1 2012/01/11 19:42:36 hans Exp $ + +--- crc.c.orig 2003-01-10 23:19:35.000000000 +0100 ++++ crc.c 2012-01-02 11:51:34.876664374 +0100 +@@ -25,10 +25,11 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <stdint.h> + + #include "crc.h" + +-static const u_int32_t crctab[256] = { ++static const uint32_t crctab[256] = { + 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, + 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, + 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, |