Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/linux-olpc-xo1
diff options
context:
space:
mode:
Diffstat (limited to 'extra/linux-olpc-xo1')
-rw-r--r--extra/linux-olpc-xo1/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/linux-olpc-xo1/PKGBUILD b/extra/linux-olpc-xo1/PKGBUILD
index dd1d38d6..e3ecde3d 100644
--- a/extra/linux-olpc-xo1/PKGBUILD
+++ b/extra/linux-olpc-xo1/PKGBUILD
@@ -164,10 +164,10 @@ _package-headers() {
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
- depends+=(gcc-libs=$(get_gcc_version_from_config))
+ depends+=(gcc-libs=$(_get_gcc_version_from_config))
}
-get_gcc_version_from_config() {
+_get_gcc_version_from_config() {
sed '
s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/
t