Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a6b5260e
Commit
a6b5260e
authored
Aug 23, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Libiconv for Win64
Patch by NightStrike
parent
95d29a6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-0
extras/contrib/src/Patches/libiconv-win64.patch
extras/contrib/src/Patches/libiconv-win64.patch
+20
-0
No files found.
extras/contrib/src/Makefile
View file @
a6b5260e
...
...
@@ -449,9 +449,13 @@ libiconv: libiconv-$(LIBICONV_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_DARWIN_OS
patch
-p0
< Patches/libiconv.patch
endif
ifdef
HAVE_WIN64
patch
-p0
< Patches/libiconv-win64.patch
endif
patch
-p0
< Patches/libiconv-autoconf-uclibc.patch
ifdef
HAVE_DARWIN_OS
.iconv
:
touch
$@
...
...
extras/contrib/src/Patches/libiconv-win64.patch
0 → 100644
View file @
a6b5260e
diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
--- libiconv/lib/iconv.c 2003-05-22 21:17:40.000000000 +0200
+++ libiconv.new/lib/iconv.c 2009-08-23 12:07:44.000000000 +0200
@@ -21,6 +21,7 @@
#include <iconv.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include "config.h"
#include "localcharset.h"
@@ -156,7 +157,7 @@
};
#define stringpool2 ((const char *) &stringpool2_contents)
static const struct alias sysdep_aliases[] = {
-#define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
+#define S(tag,name,encoding_index) { (int)(intptr_t)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
#include "aliases2.h"
#undef S
};
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