[MacPorts] #55283: Leptonica @1.74.4 does not compile with current openjpeg 2.3
MacPorts
noreply at macports.org
Fri Nov 10 05:02:01 UTC 2017
#55283: Leptonica @1.74.4 does not compile with current openjpeg 2.3
------------------------+----------------------
Reporter: ericmoret | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: leptonica |
------------------------+----------------------
Comment (by kencu):
This patch (from the commit above) should suffice until a new version is
released:
{{{
From cdf557b8734ea24b53499a7d2c3d06d0c3c9e0ed Mon Sep 17 00:00:00 2001
From: BorisMansencal <boris.mansencal at labri.fr>
Date: Tue, 24 Oct 2017 15:44:45 +0200
Subject: [PATCH] add support for openjpeg 2.3
---
cmake/Configure.cmake | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cmake/Configure.cmake b/cmake/Configure.cmake
index a7890b0..1e4e11c 100644
--- a/cmake/Configure.cmake
+++ b/cmake/Configure.cmake
@@ -67,6 +67,7 @@ set(include_files_list
openjpeg-2.0/openjpeg.h
openjpeg-2.1/openjpeg.h
openjpeg-2.2/openjpeg.h
+ openjpeg-2.3/openjpeg.h
)
check_includes(include_files_list)
@@ -150,6 +151,10 @@ file(APPEND ${AUTOCONFIG_SRC} "
#ifdef HAVE_OPENJPEG_2_2_OPENJPEG_H
#define LIBJP2K_HEADER <openjpeg-2.2/openjpeg.h>
#endif
+
+#ifdef HAVE_OPENJPEG_2_3_OPENJPEG_H
+#define LIBJP2K_HEADER <openjpeg-2.3/openjpeg.h>
+#endif
")
########################################
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55283#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list