diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 18:57:49 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 18:57:49 +0000 |
commit | 4e429c454b1434c09937e0b21a88de90842dc25f (patch) | |
tree | 93c271ce3ae71c5c256a834efc55a3c3b0f42c91 /mail/avenger/patches | |
parent | 6fb7111e7d1aa46ae60bd34781825dcf58cc1f99 (diff) | |
download | pkgsrc-4e429c454b1434c09937e0b21a88de90842dc25f.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'mail/avenger/patches')
-rw-r--r-- | mail/avenger/patches/patch-util_avutil.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/avenger/patches/patch-util_avutil.h b/mail/avenger/patches/patch-util_avutil.h new file mode 100644 index 00000000000..df627e78834 --- /dev/null +++ b/mail/avenger/patches/patch-util_avutil.h @@ -0,0 +1,18 @@ +$NetBSD: patch-util_avutil.h,v 1.1 2012/02/16 19:00:14 hans Exp $ + +--- util/avutil.h.orig 2008-05-20 20:48:23.000000000 +0200 ++++ util/avutil.h 2012-01-27 11:02:13.469861902 +0100 +@@ -70,6 +70,13 @@ int clock_gettime (int, struct timespec + # define CLOCK_PROF 2 + #endif /* !CLOCK_PROF */ + ++#ifndef HAVE_INT16 ++typedef short int16_t; ++#endif /* !HAVE_INT16 */ ++#ifndef HAVE_U_INT16 ++typedef unsigned short u_int16_t; ++#endif /* !HAVE_U_INT16 */ ++ + #ifndef HAVE_INT32_T + typedef int int32_t; + #endif /* !HAVE_INT32_T */ |