Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20758 Details for
Bug 33523
libquicktime doesn't build on amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix plugins/rtjpeg
amd64-rtjpeg-fixes.patch (text/plain), 2.57 KB, created by
E. Papegaaij
on 2003-11-14 18:05:34 UTC
(
hide
)
Description:
Fix plugins/rtjpeg
Filename:
MIME Type:
Creator:
E. Papegaaij
Created:
2003-11-14 18:05:34 UTC
Size:
2.57 KB
patch
obsolete
>diff -ruN libquicktime-0.9.2/plugins/rtjpeg/Makefile.am libquicktime-0.9.2-amd64/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/plugins/rtjpeg/Makefile.am 2003-11-14 23:58:41.798100744 +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/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/plugins/rtjpeg/Makefile.in 2003-11-14 23:58:41.799100592 +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/RTjpeg.c libquicktime-0.9.2-amd64/plugins/rtjpeg/RTjpeg.c >--- libquicktime-0.9.2/plugins/rtjpeg/RTjpeg.c 2002-06-03 22:04:22.000000000 +0200 >+++ libquicktime-0.9.2-amd64/plugins/rtjpeg/RTjpeg.c 2003-11-14 23:58:41.798100744 +0100 >@@ -2452,8 +2452,16 @@ > if (*cm < 0) *cm = 0; > if (*cm > 16) *cm = 16; > #ifdef MMX >- rtj->lmask=(mmx_t)(((uint64_t)(*lm)<<48)|((uint64_t)(*lm)<<32)|((uint64_t)(*lm)<<16)|(uint64_t)(*lm)); >- rtj->cmask=(mmx_t)(((uint64_t)(*cm)<<48)|((uint64_t)(*cm)<<32)|((uint64_t)(*cm)<<16)|(uint64_t)(*cm)); >+ rtj->lmask=(mmx_t)( >+ ((unsigned long long int)(*lm)<<48) | >+ ((unsigned long long int)(*lm)<<32) | >+ ((unsigned long long int)(*lm)<<16) | >+ (unsigned long long int)(*lm) ); >+ rtj->cmask=(mmx_t)( >+ ((unsigned long long int)(*cm)<<48) | >+ ((unsigned long long int)(*cm)<<32) | >+ ((unsigned long long int)(*cm)<<16) | >+ (unsigned long long int)(*cm) ); > #else > rtj->lmask=*lm; > rtj->cmask=*cm;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33523
:
20758
|
20784