diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-02 11:36:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-08 08:42:28 +0000 |
commit | 852daa198d8dc7d7236a86880df90035ccd4f323 (patch) | |
tree | 63e10c6362d31ba1288ea8ab42331e9fb6aea86e | |
parent | f61e9c9072db0ef833a8f8e0ff3bd204475992e0 (diff) | |
download | aports-852daa198d8dc7d7236a86880df90035ccd4f323.tar.bz2 aports-852daa198d8dc7d7236a86880df90035ccd4f323.tar.xz |
main/apk-tools: add missing patch
(cherry picked from commit 15177d5fa80214a1441b68a4402e3cd23a7411f1)
-rw-r--r-- | main/apk-tools/eglibc.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/main/apk-tools/eglibc.patch b/main/apk-tools/eglibc.patch new file mode 100644 index 000000000..32bf69a71 --- /dev/null +++ b/main/apk-tools/eglibc.patch @@ -0,0 +1,57 @@ +From b4adf7645ff6c14e19682b9ef17e15756c5b0b14 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 30 Aug 2010 13:04:25 +0000 +Subject: Fix building on eglibc + +Seems like recent eglibc requires that you include sys/stat.h +--- +diff --git a/src/archive.c b/src/archive.c +index f60cb1b..3ac8a64 100644 +--- a/src/archive.c ++++ b/src/archive.c +@@ -20,6 +20,7 @@ + #include <unistd.h> + #include <sysexits.h> + #include <sys/wait.h> ++#include <sys/stat.h> + #include <limits.h> + #include <stdint.h> + +diff --git a/src/database.c b/src/database.c +index 5dcd9e0..925aa4a 100644 +--- a/src/database.c ++++ b/src/database.c +@@ -20,6 +20,7 @@ + #include <signal.h> + #include <fnmatch.h> + #include <sys/file.h> ++#include <sys/stat.h> + + #include "apk_defines.h" + #include "apk_package.h" +diff --git a/src/io.c b/src/io.c +index 2b0c892..5100d41 100644 +--- a/src/io.c ++++ b/src/io.c +@@ -15,6 +15,7 @@ + #include <unistd.h> + #include <malloc.h> + #include <sys/mman.h> ++#include <sys/stat.h> + #include <pwd.h> + #include <grp.h> + +diff --git a/src/package.c b/src/package.c +index e73814a..8f15e7a 100644 +--- a/src/package.c ++++ b/src/package.c +@@ -19,6 +19,7 @@ + #include <stdlib.h> + #include <unistd.h> + #include <sys/wait.h> ++#include <sys/stat.h> + + #include <openssl/pem.h> + +-- +cgit v0.8.3.1 |