Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a51d53e8
Commit
a51d53e8
authored
Jan 30, 2016
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: openjpeg, check for restrict keyword in configure
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
10b4ea2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
contrib/src/openjpeg/restrict.patch
contrib/src/openjpeg/restrict.patch
+50
-0
contrib/src/openjpeg/rules.mak
contrib/src/openjpeg/rules.mak
+1
-0
No files found.
contrib/src/openjpeg/restrict.patch
0 → 100644
View file @
a51d53e8
diff --git a/configure.ac b/configure.ac
index 71098e5..8843546 100644
--- a/configure.ac
+++ b/configure.ac
@@ -486,6 +486,8 @@
else
OPJ_COMPILER_FLAG([-O3])
fi
+AC_C_RESTRICT
+
### Checks for linker characteristics
diff --git a/libopenjpeg/dwt.c b/libopenjpeg/dwt.c
index 0fbfc20..26ee0f4 100644
--- a/libopenjpeg/dwt.c
+++ b/libopenjpeg/dwt.c
@@ -35,6 +35,7 @@
#include <xmmintrin.h>
#endif
+#include "opj_config.h"
#include "opj_includes.h"
/** @defgroup DWT DWT - Implementation of a discrete wavelet transform */
diff --git a/libopenjpeg/mct.c b/libopenjpeg/mct.c
index 870993b..66c91d8 100644
--- a/libopenjpeg/mct.c
+++ b/libopenjpeg/mct.c
@@ -33,6 +33,7 @@
#include <xmmintrin.h>
#endif
+#include "opj_config.h"
#include "opj_includes.h"
/* <summary> */
diff --git a/libopenjpeg/t1.c b/libopenjpeg/t1.c
index ed9cdc3..78f6940 100644
--- a/libopenjpeg/t1.c
+++ b/libopenjpeg/t1.c
@@ -30,6 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "opj_config.h"
#include "opj_includes.h"
#include "t1_luts.h"
contrib/src/openjpeg/rules.mak
View file @
a51d53e8
...
@@ -14,6 +14,7 @@ openjpeg: openjpeg-$(OPENJPEG_VERSION).tar.gz .sum-openjpeg
...
@@ -14,6 +14,7 @@ openjpeg: openjpeg-$(OPENJPEG_VERSION).tar.gz .sum-openjpeg
ifdef
HAVE_VISUALSTUDIO
ifdef
HAVE_VISUALSTUDIO
$(APPLY)
$(SRC)
/openjpeg/msvc.patch
$(APPLY)
$(SRC)
/openjpeg/msvc.patch
endif
endif
$(APPLY)
$(SRC)
/openjpeg/restrict.patch
$(UPDATE_AUTOCONFIG)
$(UPDATE_AUTOCONFIG)
$(MOVE)
$(MOVE)
...
...
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