media/libogg/solaris-types.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libogg/solaris-types.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +Index: include/ogg/os_types.h
     1.5 +===================================================================
     1.6 +--- include/ogg/os_types.h      (revision 18100)
     1.7 ++++ include/ogg/os_types.h      (working copy)
     1.8 +@@ -75,6 +75,16 @@
     1.9 +    typedef uint32_t ogg_uint32_t;
    1.10 +    typedef int64_t ogg_int64_t;
    1.11 + 
    1.12 ++#elif defined(__sun__)
    1.13 ++
    1.14 ++   /* Solaris and derivatives */
    1.15 ++#  include <inttypes.h>
    1.16 ++   typedef int16_t ogg_int16_t;
    1.17 ++   typedef uint16_t ogg_uint16_t;
    1.18 ++   typedef int32_t ogg_int32_t;
    1.19 ++   typedef uint32_t ogg_uint32_t;
    1.20 ++   typedef int64_t ogg_int64_t;
    1.21 ++
    1.22 + #elif defined(__HAIKU__)
    1.23 + 
    1.24 +   /* Haiku */
    1.25 +

mercurial