aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-12-07 19:23:04 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-12-07 20:03:24 +0000
commit97b1c2842faa3bfa30f5811ffbf16d5ff9f1a479 (patch)
tree41249d277b29436fbcfd1757dda9c8c8d2e0e6b3
parent53d93700875a6b05746fbfc40a0e8e12cf9a0e28 (diff)
downloadaports-97b1c2842faa3bfa30f5811ffbf16d5ff9f1a479.tar.bz2
aports-97b1c2842faa3bfa30f5811ffbf16d5ff9f1a479.tar.xz
main/libc-dev: add sgidefs.h file on mips targets
-rw-r--r--main/libc-dev/APKBUILD12
-rw-r--r--main/libc-dev/sgidefs.h1
2 files changed, 11 insertions, 2 deletions
diff --git a/main/libc-dev/APKBUILD b/main/libc-dev/APKBUILD
index 76dc1b08f9..a7fbf576fb 100644
--- a/main/libc-dev/APKBUILD
+++ b/main/libc-dev/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libc-dev
-pkgver=0.7.1
+pkgver=0.7.2
pkgrel=0
pkgdesc="Meta package to pull in correct libc"
url="http://alpinelinux.org"
@@ -15,6 +15,7 @@ subpackages="libc-utils:utils bsd-compat-headers:bsdcompat"
source="sys-cdefs.h
sys-queue.h
sys-tree.h
+ sgidefs.h
"
prepare() {
@@ -32,6 +33,12 @@ check() {
package() {
mkdir -p "$pkgdir"
+
+ case "$CTARGET" in
+ mips*)
+ install -D "$srcdir"/sgidefs.h "$pkgdir"/usr/include/sgidefs.h
+ ;;
+ esac
}
utils() {
@@ -56,4 +63,5 @@ bsdcompat() {
sha512sums="8c3fddd73b696a38e633953715c79c47703739be27ee085fc6c960a57b6746ca05bf6406f7e6126cc1a13204254fd5830afb566624e1f298f4d6b58216013c28 sys-cdefs.h
2f0d5e6e4dc3350285cf17009265dddcbe12431c111868eea39bc8cb038ab7c1f2acacbb21735c4e9d4a1fd106a8fc0f8611ea33987d4faba37dde5ce6da0750 sys-queue.h
-07cb70f2f0ddb31e23dd913c6f561fc9885667c5803fdf3a559676c99d08834b4104589bacb5d17b4a0b379c68c81a1cf3173832b3da33a7b936fa7b93706844 sys-tree.h"
+07cb70f2f0ddb31e23dd913c6f561fc9885667c5803fdf3a559676c99d08834b4104589bacb5d17b4a0b379c68c81a1cf3173832b3da33a7b936fa7b93706844 sys-tree.h
+568c9fc17dfad547078ecef7cf9145c5ca5b96a7dd509296c1a11af3524db122d6da4fab73b42d86e11df7ad67c0d60307c7fcabee0b82bdda2bea2f85315246 sgidefs.h"
diff --git a/main/libc-dev/sgidefs.h b/main/libc-dev/sgidefs.h
new file mode 100644
index 0000000000..34252bc1f8
--- /dev/null
+++ b/main/libc-dev/sgidefs.h
@@ -0,0 +1 @@
+#include <asm/sgidefs.h>