summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-12-12 19:24:31 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-12-12 19:24:31 +0000
commit7a591f56befd1cd13cc51a5062c83def60719172 (patch)
tree6d8537679338dbdf0ba5f5a3b0887f73443dfc6b /media-libs/libquicktime/files
parentAdded kpdef patch (diff)
downloadhistorical-7a591f56befd1cd13cc51a5062c83def60719172.tar.gz
historical-7a591f56befd1cd13cc51a5062c83def60719172.tar.bz2
historical-7a591f56befd1cd13cc51a5062c83def60719172.zip
Adding amd64 keyword - #33523
Diffstat (limited to 'media-libs/libquicktime/files')
-rw-r--r--media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch b/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch
new file mode 100644
index 000000000000..a3c469ae7a1b
--- /dev/null
+++ b/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch
@@ -0,0 +1,63 @@
+diff -ruN libquicktime-0.9.2/plugins/rtjpeg/Makefile.am libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.am
+--- libquicktime-0.9.2/plugins/rtjpeg/Makefile.am 2002-06-03 22:04:22.000000000 +0200
++++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.am 2003-11-15 17:51:58.286346488 +0100
+@@ -1,5 +1,5 @@
+ CFLAGS = @CFLAGS@
+-CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
++CFLAGS += -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+
+ pkglib_LTLIBRARIES = lqt_rtjpeg.la
+
+@@ -12,4 +12,4 @@
+ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include/
+
+ RTjpeg.lo: RTjpeg.c RTjpeg.h
+- gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
++ gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
+diff -ruN libquicktime-0.9.2/plugins/rtjpeg/Makefile.in libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.in
+--- libquicktime-0.9.2/plugins/rtjpeg/Makefile.in 2003-09-06 19:15:42.000000000 +0200
++++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.in 2003-11-15 17:51:58.299344512 +0100
+@@ -127,7 +127,7 @@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-CFLAGS = @CFLAGS@ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
++CFLAGS = @CFLAGS@ -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+
+ pkglib_LTLIBRARIES = lqt_rtjpeg.la
+
+@@ -397,7 +397,7 @@
+
+
+ RTjpeg.lo: RTjpeg.c RTjpeg.h
+- gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
++ gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -ruN libquicktime-0.9.2/plugins/rtjpeg/mmx.h libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/mmx.h
+--- libquicktime-0.9.2/plugins/rtjpeg/mmx.h 2002-06-03 22:04:22.000000000 +0200
++++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/mmx.h 2003-11-15 17:54:13.566780736 +0100
+@@ -44,14 +44,14 @@
+ they be truncated by the compiler)
+ */
+ typedef union {
+- long long q; /* Quadword (64-bit) value */
+- unsigned long long uq; /* Unsigned Quadword */
+- int d[2]; /* 2 Doubleword (32-bit) values */
+- unsigned int ud[2]; /* 2 Unsigned Doubleword */
+- short w[4]; /* 4 Word (16-bit) values */
+- unsigned short uw[4]; /* 4 Unsigned Word */
+- char b[8]; /* 8 Byte (8-bit) values */
+- unsigned char ub[8]; /* 8 Unsigned Byte */
++ int64_t q; /* Quadword (64-bit) value */
++ uint64_t uq; /* Unsigned Quadword */
++ int32_t d[2]; /* 2 Doubleword (32-bit) values */
++ uint32_t ud[2]; /* 2 Unsigned Doubleword */
++ int16_t w[4]; /* 4 Word (16-bit) values */
++ uint16_t uw[4]; /* 4 Unsigned Word */
++ int8_t b[8]; /* 8 Byte (8-bit) values */
++ uint8_t ub[8]; /* 8 Unsigned Byte */
+ float s[2]; /* Single-precision (32-bit) value */
+ } __attribute__ ((aligned (8))) mmx_t; /* On an 8-byte (64-bit) boundary */
+