SPECS: libjpeg.spec - changed croppatch applying so it is clear wh...

qboosh qboosh at pld-linux.org
Sun Jan 27 19:04:07 CET 2008


Author: qboosh                       Date: Sun Jan 27 18:04:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- changed croppatch applying so it is clear what is being done
- documented why it is evil (just because one error code put _in the middle_
  in library header)

---- Files affected:
SPECS:
   libjpeg.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/libjpeg.spec
diff -u SPECS/libjpeg.spec:1.60 SPECS/libjpeg.spec:1.61
--- SPECS/libjpeg.spec:1.60	Sun Jan 27 16:43:28 2008
+++ SPECS/libjpeg.spec	Sun Jan 27 19:04:02 2008
@@ -5,7 +5,7 @@
 #       second libjpeg (with lossless support) with different name/soname
 #
 # Conditional build:
-%bcond_with	crop	# "apply" crop pseudo-patch
+%bcond_with	crop	# "apply" crop pseudo-patch (changes error codes in ABI)
 #
 Summary:	Library for handling different JPEG files
 Summary(de.UTF-8):	Library zum Verarbeiten verschiedener JPEG-Dateien
@@ -185,7 +185,10 @@
 %patch4 -p1
 
 %if %{with crop}
-gzip -dc %{SOURCE2} | tar xf -
+mkdir croppatch
+gzip -dc %{SOURCE2} | tar xf - -C croppatch
+# evil: jerror.h change breaks error codes in ABI
+cp croppatch/{jerror.h,jpegtran.c,transupp.c,transupp.h} .
 %endif
 
 cp -f %{_datadir}/libtool/config.sub .
@@ -269,6 +272,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2008-01-27 18:04:02  qboosh
+- changed croppatch applying so it is clear what is being done
+- documented why it is evil (just because one error code put _in the middle_
+  in library header)
+
 Revision 1.60  2008-01-27 15:43:28  qboosh
 - updated inaccurate descs
 - more verbose files, ghost soname symlink
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libjpeg.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list