Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 33523 | Differences between
and this patch

Collapse All | Expand All

(-)libquicktime-0.9.2/plugins/rtjpeg/Makefile.am (-2 / +2 lines)
Lines 1-5 Link Here
1
CFLAGS = @CFLAGS@
1
CFLAGS = @CFLAGS@
2
CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
2
CFLAGS += -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
3
3
4
pkglib_LTLIBRARIES = lqt_rtjpeg.la
4
pkglib_LTLIBRARIES = lqt_rtjpeg.la
5
5
Lines 12-15 Link Here
12
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include/
12
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include/
13
13
14
RTjpeg.lo:	RTjpeg.c RTjpeg.h
14
RTjpeg.lo:	RTjpeg.c RTjpeg.h
15
	gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
15
	gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
(-)libquicktime-0.9.2/plugins/rtjpeg/Makefile.in (-2 / +2 lines)
Lines 127-133 Link Here
127
am__include = @am__include@
127
am__include = @am__include@
128
am__quote = @am__quote@
128
am__quote = @am__quote@
129
install_sh = @install_sh@
129
install_sh = @install_sh@
130
CFLAGS = @CFLAGS@ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
130
CFLAGS = @CFLAGS@ -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
131
131
132
pkglib_LTLIBRARIES = lqt_rtjpeg.la
132
pkglib_LTLIBRARIES = lqt_rtjpeg.la
133
133
Lines 397-403 Link Here
397
397
398
398
399
RTjpeg.lo:	RTjpeg.c RTjpeg.h
399
RTjpeg.lo:	RTjpeg.c RTjpeg.h
400
	gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
400
	gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo
401
# Tell versions [3.59,3.63) of GNU make to not export all variables.
401
# Tell versions [3.59,3.63) of GNU make to not export all variables.
402
# Otherwise a system limit (for SysV at least) may be exceeded.
402
# Otherwise a system limit (for SysV at least) may be exceeded.
403
.NOEXPORT:
403
.NOEXPORT:
(-)libquicktime-0.9.2/plugins/rtjpeg/RTjpeg.c (-2 / +10 lines)
Lines 2452-2459 Link Here
2452
 if (*cm < 0) *cm = 0;
2452
 if (*cm < 0) *cm = 0;
2453
 if (*cm > 16) *cm = 16;
2453
 if (*cm > 16) *cm = 16;
2454
#ifdef MMX
2454
#ifdef MMX
2455
 rtj->lmask=(mmx_t)(((uint64_t)(*lm)<<48)|((uint64_t)(*lm)<<32)|((uint64_t)(*lm)<<16)|(uint64_t)(*lm));
2455
 rtj->lmask=(mmx_t)(
2456
 rtj->cmask=(mmx_t)(((uint64_t)(*cm)<<48)|((uint64_t)(*cm)<<32)|((uint64_t)(*cm)<<16)|(uint64_t)(*cm));
2456
		 ((unsigned long long int)(*lm)<<48) |
2457
		 ((unsigned long long int)(*lm)<<32) |
2458
		 ((unsigned long long int)(*lm)<<16) |
2459
		  (unsigned long long int)(*lm)        );
2460
 rtj->cmask=(mmx_t)(
2461
		 ((unsigned long long int)(*cm)<<48) |
2462
		 ((unsigned long long int)(*cm)<<32) |
2463
		 ((unsigned long long int)(*cm)<<16) |
2464
		  (unsigned long long int)(*cm)        );
2457
#else
2465
#else
2458
 rtj->lmask=*lm;
2466
 rtj->lmask=*lm;
2459
 rtj->cmask=*cm;
2467
 rtj->cmask=*cm;

Return to bug 33523