summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libc0.9.32/APKBUILD4
-rw-r--r--main/libc0.9.32/bufsize.patch26
-rw-r--r--main/libc0.9.32/getproto.patch11
3 files changed, 29 insertions, 12 deletions
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index 12a01fa13..9d92dc76f 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -3,7 +3,7 @@ _abiver=0.9.32
pkgname=libc$_abiver
_gitver=1009151331
pkgver=${_abiver}_alpha0_git$_gitver
-pkgrel=1
+pkgrel=2
pkgdesc="C library for developing embedded Linux systems"
url=http://uclibc.org
license="LGPL-2"
@@ -27,6 +27,7 @@ source="http://build.alpinelinux.org:8010/distfiles/$_snapfile
0002-getservice-getservent_r-must-return-ERANGE-when-buff.patch
0003-config-parser-always-initialize-line-pointer.patch
+ bufsize.patch
uclibcconfig.x86
uclibcconfig.i486
"
@@ -122,5 +123,6 @@ md5sums="966c830f294a8ab5069cc03a61e1b2ed libc0.9.32-0.9.32_alpha0_git100915133
ba6e0370d1fc19e5903696de412507ef 0001-config-parser-do-not-assume-that-realloc-return-same.patch
19d923997f9625ce6f16d8128bbcba65 0002-getservice-getservent_r-must-return-ERANGE-when-buff.patch
99b817778f4ef3a1b194740ea08990b4 0003-config-parser-always-initialize-line-pointer.patch
+cf97d904c42c5fd165650472100b18a7 bufsize.patch
cffecb42bdec2da7cac718fa66cacbbe uclibcconfig.x86
cffecb42bdec2da7cac718fa66cacbbe uclibcconfig.i486"
diff --git a/main/libc0.9.32/bufsize.patch b/main/libc0.9.32/bufsize.patch
new file mode 100644
index 000000000..b52f155c6
--- /dev/null
+++ b/main/libc0.9.32/bufsize.patch
@@ -0,0 +1,26 @@
+diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
+index bcf507b..9858900 100644
+--- a/libc/inet/getproto.c
++++ b/libc/inet/getproto.c
+@@ -28,7 +28,7 @@ aliases: case sensitive optional space or tab separated list of other names
+ __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
+
+ #define MAXALIASES 35
+-#define BUFSZ (80) /* one line */
++#define BUFSZ (256) /* one line */
+ #define SBUFSIZE (BUFSZ + 1 + (sizeof(char *) * MAXALIASES))
+
+ static parser_t *protop = NULL;
+diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
+index c38ff80..dbbc19c 100644
+--- a/libc/inet/getservice.c
++++ b/libc/inet/getservice.c
+@@ -29,7 +29,7 @@ aliases: case sensitive optional space or tab separated list of other names
+ __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
+
+ #define MAXALIASES 35
+-#define BUFSZ (80) /* one line */
++#define BUFSZ (256) /* one line */
+ #define SBUFSIZE (BUFSZ + 1 + (sizeof(char *) * MAXALIASES))
+
+ static parser_t *servp = NULL;
diff --git a/main/libc0.9.32/getproto.patch b/main/libc0.9.32/getproto.patch
deleted file mode 100644
index c58847443..000000000
--- a/main/libc0.9.32/getproto.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./libc/inet/getproto.c.orig
-+++ ./libc/inet/getproto.c
-@@ -28,7 +28,7 @@
- __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP);
-
- #define MAXALIASES 35
--#define BUFSZ (80) /* one line */
-+#define BUFSZ (180) /* one line */
- #define SBUFSIZE (BUFSZ + 1 + (sizeof(char *) * MAXALIASES))
-
- static parser_t *protop = NULL;