summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-10-06 19:57:31 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-10-06 19:57:31 +0000
commit294d7f64ec187f8ac1ec7dc33452c6f9110451b9 (patch)
treed31cc0ca60f681307ea6eb5af44f4cbb89a6c2e2 /media-video/avifile/files
parentAdded to ~amd64. (Manifest recommit) (diff)
downloadgentoo-2-294d7f64ec187f8ac1ec7dc33452c6f9110451b9.tar.gz
gentoo-2-294d7f64ec187f8ac1ec7dc33452c6f9110451b9.tar.bz2
gentoo-2-294d7f64ec187f8ac1ec7dc33452c6f9110451b9.zip
Continuing with #64893
Diffstat (limited to 'media-video/avifile/files')
-rw-r--r--media-video/avifile/files/throw.patch48
1 files changed, 24 insertions, 24 deletions
diff --git a/media-video/avifile/files/throw.patch b/media-video/avifile/files/throw.patch
index 696aaaa16cec..6b80bcaa5e1e 100644
--- a/media-video/avifile/files/throw.patch
+++ b/media-video/avifile/files/throw.patch
@@ -6,7 +6,7 @@ diff -ru avifile-0.7-0.7.41/include/avm_cpuinfo.h avifile-0.7-0.7.41.new/include
#endif /* __cplusplus */
-static inline int avm_is_mmx_state() __THROW
-+__THROW static inline int avm_is_mmx_state()
++ static inline int avm_is_mmx_state()
{
#ifdef ARCH_X86
if (freq.HaveMMX())
@@ -15,7 +15,7 @@ diff -ru avifile-0.7-0.7.41/include/avm_cpuinfo.h avifile-0.7-0.7.41.new/include
* with longcount().
*/
-static inline float to_float(int64_t tend, int64_t tbegin) __THROW
-+__THROW static inline float to_float(int64_t tend, int64_t tbegin)
++ static inline float to_float(int64_t tend, int64_t tbegin)
{
return float((tend - tbegin) / (double)freq / 1000.);
}
@@ -27,7 +27,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
* - right now dump implementation - as we could check functionality
*/
-static inline uint16_t avm_get_le16(const void* p) __THROW {
-+__THROW static inline uint16_t avm_get_le16(const void* p) {
++ static inline uint16_t avm_get_le16(const void* p) {
#ifdef WORDS_BIGENDIAN
const uint8_t* c = (const uint8_t*) p;
return c[0] | c[1] << 8;
@@ -36,7 +36,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint8_t* avm_set_le16(void* p, uint16_t v) __THROW {
-+__THROW static inline uint8_t* avm_set_le16(void* p, uint16_t v) {
++ static inline uint8_t* avm_set_le16(void* p, uint16_t v) {
uint8_t* b = (uint8_t*) p;
#ifdef WORDS_BIGENDIAN
b[0] = v & 0xff;
@@ -45,7 +45,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint32_t avm_get_le32(const void* p) __THROW {
-+__THROW static inline uint32_t avm_get_le32(const void* p) {
++ static inline uint32_t avm_get_le32(const void* p) {
#ifdef WORDS_BIGENDIAN
const uint8_t* c = (const uint8_t*) p;
return c[0] | c[1] << 8 | c[2] << 16 | c[3] << 24;
@@ -54,7 +54,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint8_t* avm_set_le32(void* p, uint32_t v) __THROW {
-+__THROW static inline uint8_t* avm_set_le32(void* p, uint32_t v) {
++ static inline uint8_t* avm_set_le32(void* p, uint32_t v) {
uint8_t* b = (uint8_t*) p;
#ifdef WORDS_BIGENDIAN
b[0] = v & 0xff;
@@ -63,7 +63,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint64_t avm_get_le64(const void* p) __THROW {
-+__THROW static inline uint64_t avm_get_le64(const void* p) {
++ static inline uint64_t avm_get_le64(const void* p) {
#ifdef WORDS_BIGENDIAN
const uint8_t* c = (const uint8_t*) p;
return avm_get_le32(c) | (((uint64_t)avm_get_le32(c + 4)) << 32);
@@ -72,7 +72,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint16_t avm_get_be16(const void* p) __THROW {
-+__THROW static inline uint16_t avm_get_be16(const void* p) {
++ static inline uint16_t avm_get_be16(const void* p) {
#ifdef WORDS_BIGENDIAN
return *(const uint16_t*)p;
#else
@@ -81,7 +81,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint8_t* avm_set_be16(void* p, uint16_t v) __THROW {
-+__THROW static inline uint8_t* avm_set_be16(void* p, uint16_t v) {
++ static inline uint8_t* avm_set_be16(void* p, uint16_t v) {
uint8_t* b = (uint8_t*) p;
b[0] = (v >> 8) & 0xff;
b[1] = v & 0xff;
@@ -89,7 +89,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint32_t avm_get_be32(const void* p) __THROW {
-+__THROW static inline uint32_t avm_get_be32(const void* p) {
++ static inline uint32_t avm_get_be32(const void* p) {
#ifdef WORDS_BIGENDIAN
return *(const uint32_t*)p;
#else
@@ -98,7 +98,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint8_t* avm_set_be32(void* p, uint32_t v) __THROW {
-+__THROW static inline uint8_t* avm_set_be32(void* p, uint32_t v) {
++ static inline uint8_t* avm_set_be32(void* p, uint32_t v) {
uint8_t* b = (uint8_t*) p;
b[0] = (v >> 24) & 0xff;
b[1] = (v >> 16) & 0xff;
@@ -107,7 +107,7 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline uint64_t avm_get_be64(const void* p) __THROW {
-+__THROW static inline uint64_t avm_get_be64(const void* p) {
++ static inline uint64_t avm_get_be64(const void* p) {
#ifdef WORDS_BIGENDIAN
return *(const uint64_t*)p;
#else
@@ -116,17 +116,17 @@ diff -ru avifile-0.7-0.7.41/include/utils.h avifile-0.7-0.7.41.new/include/utils
}
-static inline int avm_img_is_rgb(fourcc_t fmt) __THROW
-+__THROW static inline int avm_img_is_rgb(fourcc_t fmt)
++ static inline int avm_img_is_rgb(fourcc_t fmt)
{
return ((fmt & 0xffffff00) == IMG_FMT_RGB);
}
-static inline int avm_img_is_bgr(fourcc_t fmt) __THROW
-+__THROW static inline int avm_img_is_bgr(fourcc_t fmt)
++ static inline int avm_img_is_bgr(fourcc_t fmt)
{
return ((fmt & 0xffffff00) == IMG_FMT_BGR);
}
-static inline int avm_img_get_depth(fourcc_t fmt) __THROW
-+__THROW static inline int avm_img_get_depth(fourcc_t fmt)
++ static inline int avm_img_get_depth(fourcc_t fmt)
{
return fmt & 0xff;
}
@@ -138,7 +138,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/fcc_type.c avifile-0.7-0.7.41.new/lib/com
//#include <stdio.h>
-const char* avm_fcc_name(fourcc_t fcc) __THROW
-+__THROW const char* avm_fcc_name(fourcc_t fcc)
++ const char* avm_fcc_name(fourcc_t fcc)
{
switch (fcc)
{
@@ -147,7 +147,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/fcc_type.c avifile-0.7-0.7.41.new/lib/com
};
-const char *avm_img_format_name(fourcc_t fmt) __THROW
-+__THROW const char *avm_img_format_name(fourcc_t fmt)
++ const char *avm_img_format_name(fourcc_t fmt)
{
const struct dts* t = data;
@@ -159,7 +159,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common
int64_t (*longcount)(void);
-WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf) __THROW
-+__THROW WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf)
++ WAVEFORMATEX* avm_get_leWAVEFORMATEX(WAVEFORMATEX* wf)
{
wf->wFormatTag = avm_get_le16(&wf->wFormatTag);
wf->nChannels = avm_get_le16(&wf->nChannels);
@@ -168,7 +168,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common
}
-BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi) __THROW
-+__THROW BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi)
++ BITMAPINFOHEADER* avm_get_leBITMAPINFOHEADER(BITMAPINFOHEADER* bi)
{
bi->biSize = avm_get_le32(&bi->biSize);
bi->biWidth = avm_get_le32(&bi->biWidth);
@@ -177,7 +177,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common
*/
#ifndef WIN32
-int avm_usleep(unsigned long delay) __THROW
-+__THROW int avm_usleep(unsigned long delay)
++ int avm_usleep(unsigned long delay)
{
#if HAVE_NANOSLEEP
struct timespec tsp;
@@ -186,7 +186,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common
* and avm_unsetenv() in libc, provide our own implementation.
*/
-int avm_setenv(const char *name, const char *value, int overwrite) __THROW
-+__THROW int avm_setenv(const char *name, const char *value, int overwrite)
++ int avm_setenv(const char *name, const char *value, int overwrite)
{
#if HAVE_SETENV
return setenv(name, value, overwrite);
@@ -195,7 +195,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/utils.c avifile-0.7-0.7.41.new/lib/common
}
-void avm_unsetenv(const char *name) __THROW
-+__THROW void avm_unsetenv(const char *name)
++ void avm_unsetenv(const char *name)
{
#if HAVE_UNSETENV
unsetenv(name);
@@ -207,7 +207,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/wave_type.c avifile-0.7-0.7.41.new/lib/co
#include <stdio.h>
-const char* avm_wave_format_name(short fmt) __THROW
-+__THROW const char* avm_wave_format_name(short fmt)
++ const char* avm_wave_format_name(short fmt)
{
switch ((unsigned short)fmt)
{
@@ -216,7 +216,7 @@ diff -ru avifile-0.7-0.7.41/lib/common/wave_type.c avifile-0.7-0.7.41.new/lib/co
}
-char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf) __THROW
-+__THROW char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf)
++ char* avm_wave_format(char* buf, uint_t s, const WAVEFORMATEX* wf)
{
if (buf)
{