Update to 1.1.1
- ljt11-rh688712.patch merged Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
98649557e3
commit
b8730936e2
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ libjpeg-turbo-1.0.0.tar.gz
|
|||||||
/libjpeg-turbo-1.0.1.tar.gz
|
/libjpeg-turbo-1.0.1.tar.gz
|
||||||
/libjpeg-turbo-1.0.90.tar.gz
|
/libjpeg-turbo-1.0.90.tar.gz
|
||||||
/libjpeg-turbo-1.1.0.tar.gz
|
/libjpeg-turbo-1.1.0.tar.gz
|
||||||
|
/libjpeg-turbo-1.1.1.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 1.1.0
|
Version: 1.1.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
Summary: A MMX/SSE2 accelerated library for manipulating JPEG image files
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -22,7 +22,6 @@ Obsoletes: libjpeg < 6b-47
|
|||||||
Provides: libjpeg = 6b-47
|
Provides: libjpeg = 6b-47
|
||||||
|
|
||||||
Patch0: libjpeg-turbo11-noinst_jpgtest.patch
|
Patch0: libjpeg-turbo11-noinst_jpgtest.patch
|
||||||
Patch1: ljt11-rh688712.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libjpeg-turbo package contains a library of functions for manipulating
|
The libjpeg-turbo package contains a library of functions for manipulating
|
||||||
@ -74,7 +73,6 @@ JPEG images
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p1 -b .noinst_jpgtest
|
%patch0 -p1 -b .noinst_jpgtest
|
||||||
%patch1 -p0 -b .rh688712
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -137,6 +135,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libjpeg.a
|
%{_libdir}/libjpeg.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 11 2011 Adam Tkac <atkac redhat com> 1.1.1-1
|
||||||
|
- update to 1.1.1
|
||||||
|
- ljt11-rh688712.patch merged
|
||||||
|
|
||||||
* Tue Mar 22 2011 Adam Tkac <atkac redhat com> 1.1.0-2
|
* Tue Mar 22 2011 Adam Tkac <atkac redhat com> 1.1.0-2
|
||||||
- handle broken JPEGs better (#688712)
|
- handle broken JPEGs better (#688712)
|
||||||
|
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
Index: jdhuff.c
|
|
||||||
===================================================================
|
|
||||||
--- jdhuff.c (revision 520)
|
|
||||||
+++ jdhuff.c (revision 521)
|
|
||||||
@@ -623,6 +623,7 @@
|
|
||||||
if (val0 == 0xFF) { \
|
|
||||||
buffer++; \
|
|
||||||
if (val1 != 0) { \
|
|
||||||
+ cinfo->unread_marker = val1; \
|
|
||||||
buffer -= 2; \
|
|
||||||
get_buffer &= ~0xFF; \
|
|
||||||
} \
|
|
||||||
@@ -739,6 +740,11 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (cinfo->unread_marker != 0 && ! cinfo->entropy->insufficient_data) {
|
|
||||||
+ WARNMS(cinfo, JWRN_HIT_MARKER);
|
|
||||||
+ cinfo->entropy->insufficient_data = TRUE;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte);
|
|
||||||
br_state.next_input_byte = buffer;
|
|
||||||
BITREAD_SAVE_STATE(cinfo,entropy->bitstate);
|
|
Loading…
Reference in New Issue
Block a user