Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-13 15:43:37 +0200
committerErich Eckner <git@eckner.net>2018-09-13 15:43:37 +0200
commite5437ee6822e333d16b5e958ef6b705b68cf25f4 (patch)
treec935a031e17c21da606eaf3693f1f35e85bad3a3 /core
parent81a04e774f2812e1ca8c4e928b46929536ab53b7 (diff)
parent13160576b99ff949630f0e0ed7493725a6a9156f (diff)
Merge branch 'master' into i486
Diffstat (limited to 'core')
-rw-r--r--core/bzip2/PKGBUILD4
-rw-r--r--core/gcc/PKGBUILD33
2 files changed, 15 insertions, 22 deletions
diff --git a/core/bzip2/PKGBUILD b/core/bzip2/PKGBUILD
deleted file mode 100644
index abe949ba..00000000
--- a/core/bzip2/PKGBUILD
+++ /dev/null
@@ -1,4 +0,0 @@
-# reported as FS#59289
-source[0]="bzip2_1.0.6.tar.bz2::http://http.debian.net/debian/pool/main/b/bzip2/bzip2_1.0.6.orig.tar.bz2"
-sha1sums[0]="3725a0554fa6bb654ef2728fef36bc06aed4e388"
-sha1sums[2]="3318e71b4a6d9d350a61f47de495301a937fad8a"
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index 73360a5e..fecb7d16 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -14,6 +14,7 @@ eval "$(
declare -f build | \
sed '
s/--enable-multilib/--disable-multilib/
+ s,--with-bugurl=https://bugs\.archlinux\.org/,--with-bugurl=https://bugs.archlinux32.org/,
'
declare -f package_gcc-libs | \
sed '
@@ -47,19 +48,13 @@ eval "$(
done
)"
-# fix bug url
-eval "$(
- declare -f build | \
- sed '
- s,--with-bugurl=https://bugs.archlinux.org/,--with-bugurl=https://bugs.archlinux32.org/,
- '
-)"
-
# i486-specific
-if [ "${CARCH}" = "i486" ]; then
- # disable doxygen documentation
- makedepends=(${makedepends[@]//doxygen/})
+# disable doxygen documentation
+makedepends=(${makedepends[@]//doxygen/})
+makedepends_i686+=('doxygen')
+
+if [ "${CARCH}" = "i486" ]; then
eval "$(
declare -f build | \
sed '
@@ -74,11 +69,16 @@ if [ "${CARCH}" = "i486" ]; then
/make.*doc-install-man/d
'
)"
+fi
- # no ADA
- makedepends=(${makedepends[@]//gcc-ada/})
+# no ADA
+makedepends=(${makedepends[@]//gcc-ada/})
+makedepends_i686+=('gcc-ada')
- pkgname=(${pkgname[@]//gcc-ada/})
+if [ "${CARCH}" = "i486" ]; then
+ package_gcc-ada() {
+ touch "$pkgdir/this-is-a-dummy-package"
+ }
eval "$(
declare -f build | \
@@ -114,8 +114,5 @@ if [ "${CARCH}" = "i486" ]; then
s/--enable-cet=auto/--disable-cet/
'
)"
-
-fi
-
-
+fi