summaryrefslogtreecommitdiff
path: root/Ports/libiconv/patches
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-06 11:11:16 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-10-11 12:17:05 +0200
commitd3d972820e89af4b514b2d4093940dccb5300acd (patch)
treeb2e404339a06793abc2321e4a27430f207a65a66 /Ports/libiconv/patches
parent904bd3b441bc5c603fa6a992aa6cfd398e96abfb (diff)
downloadserenity-d3d972820e89af4b514b2d4093940dccb5300acd.zip
Ports: add libiconv port
Diffstat (limited to 'Ports/libiconv/patches')
-rw-r--r--Ports/libiconv/patches/fix-autoconf.patch38
-rw-r--r--Ports/libiconv/patches/fix-getprogname.patch11
2 files changed, 49 insertions, 0 deletions
diff --git a/Ports/libiconv/patches/fix-autoconf.patch b/Ports/libiconv/patches/fix-autoconf.patch
new file mode 100644
index 0000000000..1c77deadde
--- /dev/null
+++ b/Ports/libiconv/patches/fix-autoconf.patch
@@ -0,0 +1,38 @@
+--- libiconv-1.16/build-aux/config.sub.orig 2019-10-05 22:37:52.881885592 +0100
++++ libiconv-1.16/build-aux/config.sub 2019-10-05 22:41:00.116990779 +0100
+@@ -2,7 +2,7 @@
+ # Configuration validation subroutine script.
+ # Copyright 1992-2019 Free Software Foundation, Inc.
+
+-timestamp='2019-01-05'
++timestamp='2019-10-05'
+
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -1341,6 +1341,7 @@
+ # Each alternative MUST end in a * to match a version number.
+ # sysv* is not here because it comes later, after sysvr4.
+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
++ | serenity* \
+ | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
+ | sym* | kopensolaris* | plan9* \
+--- libiconv-1.16-orig/libcharset/build-aux/config.sub 2019-04-26 19:29:05.000000000 +0100
++++ libiconv-1.16/libcharset/build-aux/config.sub 2019-10-05 23:16:08.710006227 +0100
+@@ -2,7 +2,7 @@
+ # Configuration validation subroutine script.
+ # Copyright 1992-2019 Free Software Foundation, Inc.
+
+-timestamp='2019-01-05'
++timestamp='2019-10-05'
+
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU General Public License as published by
+@@ -1341,6 +1341,7 @@
+ # Each alternative MUST end in a * to match a version number.
+ # sysv* is not here because it comes later, after sysvr4.
+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
++ | serenity* \
+ | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
+ | sym* | kopensolaris* | plan9* \
diff --git a/Ports/libiconv/patches/fix-getprogname.patch b/Ports/libiconv/patches/fix-getprogname.patch
new file mode 100644
index 0000000000..dde3d44e68
--- /dev/null
+++ b/Ports/libiconv/patches/fix-getprogname.patch
@@ -0,0 +1,11 @@
+--- libiconv-1.16-orig/srclib/getprogname.c 2019-04-26 19:29:00.000000000 +0100
++++ libiconv-1.16/srclib/getprogname.c 2019-10-10 23:36:34.193619582 +0100
+@@ -244,6 +244,8 @@
+ }
+ }
+ return NULL;
++# elif defined __serenity__
++ return "?";
+ # else
+ # error "getprogname module not ported to this OS"
+ # endif