pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40265: audio/flac - portability patch for Solaris < 10
>Number: 40265
>Category: pkg
>Synopsis: audio/flac - portability patch for Solaris < 10
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 24 19:35:00 +0000 2008
>Originator: Tim Larson
>Release:
>Organization:
>Environment:
SunOS marcie 5.9 Generic_118558-34 sun4u sparc SUNW,Ultra-5_10
>Description:
Older Solaris does not have a stdint.h - inttypes.h is the rough equivalent.
>How-To-Repeat:
>Fix:
--- distinfo.orig Wed Nov 21 06:47:04 2007
+++ distinfo Wed Dec 24 12:24:21 2008
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2007/11/21 12:47:04 drochner Exp $
+$NetBSD$
SHA1 (flac-1.2.1.tar.gz) = bd54354900181b59db3089347cc84ad81e410b38
RMD160 (flac-1.2.1.tar.gz) = bd3223c848054f0a75d11200b30f903bdd375bfc
@@ -12,3 +12,4 @@
SHA1 (patch-ag) = 39cd81f6ad7451c572d5e5c3c697c7afaa1c65a4
SHA1 (patch-ah) = 8a2b3d16731c5a41df5679cae915233ed63fdef0
SHA1 (patch-ai) = 3cabee2e807e4ab3d6e24266fb7a99e86bf3f4e9
+SHA1 (patch-aj) = 5fb6d3eba7473a973668ca0e44492dd07d76d190
root@marcie 195# more patches/patch-aj
--- include/share/alloc.h.orig Wed Dec 24 12:19:20 2008
+++ include/share/alloc.h Wed Dec 24 11:32:16 2008
@@ -29,8 +29,12 @@
#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 */
+#elif HAVE_INTTYPES_H
+#include <inttypes.h>
#endif
+#endif
#include <stdlib.h> /* for size_t, malloc(), etc */
#ifndef SIZE_MAX
Home |
Main Index |
Thread Index |
Old Index