]> git.pld-linux.org Git - packages/libjpeg.git/commitdiff
- changed croppatch applying so it is clear what is being done
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 27 Jan 2008 18:04:02 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- documented why it is evil (just because one error code put _in the middle_
  in library header)

Changed files:
    libjpeg.spec -> 1.61

libjpeg.spec

index 1bc1104769dd7ac6bd2f9121a7cb4730002038e9..f9ad0528a658a0ff71e96a5f8f6c7d460127b6da 100644 (file)
@@ -4,7 +4,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
@@ -184,7 +184,10 @@ tekstowe dołączone do pliku JPEG, a wrjpgcom wstawia takie komentarze.
 %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 .
This page took 0.074948 seconds and 4 git commands to generate.