diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-03-29 09:53:18 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-03-29 09:53:18 +0000 |
commit | 2c36078d184e6b3fde44793800a6c8ca0b0639f1 (patch) | |
tree | 19d35773be783fd6761833f599af82301c20ceac /multimedia/xvid/files/patch-src:portab.h | |
parent | Reorder the 'configure-message patch-libtool' targets in _CONFIGURE_SEQ (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_8_0'.release/4.8.0
Notes
Notes:
svn path=/head/; revision=77676
svn path=/tags/RELEASE_4_8_0/; revision=77677; tag=release/4.8.0
Diffstat (limited to 'multimedia/xvid/files/patch-src:portab.h')
-rw-r--r-- | multimedia/xvid/files/patch-src:portab.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/multimedia/xvid/files/patch-src:portab.h b/multimedia/xvid/files/patch-src:portab.h deleted file mode 100644 index 4879792de98f..000000000000 --- a/multimedia/xvid/files/patch-src:portab.h +++ /dev/null @@ -1,58 +0,0 @@ ---- ../../src/portab.h.orig Sat Nov 23 22:50:14 2002 -+++ ../../src/portab.h Fri Jan 3 14:40:18 2003 -@@ -83,6 +83,14 @@ - * Types used in XviD sources - ****************************************************************************/ - -+#if defined(HAVE_SYS_PARAM_H) -+#include <sys/param.h> -+#endif -+ -+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000 && defined(HAVE_SYS_ENDIAN_H) -+#include <sys/endian.h> -+#endif -+ - /*---------------------------------------------------------------------------- - | Standard Unix include file (sorry, we put all unix into "linux" case) - *---------------------------------------------------------------------------*/ -@@ -90,8 +98,15 @@ - #if defined(LINUX) || defined(BEOS) || defined(FREEBSD) - - /* All (u)int(size)_t types are defined here */ --# include <inttypes.h> - -+#include "../../config.h" -+ -+#if defined(HAVE_STDINT_H) -+#include <stdint.h> -+#elif defined(HAVE_INTTYPES_H) -+#include <inttypes.h> -+#endif -+ - /*---------------------------------------------------------------------------- - | msvc (lacks such a header file) - *---------------------------------------------------------------------------*/ -@@ -139,6 +154,9 @@ - #elif defined(ARCH_IA64) - # define CACHE_LINE 32 - # define ptr_t uint64_t -+#elif defined(__FreeBSD__) -+# define CACHE_LINE (SIZEOF_UINTPTR_T * 4) -+# define ptr_t uintptr_t - #else - # error Architecture not supported. - #endif -@@ -341,6 +359,13 @@ - { - return 0; - } -+ -+/*---------------------------------------------------------------------------- -+ | FreeBSD specific macros/functions -+ *---------------------------------------------------------------------------*/ -+# elif defined(__FreeBSD__) && __FreeBSD_version >= 470000 && defined(HAVE_SYS_ENDIAN_H) -+# define BSWAP(a) (be32toh(x)) -+# error Missing EMMS() definition for this architecture. - - /*---------------------------------------------------------------------------- - | XviD + gcc unsupported Architecture |