Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
9b7c2933
Commit
9b7c2933
authored
Aug 17, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/tesseract: Fix compilation errors for gcc 4.7 / debian 7.1
parent
f67bd37e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
component/tesseract/0001-SlapOS-Compatibility-for-gcc-4.7-debian-7.1.patch
...ct/0001-SlapOS-Compatibility-for-gcc-4.7-debian-7.1.patch
+27
-0
component/tesseract/buildout.cfg
component/tesseract/buildout.cfg
+5
-0
No files found.
component/tesseract/0001-SlapOS-Compatibility-for-gcc-4.7-debian-7.1.patch
0 → 100644
View file @
9b7c2933
From 6712eff6cd1b600156d90be6cea394a53c2152a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 17 Aug 2018 05:34:58 +0200
Subject: [PATCH] [SlapOS] Compatibility for gcc 4.7 / debian 7.1
This was not really investigated, it seems to be related to how the
standard changed in
https://sourceware.org/bugzilla/show_bug.cgi?id=15366
---
src/ccutil/host.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ccutil/host.h b/src/ccutil/host.h
index 989ccf1b..af592f30 100644
--- a/src/ccutil/host.h
+++ b/src/ccutil/host.h
@@ -28,6 +28,7 @@
#endif
#include <cinttypes> // PRId32, ...
+#define __STDC_LIMIT_MACROS
#include <cstdint> // int32_t, ...
// definitions of portable data types (numbers and characters)
--
2.11.0
component/tesseract/buildout.cfg
View file @
9b7c2933
...
...
@@ -28,6 +28,11 @@ pre-configure =
autoreconf -ivf
autoconf -Wno-portability
patch-options =
-p1
patches =
${:_profile_base_location_}/0001-SlapOS-Compatibility-for-gcc-4.7-debian-7.1.patch#96caf3fe08b55fa2a7bfb0f7607bc21e
configure-options =
--disable-static
--datarootdir=${tesseract-traineddata:location}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment