Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
7c64e03c
Commit
7c64e03c
authored
8 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libpng: re-apply patch
parent
882e120a
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
opencv-libpng.patch
3rdparty/libpng/opencv-libpng.patch
+3
-3
pngpriv.h
3rdparty/libpng/pngpriv.h
+2
-2
No files found.
3rdparty/libpng/opencv-libpng.patch
View file @
7c64e03c
diff --git a/3rdparty/libpng/pngpriv.h b/3rdparty/libpng/pngpriv.h
index
07b2b0b..e7824b
8 100644
index
8bdcccc..0f1c63
8 100644
--- a/3rdparty/libpng/pngpriv.h
+++ b/3rdparty/libpng/pngpriv.h
@@ -3
60,7 +360,7 @@ typedef PNG_CONST png_uint_16p FAR * png_const_uint_16pp;
@@ -3
72,7 +372,7 @@
/* Memory model/platform independent fns */
#ifndef PNG_ABORT
...
...
@@ -11,7 +11,7 @@ index 07b2b0b..e7824b8 100644
# define PNG_ABORT() ExitProcess(0)
# else
# define PNG_ABORT() abort()
@@ -3
78,7 +378,7 @@ typedef PNG_CONST png_uint_16p FAR * png_const_uint_16pp;
@@ -3
90,7 +390,7 @@
# define png_memcpy _fmemcpy
# define png_memset _fmemset
#else
...
...
This diff is collapsed.
Click to expand it.
3rdparty/libpng/pngpriv.h
View file @
7c64e03c
...
...
@@ -372,7 +372,7 @@
/* Memory model/platform independent fns */
#ifndef PNG_ABORT
# if
def _WINDOWS_
# if
defined(_WINDOWS_) && !defined(HAVE_WINRT)
# define PNG_ABORT() ExitProcess(0)
# else
# define PNG_ABORT() abort()
...
...
@@ -390,7 +390,7 @@
# define png_memcpy _fmemcpy
# define png_memset _fmemset
#else
# if
def _WINDOWS_
/* Favor Windows over C runtime fns */
# if
defined(_WINDOWS_) && !defined(HAVE_WINRT)
/* Favor Windows over C runtime fns */
# define CVT_PTR(ptr) (ptr)
# define CVT_PTR_NOCHECK(ptr) (ptr)
# define png_strlen lstrlenA
...
...
This diff is collapsed.
Click to expand it.
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