-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: jasper | ||
Version: 2.0.13-1 | ||
Version: 2.0.14-1 | ||
Description: Open source implementation of the JPEG-2000 Part-1 standard | ||
Build-Depends: libjpeg-turbo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From bad33461a302ed8db02e0d9875e7b59b9e8f6032 Mon Sep 17 00:00:00 2001 | ||
From: Mikhail Paulyshka <me@mixaill.tk> | ||
Date: Tue, 7 Nov 2017 20:10:31 +0300 | ||
Subject: [PATCH] Fixed build for Windows 10 UWP | ||
|
||
--- | ||
src/libjasper/CMakeLists.txt | 9 +++++++++ | ||
1 file changed, 9 insertions(+) | ||
|
||
diff --git a/src/libjasper/CMakeLists.txt b/src/libjasper/CMakeLists.txt | ||
index 234ae67..9d0a522 100644 | ||
--- a/src/libjasper/CMakeLists.txt | ||
+++ b/src/libjasper/CMakeLists.txt | ||
@@ -145,6 +145,15 @@ target_include_directories(libjasper BEFORE PRIVATE | ||
set_target_properties(libjasper PROPERTIES OUTPUT_NAME jasper) | ||
set_target_properties(libjasper PROPERTIES LINKER_LANGUAGE C) | ||
|
||
+if(MSVC) | ||
+ target_compile_definitions(libjasper PRIVATE | ||
+ "-D_CRT_SECURE_NO_WARNINGS") | ||
+ target_compile_definitions(libjasper PRIVATE | ||
+ "-D_CRT_SECURE_NO_DEPRECATE") | ||
+ target_compile_definitions(libjasper PRIVATE | ||
+ "-D_CRT_NONSTDC_NO_DEPRECATE") | ||
+endif() | ||
+ | ||
if (UNIX) | ||
set_target_properties(libjasper PROPERTIES | ||
VERSION ${JAS_SO_NAME} SOVERSION ${JAS_SO_VERSION}) | ||
-- | ||
2.14.1.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters