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
cc54b81d
Commit
cc54b81d
authored
Mar 10, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: update iconv to 1.14
parent
934352c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
69 deletions
+72
-69
contrib/src/iconv/SHA512SUMS
contrib/src/iconv/SHA512SUMS
+1
-1
contrib/src/iconv/libiconv-win64.patch
contrib/src/iconv/libiconv-win64.patch
+70
-67
contrib/src/iconv/rules.mak
contrib/src/iconv/rules.mak
+1
-1
No files found.
contrib/src/iconv/SHA512SUMS
View file @
cc54b81d
8475b020769e66f56e476143b81da032e10b02b76b8b49468ce0d8c5658dca1a36940da5cde2fc7e82add2679fc9efe5cd2ea10ccd349682ff85a64d10101662 libiconv-1.13.1
.tar.gz
b96774fefc4fa1d07948fcc667027701373c34ebf9c4101000428e048addd85a5bb5e05e59f80eb783a3054a3a8a3c0da909450053275bbbf3ffde511eb3f387 libiconv-1.14
.tar.gz
contrib/src/iconv/libiconv-win64.patch
View file @
cc54b81d
diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
--- libiconv/lib/aliases.h 2009-06-30 22:51:58.000000000 +0200
--- libiconv/lib/iconv.c 2009-06-21 13:17:33.000000000 +0200
+++ libiconv.new/lib/aliases.h 2009-09-02 23:20:33.000000000 +0200
+++ libiconv.new/lib/iconv.c 2009-09-02 23:24:06.000000000 +0200
@@ -808,852 +808,852 @@
@@ -21,6 +21,7 @@
#include <iconv.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include "config.h"
#include "localcharset.h"
@@ -168,7 +169,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
};
--- iconv/lib/aliases.h.orig 2013-03-10 12:13:55.861853467 +0100
+++ iconv.new/lib/aliases.h 2013-03-10 12:12:46.810972684 +0100
@@ -810,852 +810,852 @@
{
{
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 308 "lib/aliases.gperf"
#line 308 "lib/aliases.gperf"
...
@@ -15,7 +34,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -15,7 +34,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 209 "lib/aliases.gperf"
#line 209 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str11, ei_cp1131},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str11, ei_cp1131},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str11, ei_cp1131},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str11, ei_cp1131},
#line 35
3
"lib/aliases.gperf"
#line 35
4
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str12, ei_johab},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str12, ei_johab},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str12, ei_johab},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str12, ei_johab},
#line 207 "lib/aliases.gperf"
#line 207 "lib/aliases.gperf"
...
@@ -177,7 +196,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -177,7 +196,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 114 "lib/aliases.gperf"
#line 114 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str90, ei_iso8859_8},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str90, ei_iso8859_8},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str90, ei_iso8859_8},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str90, ei_iso8859_8},
#line 35
0
"lib/aliases.gperf"
#line 35
1
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, ei_cp949},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, ei_cp949},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str91, ei_cp949},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str91, ei_cp949},
#line 54 "lib/aliases.gperf"
#line 54 "lib/aliases.gperf"
...
@@ -335,7 +354,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -335,7 +354,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_14},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_14},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_14},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_14},
{-1},
{-1},
#line 35
1
"lib/aliases.gperf"
#line 35
2
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_cp949},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_cp949},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str156, ei_cp949},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str156, ei_cp949},
#line 199 "lib/aliases.gperf"
#line 199 "lib/aliases.gperf"
...
@@ -571,11 +590,11 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -571,11 +590,11 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 298 "lib/aliases.gperf"
#line 298 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str270, ei_ksc5601},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str270, ei_ksc5601},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str270, ei_ksc5601},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str270, ei_ksc5601},
#line 35
6
"lib/aliases.gperf"
#line 35
7
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_local_char},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_local_char},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str271, ei_local_char},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str271, ei_local_char},
{-1},
{-1},
#line 34
8
"lib/aliases.gperf"
#line 34
9
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str273, ei_euc_kr},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str273, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str273, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str273, ei_euc_kr},
{-1}, {-1}, {-1},
{-1}, {-1}, {-1},
...
@@ -603,7 +622,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -603,7 +622,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str287, ei_ascii},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str287, ei_ascii},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str287, ei_ascii},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str287, ei_ascii},
{-1}, {-1},
{-1}, {-1},
#line 34
7
"lib/aliases.gperf"
#line 34
8
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_euc_kr},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str290, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str290, ei_euc_kr},
{-1}, {-1},
{-1}, {-1},
...
@@ -671,7 +690,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -671,7 +690,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str330, ei_iso646_jp},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str330, ei_iso646_jp},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str330, ei_iso646_jp},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str330, ei_iso646_jp},
{-1}, {-1}, {-1},
{-1}, {-1}, {-1},
#line 35
5
"lib/aliases.gperf"
#line 35
6
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str334, ei_iso2022_kr},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str334, ei_iso2022_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str334, ei_iso2022_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str334, ei_iso2022_kr},
{-1},
{-1},
...
@@ -718,7 +737,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -718,7 +737,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_6},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_6},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_6},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_6},
{-1}, {-1},
{-1}, {-1},
#line 35
4
"lib/aliases.gperf"
#line 35
5
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str362, ei_iso2022_kr},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str362, ei_iso2022_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str362, ei_iso2022_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str362, ei_iso2022_kr},
#line 34 "lib/aliases.gperf"
#line 34 "lib/aliases.gperf"
...
@@ -844,7 +863,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -844,7 +863,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 196 "lib/aliases.gperf"
#line 196 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str424, ei_cp1258},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str424, ei_cp1258},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str424, ei_cp1258},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str424, ei_cp1258},
#line 3
49
"lib/aliases.gperf"
#line 3
50
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str425, ei_euc_kr},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str425, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str425, ei_euc_kr},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str425, ei_euc_kr},
#line 297 "lib/aliases.gperf"
#line 297 "lib/aliases.gperf"
...
@@ -978,9 +997,9 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -978,9 +997,9 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 81 "lib/aliases.gperf"
#line 81 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str509, ei_iso8859_4},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str509, ei_iso8859_4},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str509, ei_iso8859_4},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str509, ei_iso8859_4},
#line 34
5
"lib/aliases.gperf"
#line 34
6
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str510, ei_big5hkscs200
4
},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str510, ei_big5hkscs200
8
},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str510, ei_big5hkscs200
4
},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str510, ei_big5hkscs200
8
},
{-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1},
#line 99 "lib/aliases.gperf"
#line 99 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str515, ei_iso8859_6},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str515, ei_iso8859_6},
...
@@ -994,9 +1013,9 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -994,9 +1013,9 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_ces_big5},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_ces_big5},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str525, ei_ces_big5},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str525, ei_ces_big5},
{-1},
{-1},
#line 34
4
"lib/aliases.gperf"
#line 34
5
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str527, ei_big5hkscs200
4
},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str527, ei_big5hkscs200
8
},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str527, ei_big5hkscs200
4
},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str527, ei_big5hkscs200
8
},
{-1}, {-1}, {-1},
{-1}, {-1}, {-1},
#line 214 "lib/aliases.gperf"
#line 214 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str531, ei_mac_centraleurope},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str531, ei_mac_centraleurope},
...
@@ -1137,7 +1156,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -1137,7 +1156,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str657, ei_jisx0208},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str657, ei_jisx0208},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str657, ei_jisx0208},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str657, ei_jisx0208},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 35
7
"lib/aliases.gperf"
#line 35
8
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str664, ei_local_wchar_t},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str664, ei_local_wchar_t},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str664, ei_local_wchar_t},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str664, ei_local_wchar_t},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
...
@@ -1179,7 +1198,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -1179,7 +1198,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str765, ei_ucs4swapped},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str765, ei_ucs4swapped},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str765, ei_ucs4swapped},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str765, ei_ucs4swapped},
{-1}, {-1},
{-1}, {-1},
#line 35
2
"lib/aliases.gperf"
#line 35
3
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str768, ei_johab},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str768, ei_johab},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str768, ei_johab},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str768, ei_johab},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
...
@@ -1194,7 +1213,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -1194,7 +1213,7 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
@@ -166
1,28 +1661,28
@@
@@ -166
3,31 +1663,31
@@
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 194 "lib/aliases.gperf"
#line 194 "lib/aliases.gperf"
...
@@ -1208,7 +1227,11 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -1208,7 +1227,11 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
#line 343 "lib/aliases.gperf"
#line 343 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str888, ei_big5hkscs2001},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str888, ei_big5hkscs2001},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str888, ei_big5hkscs2001},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str888, ei_big5hkscs2001},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 347 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str896, ei_big5hkscs2008},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str896, ei_big5hkscs2008},
{-1},
#line 270 "lib/aliases.gperf"
#line 270 "lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str898, ei_jisx0201},
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str898, ei_jisx0201},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str898, ei_jisx0201},
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str898, ei_jisx0201},
...
@@ -1223,35 +1246,15 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
...
@@ -1223,35 +1246,15 @@ diff -ruN libiconv/lib/aliases.h libiconv.new/lib/aliases.h
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
{-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
#line 34
6
"lib/aliases.gperf"
#line 34
4
"lib/aliases.gperf"
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str935, ei_big5hkscs2004}
- {(int)(long)&((struct stringpool_t *)0)->stringpool_str935, ei_big5hkscs2004}
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str935, ei_big5hkscs2004}
+ {(int)(intptr_t)&((struct stringpool_t *)0)->stringpool_str935, ei_big5hkscs2004}
};
};
#ifdef __GNUC__
#ifdef __GNUC__
diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
--- iconv/srclib/malloca.c.orig 2013-03-10 12:16:34.030538010 +0100
--- libiconv/lib/iconv.c 2009-06-21 13:17:33.000000000 +0200
+++ iconv/srclib/malloca.c 2013-03-10 12:16:32.980524613 +0100
+++ libiconv.new/lib/iconv.c 2009-09-02 23:24:06.000000000 +0200
@@ -77,7 +77,7 @@
@@ -21,6 +21,7 @@
#include <iconv.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include "config.h"
#include "localcharset.h"
@@ -168,7 +169,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
};
--- libiconv/srclib/malloca.c 2009-06-21 13:31:08.000000000 +0200
+++ libiconv.new/srclib/malloca.c 2009-09-03 00:02:20.000000000 +0200
@@ -75,7 +75,7 @@
if (p != NULL)
if (p != NULL)
{
{
...
@@ -1260,7 +1263,7 @@ diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
...
@@ -1260,7 +1263,7 @@ diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
p += HEADER_SIZE;
p += HEADER_SIZE;
@@ -8
3,7 +83
,7 @@
@@ -8
5,7 +85
,7 @@
((int *) p)[-1] = MAGIC_NUMBER;
((int *) p)[-1] = MAGIC_NUMBER;
/* Enter p into the hash table. */
/* Enter p into the hash table. */
...
@@ -1269,7 +1272,7 @@ diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
...
@@ -1269,7 +1272,7 @@ diff -ruN libiconv/lib/iconv.c libiconv.new/lib/iconv.c
((struct header *) (p - HEADER_SIZE))->next = mmalloca_results[slot];
((struct header *) (p - HEADER_SIZE))->next = mmalloca_results[slot];
mmalloca_results[slot] = p;
mmalloca_results[slot] = p;
@@ -11
6,7 +116
,7 @@
@@ -11
8,7 +118
,7 @@
{
{
/* Looks like a mmalloca() result. To see whether it really is one,
/* Looks like a mmalloca() result. To see whether it really is one,
perform a lookup in the hash table. */
perform a lookup in the hash table. */
...
...
contrib/src/iconv/rules.mak
View file @
cc54b81d
# libiconv
# libiconv
LIBICONV_VERSION
=
1.1
3.1
LIBICONV_VERSION
=
1.1
4
LIBICONV_URL
=
$(GNU)
/libiconv/libiconv-
$(LIBICONV_VERSION)
.tar.gz
LIBICONV_URL
=
$(GNU)
/libiconv/libiconv-
$(LIBICONV_VERSION)
.tar.gz
PKGS
+=
iconv
PKGS
+=
iconv
...
...
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