Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-09-21 08:22:38 +0200
committerErich Eckner <git@eckner.net>2022-09-21 08:22:38 +0200
commit6cbf38f7981c5374b0f20fd8235ab82c3ab61e74 (patch)
tree5bab5bc07e8e6b6bbef53390f5c8470e3951410a /extra
parent40cf720d06d08a5de1ac4ca2f8c449677862d95d (diff)
rename function to local namespace pattern: get_gcc_version_from_config -> _get_gcc_version_from_config
Diffstat (limited to 'extra')
-rw-r--r--extra/linux-galileo-gen2/PKGBUILD4
-rw-r--r--extra/linux-olpc-xo1/PKGBUILD4
-rw-r--r--extra/linux-pae/PKGBUILD4
-rw-r--r--extra/linux-zen/PKGBUILD4
4 files changed, 8 insertions, 8 deletions
diff --git a/extra/linux-galileo-gen2/PKGBUILD b/extra/linux-galileo-gen2/PKGBUILD
index 034247a1..0cb05e97 100644
--- a/extra/linux-galileo-gen2/PKGBUILD
+++ b/extra/linux-galileo-gen2/PKGBUILD
@@ -93,7 +93,7 @@ _package() {
rm "$modulesdir"/{source,build}
}
-get_gcc_version_from_config() {
+_get_gcc_version_from_config() {
sed '
s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/
t
@@ -172,7 +172,7 @@ _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))
}
_package-docs() {
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
diff --git a/extra/linux-pae/PKGBUILD b/extra/linux-pae/PKGBUILD
index 85a8962e..ac8af227 100644
--- a/extra/linux-pae/PKGBUILD
+++ b/extra/linux-pae/PKGBUILD
@@ -195,10 +195,10 @@ _package-headers() {
esac
/usr/bin/strip ${_strip} "${_binary}"
done < <(find "${_builddir}/scripts" -type f -perm -u+w -print0 2>/dev/null)
- 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
diff --git a/extra/linux-zen/PKGBUILD b/extra/linux-zen/PKGBUILD
index 89064177..41ef2d72 100644
--- a/extra/linux-zen/PKGBUILD
+++ b/extra/linux-zen/PKGBUILD
@@ -15,11 +15,11 @@ eval "$(
a \
install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
}
- /}/ i depends+=(gcc-libs=$(get_gcc_version_from_config))
+ /}/ i 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