patches/libcdio-02-stdint.diff
author markwright
Mon, 05 Nov 2007 02:21:29 +0000
changeset 622 bc226394631c
permissions -rw-r--r--
2007-11-5 Mark Wright <[email protected]> * SFEgawk.spec: Bump to 3.1.6. * SFElibcdio.spec: Bump to 0.79. Add libcdio-02-stdint.diff. * base-specs/libcdio.spec: Bump to 0.79. * patches/libcdio-02-stdint.diff. Integer typedefs. * SFElibmng.spec: Bump to 1.1.10 * SFEliveMedia.spec: Bump to 2007.11.01. Add patch2 to use /usr/gnu/bin/ld. * patches/liveMedia-02-config.diff: Use /usr/gnu/bin/ld and build shared libraries instead of static. * SFElsof.spec: Bump to 4.78. * SFEncurses.spec: Bump to 5.6. Set LDFLAGS=-m64 for 64 bit build. * base-specs/ncurses.spec: ditto * SFExine-ui.spec: Bump to 0.99.5. Use SFEgcc. Commented patch1, patch2 and patch3. Add patch4 for INADDR_NONE. * patches/xine-ui-04-configure.diff: INADDR_NONE. * encumbered/SFEfaad2.spec: Bump to 2.6.1. Bump patch2 and patch4. Comment patch1, patch3 and patch5. * patches/faad-02-inline.diff: Bump. * patches/faad-04-wall.diff: Bump. * encumbered/SFElibmpcdec.spec: Bump to 1.2.6. * encumbered/SFEmplayer-codecs.spec: Bump to 20071007. * encumbered/SFEmplayer.spec: Bump to 1.0rc2. Change SUNWlibcdio to SFElibcdio. Remove SFElibfame. Comment mplayer-02-makefile-libfame-dep.diff (libfame removed). Bump patch1. Comment patch3 (already applied). Add BuildRequires: SFEgawk. * patches/mplayer-01-cddb.diff: Bump. * patches/mplayer-05-configure.diff: SFEgcc 4.2.2 does not support -rdynamic. * encumbered/SFEtwolame.spec: Bump to 0.3.10. Bump patch1 and patch2. * patches/twolame-01-configure.diff: Bump. * patches/twolame-02-crossfile_inline.diff: Bump. * encumbered/SFExine-lib.spec: Bump to 1.1.8. SUNWhal conditional dependency for Solaris 10. Comment patch1, patch5 and patch6 (already applied). Requires SFEgcc 4.2.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
622
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     1
--- libcdio-0.79-orig/include/cdio/types.h	2006-06-02 23:38:48.000000000 +0000
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     2
+++ libcdio-0.79/include/cdio/types.h	2007-11-03 05:54:44.168557377 +0000
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     3
@@ -60,7 +60,14 @@
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     4
   /* warning ISO/IEC 9899:1999 <stdint.h> was missing and even <inttypes.h> */
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     5
   /* fixme */
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     6
 #endif /* HAVE_STDINT_H */
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     7
-  
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     8
+
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     9
+#if (defined(sun) && defined(__SVR4))
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    10
+  typedef uint8_t u_int8_t;
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    11
+  typedef uint16_t u_int16_t;
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    12
+  typedef uint32_t u_int32_t;
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    13
+  typedef uint64_t u_int64_t;
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    14
+#endif
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    15
+
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    16
 typedef uint8_t ubyte;
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    17
 
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    18
   /* default HP/UX macros are broken */