summaryrefslogtreecommitdiff
path: root/mail/avenger/patches
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 18:57:49 +0000
committerhans <hans@pkgsrc.org>2012-02-16 18:57:49 +0000
commit4e429c454b1434c09937e0b21a88de90842dc25f (patch)
tree93c271ce3ae71c5c256a834efc55a3c3b0f42c91 /mail/avenger/patches
parent6fb7111e7d1aa46ae60bd34781825dcf58cc1f99 (diff)
downloadpkgsrc-4e429c454b1434c09937e0b21a88de90842dc25f.tar.gz
Fix build on SunOS.
Diffstat (limited to 'mail/avenger/patches')
-rw-r--r--mail/avenger/patches/patch-util_avutil.h18
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 */