summaryrefslogtreecommitdiff
path: root/audio/flac
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-12-29 05:36:39 +0000
committerobache <obache@pkgsrc.org>2008-12-29 05:36:39 +0000
commitc7ff3f4cae51ff58a407dbb8a6878041d365248e (patch)
tree20969f82935b479af764dbcf9229596620c561e5 /audio/flac
parent4b383bc4fdc5f65ddbe5d3a3c1c73d8c375c05ea (diff)
downloadpkgsrc-c7ff3f4cae51ff58a407dbb8a6878041d365248e.tar.gz
Conditionally include stdint.h for Solaris<10.
Fixes build failure reported by PR 40265.
Diffstat (limited to 'audio/flac')
-rw-r--r--audio/flac/distinfo3
-rw-r--r--audio/flac/patches/patch-ay15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
index a3239fc791c..320e9f634f1 100644
--- a/audio/flac/distinfo
+++ b/audio/flac/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2007/11/21 12:47:04 drochner Exp $
+$NetBSD: distinfo,v 1.18 2008/12/29 05:36:39 obache Exp $
SHA1 (flac-1.2.1.tar.gz) = bd54354900181b59db3089347cc84ad81e410b38
RMD160 (flac-1.2.1.tar.gz) = bd3223c848054f0a75d11200b30f903bdd375bfc
@@ -12,3 +12,4 @@ SHA1 (patch-af) = a91054ce5d37ac2dc88725fa68c59413b5f52067
SHA1 (patch-ag) = 39cd81f6ad7451c572d5e5c3c697c7afaa1c65a4
SHA1 (patch-ah) = 8a2b3d16731c5a41df5679cae915233ed63fdef0
SHA1 (patch-ai) = 3cabee2e807e4ab3d6e24266fb7a99e86bf3f4e9
+SHA1 (patch-ay) = f3af19f5f005538580a607887e23679cc0e7f0f2
diff --git a/audio/flac/patches/patch-ay b/audio/flac/patches/patch-ay
new file mode 100644
index 00000000000..e329fbdb62c
--- /dev/null
+++ b/audio/flac/patches/patch-ay
@@ -0,0 +1,15 @@
+$NetBSD: patch-ay,v 1.1 2008/12/29 05:36:40 obache Exp $
+
+--- include/share/alloc.h.orig 2007-09-12 05:32:21.000000000 +0000
++++ include/share/alloc.h
+@@ -29,8 +29,10 @@
+
+ #include <limits.h> /* for SIZE_MAX */
+ #if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
++#ifdef HAVE_STDINT_H
+ #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
+ #endif
++#endif
+ #include <stdlib.h> /* for size_t, malloc(), etc */
+
+ #ifndef SIZE_MAX