Make Gwenview compile with libjpeg-9. This will not allow to operate on some
modern JPEG images, but with libjpeg-8 it wasn't able, too, anyway. No bump needed. Reported by nigel@
This commit is contained in:
parent
79e7070f06
commit
27e07468d1
17
x11/kde4/gwenview/patches/patch-lib_CMakeLists_txt
Normal file
17
x11/kde4/gwenview/patches/patch-lib_CMakeLists_txt
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-lib_CMakeLists_txt,v 1.1 2013/04/26 10:32:19 zhuk Exp $
|
||||
Make it compile with libjpeg-9.0. This will not allow to operate on some
|
||||
JPEG images, but with libjpeg-8 it wasn't able, too, anyway.
|
||||
--- lib/CMakeLists.txt.orig Fri Apr 26 13:52:19 2013
|
||||
+++ lib/CMakeLists.txt Fri Apr 26 14:03:25 2013
|
||||
@@ -28,9 +28,9 @@ if ("${jpeglib_version}" LESS 80)
|
||||
set(GV_JPEG_DIR libjpeg-62)
|
||||
endif ("${jpeglib_version}" LESS 80)
|
||||
|
||||
-if ("${jpeglib_version}" EQUAL 80)
|
||||
+if ("${jpeglib_version}" EQUAL 80 OR "${jpeglib_version}" EQUAL 90)
|
||||
set(GV_JPEG_DIR libjpeg-80)
|
||||
-endif ("${jpeglib_version}" EQUAL 80)
|
||||
+endif ("${jpeglib_version}" EQUAL 80 OR "${jpeglib_version}" EQUAL 90)
|
||||
|
||||
if ("${GV_JPEG_DIR}" STREQUAL "")
|
||||
message(FATAL_ERROR "Unknown libjpeg version: ${jpeglib_version}")
|
Loading…
x
Reference in New Issue
Block a user