* ppc32 rush

This commit is contained in:
Alexander Baldeck 2020-11-04 14:04:38 +00:00
parent c5f0fb78b9
commit 5ba07c8134
54 changed files with 226 additions and 937 deletions

View File

@ -7,7 +7,7 @@ pkgname=audiofile
pkgver=0.3.6
pkgrel=6
pkgdesc="Silicon Graphics Audio File Library"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://audiofile.68k.org/"
license=('GPL2' 'LGPL2.1')
depends=('gcc-libs' 'alsa-lib' 'flac')

View File

@ -5,7 +5,7 @@ pkgname=avogadrolibs
pkgver=1.93.0
pkgrel=4
pkgdesc="Libraries that provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://www.openchemistry.org/"
license=(custom)
depends=(molequeue glew spglib libmsym libarchive hdf5)

View File

@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=cbindgen
pkgver=0.14.4
pkgver=0.15.0
pkgrel=1
pkgdesc="A tool for generating C bindings to Rust code"
url="https://github.com/eqrion/cbindgen"
@ -10,7 +10,7 @@ arch=( x86_64 powerpc64le powerpc )
license=(MPL2)
depends=(gcc-libs)
makedepends=(cargo git)
_commit=83cdbd897f02eaecb090a3f216899dcc14b43959 # tags/v0.14.4^0
_commit=83b3be9f884697a51f8717af8b5498866a81e62e # tags/v0.15.0^0
source=("git+https://github.com/eqrion/cbindgen#commit=$_commit")
sha512sums=('SKIP')

View File

@ -7,18 +7,18 @@ pkgname=chmlib
pkgver=0.40
pkgrel=6
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="http://www.jedrea.com/chmlib/"
license=('LGPL')
depends=('glibc')
source=("http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2"
chmlib-0.40-ppc64.patch)
chmlib-0.40-ppc.patch)
md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
'faa80ea24fd4a4ac6b0c94ac280defa8')
'd349ef4fb26ad91847073c229cbd6936')
prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/chmlib-0.40-ppc64.patch
patch -Np1 -i ${srcdir}/chmlib-0.40-ppc.patch
}
build() {

View File

@ -5,7 +5,7 @@
/* x86-64 */
/* Note that these may be appropriate for other 64-bit machines. */
-#elif __x86_64__ || __ia64__
+#elif __x86_64__ || __ia64__ || __powerpc64__
+#elif __x86_64__ || __ia64__ || __powerpc64__ || __powerpc__
typedef unsigned char UChar;
typedef short Int16;
typedef unsigned short UInt16;

View File

@ -3,10 +3,10 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=clang
pkgver=10.0.1
pkgver=11.0.0
pkgrel=1
pkgdesc="C language family frontend for LLVM"
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url="https://clang.llvm.org/"
license=('custom:Apache 2.0 with LLVM Exception')
depends=('llvm-libs' 'gcc' 'compiler-rt')
@ -22,13 +22,13 @@ source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}
$_source_base/clang-tools-extra-$pkgver.src.tar.xz{,.sig}
$_source_base/llvm-$pkgver.src.tar.xz{,.sig}
enable-SSP-and-PIE-by-default.patch)
sha256sums=('f99afc382b88e622c689b6d96cadfa6241ef55dca90e87fc170352e12ddb2b24'
sha256sums=('0f96acace1e8326b39f220ba19e055ba99b0ab21c2475042dbc6a482649c5209'
'SKIP'
'd093782bcfcd0c3f496b67a5c2c997ab4b85816b62a7dd5b27026634ccf5c11a'
'fed318f75d560d0e0ae728e2fb8abce71e9d0c60dd120c9baac118522ce76c09'
'SKIP'
'c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
'913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469'
'SKIP'
'9e557a18f3ca96cc5cc9b62d2e308b993025523b2aca0735248118a928c8c3ff')
'248a0e8609b00689e82ce5e05e1de58b7c8ae09a35bbb9625e9069e1f13d2fec')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
@ -41,6 +41,9 @@ _get_distribution_components() {
clang-libraries|distribution)
continue
;;
clang-tidy-headers)
continue
;;
clang|clangd|clang-*)
;;
clang*|findAllSymbols)
@ -56,14 +59,6 @@ prepare() {
mkdir build
mv "$srcdir/clang-tools-extra-$pkgver.src" tools/extra
patch -Np2 -i ../enable-SSP-and-PIE-by-default.patch
if [[ $pkgver != 10.* ]]; then
echo "Remove libclangHandleLLVM hack!"
return 1
fi
# Remove libclangHandleLLVM; breaks zig (https://reviews.llvm.org/D75579)
sed -i '/add_clang_subdirectory(handle-llvm)/d' \
tools/clang-fuzzer/CMakeLists.txt
}
build() {
@ -92,12 +87,12 @@ build() {
cmake_args+=(-DLLVM_DISTRIBUTION_COMPONENTS="$distribution_components")
cmake .. "${cmake_args[@]}"
ninja ${MAKEFLAGS}
ninja
}
check() {
cd "$srcdir/$pkgname-$pkgver.src/build"
ninja check-clang{,-tools} ${MAKEFLAGS}
ninja check-clang{,-tools}
}
_python2_optimize() {

View File

@ -1,6 +1,6 @@
From 9641fc2459b07c806c1e4d2a2345213ee6c2bafd Mon Sep 17 00:00:00 2001
From bb7bdc61f8a80db9aa16370d9c9fd0ae7be825cc Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evangelos@foutrelis.com>
Date: Sat, 11 Apr 2020 06:52:09 +0300
Date: Mon, 12 Oct 2020 16:40:41 +0300
Subject: [PATCH] Enable SSP and PIE by default
This is a minimal set of changes needed to make clang use SSP and PIE by
@ -33,10 +33,10 @@ of a compile-time option (https://bugs.llvm.org/show_bug.cgi?id=13410)
13 files changed, 50 insertions(+), 35 deletions(-)
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index bff1ab1009b..da54a08657d 100644
index 180350476c3..119f32ceec6 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -917,8 +917,18 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
@@ -819,8 +819,18 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
}
bool Linux::isPIEDefault() const {
@ -58,10 +58,10 @@ index bff1ab1009b..da54a08657d 100644
bool Linux::isNoExecStackDefault() const {
diff --git a/clang/lib/Driver/ToolChains/Linux.h b/clang/lib/Driver/ToolChains/Linux.h
index f5518eac218..2d4973cf40c 100644
index 6b16b0e6499..d0024110aef 100644
--- a/clang/lib/Driver/ToolChains/Linux.h
+++ b/clang/lib/Driver/ToolChains/Linux.h
@@ -37,6 +37,7 @@ public:
@@ -39,6 +39,7 @@ public:
bool isPIEDefault() const override;
bool isNoExecStackDefault() const override;
bool IsMathErrnoDefault() const override;
@ -131,10 +131,10 @@ index 0371bc91c4a..ea89f525121 100644
// CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../../../i386-unknown-linux/lib"
// CHECK-LD-32: "-L[[SYSROOT]]/usr/lib/gcc/i386-unknown-linux/4.6.0/../../.."
diff --git a/clang/test/Driver/fsanitize.c b/clang/test/Driver/fsanitize.c
index f02f94d8c5a..358917588c7 100644
index 7340bfb35e4..681bb90b50e 100644
--- a/clang/test/Driver/fsanitize.c
+++ b/clang/test/Driver/fsanitize.c
@@ -328,15 +328,15 @@
@@ -329,15 +329,15 @@
// RUN: %clang -target x86_64-linux-gnu -fsanitize=vptr -fno-sanitize=vptr -fsanitize=undefined,address %s -### 2>&1
// OK
@ -154,7 +154,7 @@ index f02f94d8c5a..358917588c7 100644
// CHECK-NO-PIE-NOT: "-pie"
// CHECK-NO-PIE: "-mrelocation-model" "static"
@@ -661,12 +661,12 @@
@@ -662,12 +662,12 @@
// RUN: %clang -fno-sanitize=safe-stack -### %s 2>&1 | FileCheck %s -check-prefix=NOSP
// NOSP-NOT: "-fsanitize=safe-stack"
@ -183,10 +183,10 @@ index 6c872f4255c..f5006d1dd9a 100644
// CHECK: "-L[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5"
// CHECK: "-L[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../.."
diff --git a/clang/test/Driver/hexagon-toolchain-elf.c b/clang/test/Driver/hexagon-toolchain-elf.c
index 44bff6f703a..6575d032f5d 100644
index cc11f9fcba9..1fe8b5db587 100644
--- a/clang/test/Driver/hexagon-toolchain-elf.c
+++ b/clang/test/Driver/hexagon-toolchain-elf.c
@@ -470,7 +470,7 @@
@@ -487,7 +487,7 @@
// RUN: %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK042 %s
// CHECK042: "-cc1"
@ -196,7 +196,7 @@ index 44bff6f703a..6575d032f5d 100644
// CHECK042-NEXT: llvm-mc
// CHECK042: "-gpsize=8"
diff --git a/clang/test/Driver/linux-as.c b/clang/test/Driver/linux-as.c
index 77ac05f3094..cb474f32898 100644
index 0959bd7ba0a..4056a672b6f 100644
--- a/clang/test/Driver/linux-as.c
+++ b/clang/test/Driver/linux-as.c
@@ -164,7 +164,7 @@
@ -218,7 +218,7 @@ index 77ac05f3094..cb474f32898 100644
// CHECK-SPARCV9PIC: as
// CHECK-SPARCV9PIC: -64
diff --git a/clang/test/Driver/linux-ld.c b/clang/test/Driver/linux-ld.c
index 51227550b52..d01d6627131 100644
index ec539522c25..caf96020a15 100644
--- a/clang/test/Driver/linux-ld.c
+++ b/clang/test/Driver/linux-ld.c
@@ -1,3 +1,5 @@
@ -228,7 +228,7 @@ index 51227550b52..d01d6627131 100644
// sysroot to make these tests independent of the host system.
//
diff --git a/clang/test/Driver/ppc-abi.c b/clang/test/Driver/ppc-abi.c
index acc4981a2ee..50c798912d3 100644
index aef8d8576ad..ec595f4cd96 100644
--- a/clang/test/Driver/ppc-abi.c
+++ b/clang/test/Driver/ppc-abi.c
@@ -1,9 +1,9 @@
@ -255,7 +255,7 @@ index acc4981a2ee..50c798912d3 100644
// RUN: %clang -target powerpc64le-unknown-linux-gnu %s -### -o %t.o 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK-ELFv2 %s
@@ -32,11 +32,13 @@
@@ -33,11 +33,13 @@
// CHECK-ELFv1: "-mrelocation-model" "static"
// CHECK-ELFv1: "-target-abi" "elfv1"
@ -273,10 +273,10 @@ index acc4981a2ee..50c798912d3 100644
// CHECK-ELFv2-BE: "-mrelocation-model" "static"
// CHECK-ELFv2-BE: "-target-abi" "elfv2"
diff --git a/clang/test/Driver/riscv32-toolchain.c b/clang/test/Driver/riscv32-toolchain.c
index 2ff3a585bda..f923b728c0f 100644
index b83c9aafcbf..15b6f6496b2 100644
--- a/clang/test/Driver/riscv32-toolchain.c
+++ b/clang/test/Driver/riscv32-toolchain.c
@@ -76,7 +76,7 @@
@@ -81,7 +81,7 @@
// C-RV32-LINUX-MULTI-ILP32: "--sysroot={{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot"
// C-RV32-LINUX-MULTI-ILP32: "-m" "elf32lriscv"
// C-RV32-LINUX-MULTI-ILP32: "-dynamic-linker" "/lib/ld-linux-riscv32-ilp32.so.1"
@ -285,7 +285,7 @@ index 2ff3a585bda..f923b728c0f 100644
// C-RV32-LINUX-MULTI-ILP32: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/lib/gcc/riscv64-unknown-linux-gnu/7.2.0/lib32/ilp32"
// C-RV32-LINUX-MULTI-ILP32: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/lib32/ilp32"
// C-RV32-LINUX-MULTI-ILP32: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib32/ilp32"
@@ -91,7 +91,7 @@
@@ -96,7 +96,7 @@
// C-RV32-LINUX-MULTI-ILP32D: "--sysroot={{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot"
// C-RV32-LINUX-MULTI-ILP32D: "-m" "elf32lriscv"
// C-RV32-LINUX-MULTI-ILP32D: "-dynamic-linker" "/lib/ld-linux-riscv32-ilp32d.so.1"
@ -295,10 +295,10 @@ index 2ff3a585bda..f923b728c0f 100644
// C-RV32-LINUX-MULTI-ILP32D: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/lib32/ilp32d"
// C-RV32-LINUX-MULTI-ILP32D: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib32/ilp32d"
diff --git a/clang/test/Driver/riscv64-toolchain.c b/clang/test/Driver/riscv64-toolchain.c
index 42cac51de59..42a05e02fcc 100644
index 5df069eb9fd..2617551ec35 100644
--- a/clang/test/Driver/riscv64-toolchain.c
+++ b/clang/test/Driver/riscv64-toolchain.c
@@ -76,7 +76,7 @@
@@ -81,7 +81,7 @@
// C-RV64-LINUX-MULTI-LP64: "--sysroot={{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot"
// C-RV64-LINUX-MULTI-LP64: "-m" "elf64lriscv"
// C-RV64-LINUX-MULTI-LP64: "-dynamic-linker" "/lib/ld-linux-riscv64-lp64.so.1"
@ -307,7 +307,7 @@ index 42cac51de59..42a05e02fcc 100644
// C-RV64-LINUX-MULTI-LP64: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/lib/gcc/riscv64-unknown-linux-gnu/7.2.0/lib64/lp64"
// C-RV64-LINUX-MULTI-LP64: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/lib64/lp64"
// C-RV64-LINUX-MULTI-LP64: "-L{{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib64/lp64"
@@ -91,7 +91,7 @@
@@ -96,7 +96,7 @@
// C-RV64-LINUX-MULTI-LP64D: "--sysroot={{.*}}/Inputs/multilib_riscv_linux_sdk/sysroot"
// C-RV64-LINUX-MULTI-LP64D: "-m" "elf64lriscv"
// C-RV64-LINUX-MULTI-LP64D: "-dynamic-linker" "/lib/ld-linux-riscv64-lp64d.so.1"

View File

@ -4,18 +4,18 @@
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=cmake
pkgver=3.18.2
pkgver=3.18.4
pkgrel=1
pkgdesc='A cross-platform open-source make system'
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url="https://www.cmake.org/"
license=('custom')
depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp' 'libjsoncpp.so' 'libuv' 'rhash')
makedepends=('python-sphinx')
#optdepends=('qt5-base: cmake-gui')
makedepends=('qt5-base' 'python-sphinx' 'emacs')
optdepends=('qt5-base: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz"
cmake-cppflags.patch)
sha512sums=('74915e643d09af1d8451e57120f2e5963f6fd34ca2cfa0cd573bd7f234924458105e7cc76952c022732de7566cd590141127b243933a564ac575a0dcbb8cc6e7'
sha512sums=('2f0c5647ed58bf911d0bfeafc7f22a3de09aa3be86301158fa51c8560e994534d7500869067432ecf91e82213a0b36ddb5db11c5c55d2ca5e5647ac9f75717b9'
'407c5c63a31266e44641ada8229dbc33df44df98e5bb575db3a33590e8ffdff9aea3f2ee5cb0cb855858facf1e46c63886dea9f948a0cad2da042e7f7f258cac')
prepare() {
@ -31,6 +31,7 @@ build() {
--docdir=/share/doc/cmake \
--sphinx-man \
--system-libs \
--qt-gui \
--parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
}

View File

@ -3,18 +3,20 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=compiler-rt
pkgver=10.0.1
pkgver=11.0.0
pkgrel=1
pkgdesc="Compiler runtime libraries for clang"
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url="https://compiler-rt.llvm.org/"
license=('custom:Apache 2.0 with LLVM Exception')
depends=('gcc-libs')
makedepends=('llvm' 'cmake' 'ninja' 'python')
# Build 32-bit compiler-rt libraries on x86_64 (FS#41911)
makedepends_x86_64=('lib32-gcc-libs')
options=('staticlibs')
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
sha256sums=('d90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa'
sha256sums=('374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234'
'SKIP')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
@ -30,7 +32,7 @@ build() {
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
ninja ${MAKEFLAGS}
ninja
}
package() {

View File

@ -4,28 +4,27 @@
# Contributor: Kringel
pkgname=eigen
pkgver=3.3.7
pkgrel=7
pkgver=3.3.8
pkgrel=3
pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
arch=('any')
url='https://eigen.tuxfamily.org'
license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK')
makedepends=('cmake' 'pkg-config' 'freeglut' 'gcc-fortran' 'fftw' 'suitesparse' 'boost')
source=("${pkgname}-${pkgver}.tar.bz2::https://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2"
eigen-c++17.patch::"https://gitlab.com/libeigen/eigen/-/commit/b3c4344a.patch"
eigen-c++20.patch::"https://gitlab.com/libeigen/eigen/-/commit/867a7565.patch")
sha256sums=('9f13cf90dedbe3e52a19f43000d71fdf72e986beb9a5436dddcd61ff9d77a3ce'
'80c1e974e525c3327ae933d6f064c8fb270d8ca99e32369533aacff72ee9cfce'
'2b1929b165302be43614f86286712402a4cbfa4d176b3cafba9588d1d84dd210')
source=(https://gitlab.com/libeigen/eigen/-/archive/$pkgver/$pkgname-$pkgver.tar.gz
eigen-bug2011.patch::"https://gitlab.com/libeigen/eigen/-/commit/ef3cc72c.patch"
eigen-paradiso.patch::"https://gitlab.com/libeigen/eigen/-/commit/bfdd4a99.patch")
sha256sums=('146a480b8ed1fb6ac7cd33fec9eb5e8f8f62c3683b3f850094d9d5c35a92419a'
'c04d624d550b119be0f810786baba7e0d7809edefd4854a2db6dbd98a7da5a7d'
'14c239a5b6c1efe1c2e6f33fc9c449a500b74ded2e865ca730b213c142f1f750')
prepare() {
cd eigen-eigen-*
patch -p1 -i ../eigen-c++17.patch # https://gitlab.com/libeigen/eigen/-/issues/1676
patch -p1 -i ../eigen-c++20.patch # https://gitlab.com/libeigen/eigen/-/issues/1833
patch -d $pkgname-$pkgver -p1 -i ../eigen-bug2011.patch # https://gitlab.com/libeigen/eigen/-/issues/2011
patch -d $pkgname-$pkgver -p1 -i ../eigen-paradiso.patch # Fix Paradiso
}
build() {
cmake -B build -S eigen-eigen-* \
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
}
@ -33,7 +32,5 @@ package() {
DESTDIR="$pkgdir" cmake --install build
# install custom licenses
install -Dm644 eigen-eigen-*/COPYING.MPL2 -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 eigen-eigen-*/COPYING.BSD -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 eigen-eigen-*/COPYING.MINPACK -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 $pkgname-$pkgver/COPYING.* -t "$pkgdir/usr/share/licenses/$pkgname"
}

View File

@ -1,56 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Mon, 25 Mar 2019 20:30:11 +0100
Subject: [PATCH] Use remoting name for GDK application names
---
toolkit/xre/nsAppRunner.cpp | 6 +-----
widget/gtk/nsAppShell.cpp | 11 ++++-------
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
index 49e2c73986ab..43ebcac381c7 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -3822,11 +3822,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
// consistently.
// Set program name to the one defined in application.ini.
- {
- nsAutoCString program(gAppData->name);
- ToLowerCase(program);
- g_set_prgname(program.get());
- }
+ g_set_prgname(gAppData->remotingName);
// Initialize GTK here for splash.
diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
index cfe022e65d82..06325264dbb1 100644
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -24,6 +24,7 @@
# include "WakeLockListener.h"
#endif
#include "gfxPlatform.h"
+#include "nsAppRunner.h"
#include "ScreenHelperGTK.h"
#include "HeadlessScreenHelper.h"
#include "mozilla/widget/ScreenManager.h"
@@ -159,13 +160,9 @@ nsresult nsAppShell::Init() {
// See https://bugzilla.gnome.org/show_bug.cgi?id=747634
//
// Only bother doing this for the parent process, since it's the one
- // creating top-level windows. (At this point, a child process hasn't
- // received the list of registered chrome packages, so the
- // GetBrandShortName call would fail anyway.)
- nsAutoString brandName;
- mozilla::widget::WidgetUtils::GetBrandShortName(brandName);
- if (!brandName.IsEmpty()) {
- gdk_set_program_class(NS_ConvertUTF16toUTF8(brandName).get());
+ // creating top-level windows.
+ if (gAppData) {
+ gdk_set_program_class(gAppData->remotingName);
}
}
}

View File

@ -1,46 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jed Davis <jld@mozilla.com>
Date: Fri, 28 Aug 2020 09:23:58 +0000
Subject: [PATCH] Bug 1660901 - Support the fstat-like subset of fstatat in the
Linux sandbox policies. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D88499
---
security/sandbox/linux/SandboxFilter.cpp | 6 ++++++
security/sandbox/linux/broker/SandboxBrokerUtils.h | 2 ++
2 files changed, 8 insertions(+)
diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
index e522d61e065c..4087bdc07e01 100644
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -243,6 +243,12 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
auto path = reinterpret_cast<const char*>(aArgs.args[1]);
auto buf = reinterpret_cast<statstruct*>(aArgs.args[2]);
auto flags = static_cast<int>(aArgs.args[3]);
+
+ if (fd != AT_FDCWD && (flags & AT_EMPTY_PATH) != 0 &&
+ strcmp(path, "") == 0) {
+ return ConvertError(fstatsyscall(fd, buf));
+ }
+
if (fd != AT_FDCWD && path[0] != '/') {
SANDBOX_LOG_ERROR("unsupported fd-relative fstatat(%d, \"%s\", %p, %d)",
fd, path, buf, flags);
diff --git a/security/sandbox/linux/broker/SandboxBrokerUtils.h b/security/sandbox/linux/broker/SandboxBrokerUtils.h
index 85a006740c2c..db33b5028e77 100644
--- a/security/sandbox/linux/broker/SandboxBrokerUtils.h
+++ b/security/sandbox/linux/broker/SandboxBrokerUtils.h
@@ -19,10 +19,12 @@
typedef struct stat64 statstruct;
# define statsyscall stat64
# define lstatsyscall lstat64
+# define fstatsyscall fstat64
#elif defined(__NR_stat)
typedef struct stat statstruct;
# define statsyscall stat
# define lstatsyscall lstat
+# define fstatsyscall fstat
#else
# error Missing stat syscall include.
#endif

View File

@ -1,31 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Julien Cristau <jcristau@mozilla.com>
Date: Sun, 6 Sep 2020 20:20:39 +0000
Subject: [PATCH] Bug 1660901 - ignore AT_NO_AUTOMOUNT in fstatat system call.
r=jld
Per the manpage "Both stat() and lstat() act as though AT_NO_AUTOMOUNT
was set.", so don't bail if it's set in a call to fstatat.
Differential Revision: https://phabricator.services.mozilla.com/D89121
---
security/sandbox/linux/SandboxFilter.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
index 4087bdc07e01..c4f6c318ad1c 100644
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -254,9 +254,10 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
fd, path, buf, flags);
return BlockedSyscallTrap(aArgs, nullptr);
}
- if ((flags & ~AT_SYMLINK_NOFOLLOW) != 0) {
+ if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT)) != 0) {
SANDBOX_LOG_ERROR("unsupported flags %d in fstatat(%d, \"%s\", %p, %d)",
- (flags & ~AT_SYMLINK_NOFOLLOW), fd, path, buf, flags);
+ (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT)), fd,
+ path, buf, flags);
return BlockedSyscallTrap(aArgs, nullptr);
}
return (flags & AT_SYMLINK_NOFOLLOW) == 0 ? broker->Stat(path, buf)

View File

@ -4,7 +4,7 @@
# Contributor: Jakub Schmidtke <sjakub@gmail.com>
pkgname=firefox
pkgver=81.0.1
pkgver=82.0
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=( x86_64 powerpc64le powerpc )
@ -19,32 +19,30 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'pulseaudio: Audio support'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English')
options=(!emptydirs !makeflags !strip)
options=(!emptydirs !makeflags strip)
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
$pkgname.desktop
0001-Use-remoting-name-for-GDK-application-names.patch
0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch
0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch
firefox-powerpc-clang.patch
sandbox-fork.patch
ppc32-fix-build.patch
avoid-redefinition.patch
big-endian-image-decoders.patch
skia-sucks{1,2,3}.patch
"${pkgname}-${pkgver}-ppc32-async-logger.patch::https://hg.mozilla.org/integration/autoland/raw-rev/a7dec549998f")
sha256sums=('7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff'
fix-image-format-warning.patch
ppc32-fix-build.patch
rust-has-i128.patch
sndio.patch
skia-sucks{1,2,3}.patch)
sha256sums=('90c58707f5bd34978e2d1bcadbe463556edc0878430f969893ae2f89c5d464c2'
'SKIP'
'a9e5264257041c0b968425b5c97436ba48e8d294e1a0f02c59c35461ea245c33'
'e0eaec8ddd24bbebf4956563ebc6d7a56f8dada5835975ee4d320dd3d0c9c442'
'c2489a4ad3bfb65c064e07180a1de9a2fbc3b1b72d6bc4cd3985484d1b6b7b29'
'52cc26cda4117f79fae1a0ad59e1404b299191a1c53d38027ceb178dab91f3dc'
'ad83c0c6195ab742848941be1d9c8f32c1d4a8bc019d8887b42256bafaefb541'
'5cb47ef1c404d5777c9502fc0fa7f990ed5be408178a890e5c1b923f63c09abb'
'cc24b6b95ff11ebf3bb29e0270f357169c7fff00c2a6f33e6c2b701096e7da9e'
'10ec0cd241c0d0ff901444e42ddb15e5c397302fd442fb63de8ee13b12751579'
'0df637d44218524e213814d15d623f27724d8e405390173f6cc385e145110bfe'
'958cf5016e9845b6ee6e2ed05ad96cc2fc6f74bebbb338a7b7ce29bffd2be716'
'cc24b6b95ff11ebf3bb29e0270f357169c7fff00c2a6f33e6c2b701096e7da9e'
'f64a00a8ab599fd06adb6e896c25b91401c4caffb0e6d4da276a8f6992b9004a'
'b8b97721f60a6df8e388d7ccc921b913f254b8eed0905a088df6cf96e6023b8f'
'9cdffb3f91e0956f4147c8556c80b97bcae448b84ce0d0a0e009a231a9915396'
'd98af26b723a8b590822a3d1ab925841b99882c158d3dec7514288c968f2428e'
'851503764a3068d36659b9231c9aaa40fe8a15680f7d0a378e9009ae1a776dae'
'11c147391bdcb4c42a41b4a9001400cc90c09ab275131a025b1bc0c424ad3d60')
'851503764a3068d36659b9231c9aaa40fe8a15680f7d0a378e9009ae1a776dae')
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
@ -66,25 +64,16 @@ prepare() {
patch -Np0 -i ${srcdir}/firefox-powerpc-clang.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530052
patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch
# sourced from Voidlinux thanks!
patch -Np0 -i ${srcdir}/sandbox-fork.patch
# https://bugs.archlinux.org/task/67978
# https://bugzilla.mozilla.org/show_bug.cgi?id=1660901
patch -Np1 -i ../0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch
patch -Np1 -i ../0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch
patch -Np0 -i ../ppc32-fix-build.patch
patch -Np0 -i ../big-endian-image-decoders.patch
patch -Np0 -i ../skia-sucks1.patch
patch -Np0 -i ../skia-sucks2.patch
patch -Np0 -i ../skia-sucks3.patch
patch -Np1 -i ../${pkgname}-${pkgver}-ppc32-async-logger.patch
patch -Np0 -i ${srcdir}/avoid-redefinition.patch
patch -Np0 -i ${srcdir}/big-endian-image-decoders.patch
patch -Np0 -i ${srcdir}/fix-image-format-warning.patch
patch -Np0 -i ${srcdir}/ppc32-fix-build.patch
patch -Np0 -i ${srcdir}/rust-has-i128.patch
patch -Np0 -i ${srcdir}/sndio.patch
patch -Np0 -i ${srcdir}/skia-sucks1.patch
patch -Np0 -i ${srcdir}/skia-sucks2.patch
patch -Np0 -i ${srcdir}/skia-sucks3.patch
sed -i 's/\("files":{\)[^}]*/\1/' third_party/rust/num-traits/.cargo-checksum.json
@ -100,8 +89,6 @@ ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-jemalloc
ac_add_options --enable-linker=bfd
export CC=gcc
export CXX=g++
export LDFLAGS="${LDFLAGS} -Wl,-rpath=/usr/lib/firefox"
mk_add_options MOZ_MAKE_FLAGS="${MAKEFLAGS}"

View File

@ -1,88 +0,0 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=1626236
https://bug1626236.bmoattachments.org/attachment.cgi?id=9137096
# HG changeset patch
# User msirringhaus@suse.de
# Date 1582805876 -3600
# Thu Feb 27 13:17:56 2020 +0100
# Node ID cc3d09abea31068e57f1ab918782f9f86fc6a158
# Parent 9cd90914846f667f18babc491a74c164ae5d6e9f
imported patch decoder_workaround.patch
diff -r 9cd90914846f image/decoders/nsGIFDecoder2.cpp
--- image/decoders/nsGIFDecoder2.cpp Thu Feb 27 12:57:14 2020 +0100
+++ image/decoders/nsGIFDecoder2.cpp Fri Mar 27 13:06:18 2020 +0100
@@ -422,6 +422,9 @@
MOZ_ASSERT(mSwizzleFn);
uint8_t* data = reinterpret_cast<uint8_t*>(aColormap);
mSwizzleFn(data, data, aColors);
+#if MOZ_BIG_ENDIAN()
+ SwizzleRow(SurfaceFormat::A8R8G8B8, SurfaceFormat::B8G8R8A8)(data, data, aColors);
+#endif
}
LexerResult nsGIFDecoder2::DoDecode(SourceBufferIterator& aIterator,
diff -r 9cd90914846f image/decoders/nsJPEGDecoder.cpp
--- image/decoders/nsJPEGDecoder.cpp Thu Feb 27 12:57:14 2020 +0100
+++ image/decoders/nsJPEGDecoder.cpp Fri Mar 27 13:06:18 2020 +0100
@@ -263,6 +263,9 @@
case JCS_YCbCr:
// By default, we will output directly to BGRA. If we need to apply
// special color transforms, this may change.
+#if MOZ_BIG_ENDIAN()
+ mInfo.out_color_space = MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB;
+#else
switch (SurfaceFormat::OS_RGBX) {
case SurfaceFormat::B8G8R8X8:
mInfo.out_color_space = JCS_EXT_BGRX;
@@ -277,6 +280,7 @@
mState = JPEG_ERROR;
return Transition::TerminateFailure();
}
+#endif
break;
case JCS_CMYK:
case JCS_YCCK:
diff -r 9cd90914846f image/decoders/nsPNGDecoder.cpp
--- image/decoders/nsPNGDecoder.cpp Thu Feb 27 12:57:14 2020 +0100
+++ image/decoders/nsPNGDecoder.cpp Fri Mar 27 13:06:18 2020 +0100
@@ -361,7 +361,7 @@
IResumable* aOnResume) {
MOZ_ASSERT(!HasError(), "Shouldn't call DoDecode after error!");
- return mLexer.Lex(aIterator, aOnResume,
+ LexerResult res = mLexer.Lex(aIterator, aOnResume,
[=](State aState, const char* aData, size_t aLength) {
switch (aState) {
case State::PNG_DATA:
@@ -371,6 +371,14 @@
}
MOZ_CRASH("Unknown State");
});
+
+#if MOZ_BIG_ENDIAN()
+ if(res.is<TerminalState>() && res.as<TerminalState>() == TerminalState::SUCCESS) {
+ NativeEndian::swapToLittleEndianInPlace<uint32_t>((uint32_t*)(mImageData), mImageDataLength / 4);
+ }
+#endif
+
+ return res;
}
LexerTransition<nsPNGDecoder::State> nsPNGDecoder::ReadPNGData(
diff -r 9cd90914846f image/decoders/nsWebPDecoder.cpp
--- image/decoders/nsWebPDecoder.cpp Thu Feb 27 12:57:14 2020 +0100
+++ image/decoders/nsWebPDecoder.cpp Fri Mar 27 13:06:18 2020 +0100
@@ -237,7 +237,12 @@
// WebP doesn't guarantee that the alpha generated matches the hint in the
// header, so we always need to claim the input is BGRA. If the output is
// BGRX, swizzling will mask off the alpha channel.
+#if MOZ_BIG_ENDIAN()
+ mBuffer.colorspace = MODE_ARGB;
+ SurfaceFormat inFormat = mFormat;
+#else
SurfaceFormat inFormat = SurfaceFormat::OS_RGBA;
+#endif
SurfacePipeFlags pipeFlags = SurfacePipeFlags();
if (mFormat == SurfaceFormat::OS_RGBA &&

View File

@ -1,207 +0,0 @@
--- security/nss/lib/freebl/mpi/mpcpucache.c.orig 2019-12-23 18:32:28.800055511 +0100
+++ security/nss/lib/freebl/mpi/mpcpucache.c 2019-12-23 18:33:00.886759880 +0100
@@ -727,9 +727,12 @@
dcbzl(char *array)
{
register char *a asm("r2") = array;
- __asm__ __volatile__("dcbzl %0,0"
- : "=r"(a)
- : "0"(a));
+ /* some older assemblers won't understand the dcbzl instruction
+ * variant, so we directly emit the instruction ourselves */
+ __asm__ __volatile__("mr 9, %0 ; .long 0x7C204FEC" /*dcbzl 0,9*/
+ : /*out*/
+ : "r" (a) /*in*/
+ : "memory", "r9" /*clobber*/);
}
#define PPC_DO_ALIGN(x, y) ((char *)((((long long)(x)) + ((y)-1)) & ~((y)-1)))
--- xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S.orig 2019-12-23 18:34:18.188819500 +0100
+++ xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S 2019-12-23 18:34:35.437047656 +0100
@@ -58,35 +58,35 @@
#endif
mflr r0
- std r4, -56(r1) # Save all GPRS
- std r5, -48(r1)
- std r6, -40(r1)
- std r7, -32(r1)
- std r8, -24(r1)
- std r9, -16(r1)
- std r10, -8(r1)
-
- stfd f13, -64(r1) # ... and FPRS
- stfd f12, -72(r1)
- stfd f11, -80(r1)
- stfd f10, -88(r1)
- stfd f9, -96(r1)
- stfd f8, -104(r1)
- stfd f7, -112(r1)
- stfd f6, -120(r1)
- stfd f5, -128(r1)
- stfd f4, -136(r1)
- stfd f3, -144(r1)
- stfd f2, -152(r1)
- stfd f1, -160(r1)
+ std r4, -56(%r1) # Save all GPRS
+ std r5, -48(%r1)
+ std r6, -40(%r1)
+ std r7, -32(%r1)
+ std r8, -24(%r1)
+ std r9, -16(%r1)
+ std r10, -8(%r1)
+
+ stfd f13, -64(%r1) # ... and FPRS
+ stfd f12, -72(%r1)
+ stfd f11, -80(%r1)
+ stfd f10, -88(%r1)
+ stfd f9, -96(%r1)
+ stfd f8, -104(%r1)
+ stfd f7, -112(%r1)
+ stfd f6, -120(%r1)
+ stfd f5, -128(%r1)
+ stfd f4, -136(%r1)
+ stfd f3, -144(%r1)
+ stfd f2, -152(%r1)
+ stfd f1, -160(%r1)
subi r6,r1,56 # r6 --> gprData
subi r7,r1,160 # r7 --> fprData
addi r5,r1,STACK_PARAMS # r5 --> extra stack args
- std r0, 16(r1)
+ std r0, 16(%r1)
- stdu r1,-288(r1)
+ stdu r1,-288(%r1)
# r3 has the 'self' pointer
# already
@@ -97,8 +97,8 @@
bl PrepareAndDispatch
nop
- ld 1,0(r1) # restore stack
- ld r0,16(r1) # restore LR
+ ld 1,0(%r1) # restore stack
+ ld r0,16(%r1) # restore LR
mtlr r0
blr
--- xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S.orig 2019-12-23 18:35:17.732702582 +0100
+++ xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S 2019-12-23 18:35:23.742085209 +0100
@@ -62,11 +62,11 @@
.NS_InvokeByIndex:
#endif
mflr 0
- std 0,16(r1)
+ std 0,16(%r1)
- std r29,-24(r1)
- std r30,-16(r1)
- std r31,-8(r1)
+ std r29,-24(%r1)
+ std r30,-16(%r1)
+ std r31,-8(%r1)
mr r29,r3 # Save 'that' in r29
mr r30,r4 # Save 'methodIndex' in r30
@@ -79,7 +79,7 @@
#
# | (fixed area + | | 7 GP | 13 FP | 3 NV |
# | param. save) |(params)........| regs | regs | regs |
- # (r1)......(+STACK_PARAMS)... (-23*8).(-16*8).(-3*8)..(r31)
+ # (%r1)......(+STACK_PARAMS)... (-23*8).(-16*8).(-3*8)..(%r31)
# +stack frame, -unused stack params, +regs storage, +1 for alignment
addi r7,r5,((STACK_PARAMS/8)-7+7+13+3+1)
@@ -105,56 +105,56 @@
# Set up to invoke function
- ld r9,0(r29) # vtable (r29 is 'that')
+ ld r9,0(%r29) # vtable (%r29 is 'that')
mr r3,r29 # self is first arg, obviously
sldi r30,r30,3 # Find function descriptor
add r9,r9,r30
- ld r12,0(r9)
+ ld r12,0(%r9)
- std r2,STACK_TOC(r1) # Save r2 (TOC pointer)
+ std r2,STACK_TOC(%r1) # Save r2 (TOC pointer)
#if _CALL_ELF == 2
mtctr r12
#else
- ld r0,0(r12) # Actual address from fd.
+ ld r0,0(%r12) # Actual address from fd.
mtctr 0
- ld r11,16(r12) # Environment pointer from fd.
- ld r2,8(r12) # TOC pointer from fd.
+ ld r11,16(%r12) # Environment pointer from fd.
+ ld r2,8(%r12) # TOC pointer from fd.
#endif
# Load FP and GP registers as required
- ld r4, -(23*8)(r31)
- ld r5, -(22*8)(r31)
- ld r6, -(21*8)(r31)
- ld r7, -(20*8)(r31)
- ld r8, -(19*8)(r31)
- ld r9, -(18*8)(r31)
- ld r10, -(17*8)(r31)
-
- lfd f1, -(16*8)(r31)
- lfd f2, -(15*8)(r31)
- lfd f3, -(14*8)(r31)
- lfd f4, -(13*8)(r31)
- lfd f5, -(12*8)(r31)
- lfd f6, -(11*8)(r31)
- lfd f7, -(10*8)(r31)
- lfd f8, -(9*8)(r31)
- lfd f9, -(8*8)(r31)
- lfd f10, -(7*8)(r31)
- lfd f11, -(6*8)(r31)
- lfd f12, -(5*8)(r31)
- lfd f13, -(4*8)(r31)
+ ld r4, -(23*8)(%r31)
+ ld r5, -(22*8)(%r31)
+ ld r6, -(21*8)(%r31)
+ ld r7, -(20*8)(%r31)
+ ld r8, -(19*8)(%r31)
+ ld r9, -(18*8)(%r31)
+ ld r10, -(17*8)(%r31)
+
+ lfd f1, -(16*8)(%r31)
+ lfd f2, -(15*8)(%r31)
+ lfd f3, -(14*8)(%r31)
+ lfd f4, -(13*8)(%r31)
+ lfd f5, -(12*8)(%r31)
+ lfd f6, -(11*8)(%r31)
+ lfd f7, -(10*8)(%r31)
+ lfd f8, -(9*8)(%r31)
+ lfd f9, -(8*8)(%r31)
+ lfd f10, -(7*8)(%r31)
+ lfd f11, -(6*8)(%r31)
+ lfd f12, -(5*8)(%r31)
+ lfd f13, -(4*8)(%r31)
bctrl # Do it
- ld r2,STACK_TOC(r1) # Load our own TOC pointer
- ld r1,0(r1) # Revert stack frame
- ld 0,16(r1) # Reload lr
+ ld r2,STACK_TOC(%r1) # Load our own TOC pointer
+ ld r1,0(%r1) # Revert stack frame
+ ld 0,16(%r1) # Reload lr
mtlr 0
- ld 29,-24(r1) # Restore NVGPRS
- ld 30,-16(r1)
- ld 31,-8(r1)
+ ld 29,-24(%r1) # Restore NVGPRS
+ ld 30,-16(%r1)
+ ld 31,-8(%r1)
blr
#if _CALL_ELF == 2

View File

@ -1,36 +0,0 @@
This is not a complete/correct patch, but it makes firefox build. For now
mostly for tracking, so a real fix can be made, but right now it still
segfaults on start.
Ref: https://hg.mozilla.org/mozilla-central/rev/08339a56f3ae
Ref: https://hg.mozilla.org/mozilla-central/rev/d16fcad6aa60
Ref: https://hg.mozilla.org/mozilla-central/rev/ab87611d012e
Ref: https://hg.mozilla.org/mozilla-central/file/tip/xpcom/reflect/xptcall/md/unix/xptcinvoke_ppc_linux.cpp
--- xpcom/reflect/xptcall/xptcall.h
+++ xpcom/reflect/xptcall/xptcall.h
@@ -71,6 +71,11 @@ struct nsXPTCVariant {
ExtendedVal ext;
};
+#if defined(__powerpc__) && !defined(__powerpc64__)
+ // this field is still necessary on ppc32, as an address
+ // to it is taken certain places in xptcall
+ void *ptr;
+#endif
nsXPTType type;
uint8_t flags;
@@ -91,7 +96,12 @@ struct nsXPTCVariant {
};
void ClearFlags() { flags = 0; }
+#if defined(__powerpc__) && !defined(__powerpc64__)
+ void SetIndirect() { ptr = &val; flags |= IS_INDIRECT; }
+ bool IsPtrData() const { return IsIndirect(); }
+#else
void SetIndirect() { flags |= IS_INDIRECT; }
+#endif
bool IsIndirect() const { return 0 != (flags & IS_INDIRECT); }

View File

@ -1,13 +0,0 @@
make SYS_fork non-fatal, musl uses it for fork(2)
--- security/sandbox/linux/SandboxFilter.cpp
+++ security/sandbox/linux/SandboxFilter.cpp
@@ -1253,6 +1253,8 @@
// usually do something reasonable on error.
case __NR_clone:
return ClonePolicy(Error(EPERM));
+ case __NR_fork:
+ return Error(ENOSYS);
# ifdef __NR_fadvise64
case __NR_fadvise64:

View File

@ -1,77 +0,0 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=1504834#c5
https://bugzilla.mozilla.org/attachment.cgi?id=9028600
--- gfx/skia/skia/third_party/skcms/skcms.cc
+++ gfx/skia/skia/third_party/skcms/skcms.cc
@@ -30,6 +30,8 @@
#include <avx512fintrin.h>
#include <avx512dqintrin.h>
#endif
+#elif defined(__BIG_ENDIAN__)
+ #define SKCMS_PORTABLE
#endif
// sizeof(x) will return size_t, which is 32-bit on some machines and 64-bit on others.
@@ -280,20 +282,28 @@ enum {
static uint16_t read_big_u16(const uint8_t* ptr) {
uint16_t be;
memcpy(&be, ptr, sizeof(be));
-#if defined(_MSC_VER)
- return _byteswap_ushort(be);
+#if defined(__BIG_ENDIAN__)
+ return be;
#else
+ #if defined(_MSC_VER)
+ return _byteswap_ushort(be);
+ #else
return __builtin_bswap16(be);
+ #endif
#endif
}
static uint32_t read_big_u32(const uint8_t* ptr) {
uint32_t be;
memcpy(&be, ptr, sizeof(be));
-#if defined(_MSC_VER)
- return _byteswap_ulong(be);
+#if defined(__BIG_ENDIAN__)
+ return be;
#else
+ #if defined(_MSC_VER)
+ return _byteswap_ulong(be);
+ #else
return __builtin_bswap32(be);
+ #endif
#endif
}
--- gfx/2d/DrawTargetSkia.cpp
+++ gfx/2d/DrawTargetSkia.cpp
@@ -138,8 +138,7 @@ static IntRect CalculateSurfaceBounds(const IntSize& a
return surfaceBounds.Intersect(bounds);
}
-static const int kARGBAlphaOffset =
- SurfaceFormat::A8R8G8B8_UINT32 == SurfaceFormat::B8G8R8A8 ? 3 : 0;
+static const int kARGBAlphaOffset = 0;
static bool VerifyRGBXFormat(uint8_t* aData, const IntSize& aSize,
const int32_t aStride, SurfaceFormat aFormat) {
--- gfx/2d/Types.h
+++ gfx/2d/Types.h
@@ -87,15 +87,8 @@ enum class SurfaceFormat : int8_t {
// The following values are endian-independent synonyms. The _UINT32 suffix
// indicates that the name reflects the layout when viewed as a uint32_t
// value.
-#if MOZ_LITTLE_ENDIAN()
A8R8G8B8_UINT32 = B8G8R8A8, // 0xAARRGGBB
X8R8G8B8_UINT32 = B8G8R8X8, // 0x00RRGGBB
-#elif MOZ_BIG_ENDIAN()
- A8R8G8B8_UINT32 = A8R8G8B8, // 0xAARRGGBB
- X8R8G8B8_UINT32 = X8R8G8B8, // 0x00RRGGBB
-#else
-# error "bad endianness"
-#endif
// The following values are OS and endian-independent synonyms.
//

View File

@ -1,44 +0,0 @@
# HG changeset patch
# Parent aecb4600e5da17443b224c79eee178c1d8e155e3
For FF68, AntiAliasing of XULTexts seem to be broken on big endian (s390x). Text and icons of the sandwich-menu to the
right of the address bar, as well as plugin-windows appears transparant, which usually means unreadable (white on white).
diff -r aecb4600e5da gfx/skia/skia/include/private/SkNx.h
--- gfx/skia/skia/include/private/SkNx.h Tue Aug 20 09:46:55 2019 +0200
+++ gfx/skia/skia/include/private/SkNx.h Mon Sep 09 10:04:06 2019 +0200
@@ -238,7 +238,18 @@
AI SkNx operator*(const SkNx& y) const { return fVal * y.fVal; }
AI SkNx operator/(const SkNx& y) const { return fVal / y.fVal; }
+ // On Big endian the commented out variant doesn't work,
+ // and honestly, I have no idea why it exists in the first place.
+ // The reason its broken is, I think, that it defaults to the double-variant of ToBits()
+ // which gets a 64-bit integer, and FromBits returns 32-bit,
+ // cutting off the wrong half again.
+ // Overall, I see no reason to have ToBits and FromBits at all (even for floats/doubles).
+ // Still we are only "fixing" this for big endian and leave little endian alone (never touch a running system)
+#ifdef SK_CPU_BENDIAN
+ AI SkNx operator&(const SkNx& y) const { return fVal & y.fVal; }
+#else
AI SkNx operator&(const SkNx& y) const { return FromBits(ToBits(fVal) & ToBits(y.fVal)); }
+#endif
AI SkNx operator|(const SkNx& y) const { return FromBits(ToBits(fVal) | ToBits(y.fVal)); }
AI SkNx operator^(const SkNx& y) const { return FromBits(ToBits(fVal) ^ ToBits(y.fVal)); }
diff -r aecb4600e5da gfx/skia/skia/src/opts/SkBlitMask_opts.h
--- gfx/skia/skia/src/opts/SkBlitMask_opts.h Tue Aug 20 09:46:55 2019 +0200
+++ gfx/skia/skia/src/opts/SkBlitMask_opts.h Mon Sep 09 10:04:06 2019 +0200
@@ -203,7 +203,13 @@
// ~~~>
// a = 1*aa + d(1-1*aa) = aa + d(1-aa)
// c = 0*aa + d(1-1*aa) = d(1-aa)
+
+ // For big endian we have to swap the alpha-mask from 0,0,0,255 to 255,0,0,0
+#ifdef SK_CPU_BENDIAN
+ return Sk4px(Sk16b(aa) & Sk16b(255,0,0,0, 255,0,0,0, 255,0,0,0, 255,0,0,0))
+#else
return Sk4px(Sk16b(aa) & Sk16b(0,0,0,255, 0,0,0,255, 0,0,0,255, 0,0,0,255))
+#endif
+ d.approxMulDiv255(aa.inv());
};
while (h --> 0) {

View File

@ -1,56 +0,0 @@
CompositableHost.cpp patch added by @q66, based on patch in issue 1602730.
# HG changeset patch
# Parent 46ea866ca3acb8bb5e1709ceb799b9c94f591dec
Problem description: Tab-titles that are too long to fit into a tab get faded out.
On big endian this is broken and instead of fading out, the
tab gets white and the font transparent, leading to an unreadable
tab-title
Solution: This is not a real solution, but a hack. The real solution would have been
to byte-swap the correct buffer, but I could not find it.
So the next best thing is to deactivate the fading-effect. Now all tab-titles
are readable, albeit not as pretty to look at as they could be.
Side-effects: I have not yet found an unwanted side-effect.
diff -r 46ea866ca3ac -r 6ef20eee3f8f gfx/2d/DrawTargetSkia.cpp
--- gfx/2d/DrawTargetSkia.cpp Tue Oct 22 12:27:22 2019 +0200
+++ gfx/2d/DrawTargetSkia.cpp Thu Oct 31 09:11:56 2019 +0100
@@ -1861,6 +1861,14 @@
SkCanvas::kPreserveLCDText_SaveLayerFlag |
(aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0));
+#if MOZ_BIG_ENDIAN()
+ // Pushing a layer where an aMask is defined produces wrong output.
+ // We _should_ endian swap the data, but I couldn't find a workable way to do so
+ // Therefore I deactivate those layers in the meantime.
+ // The result is: Tab-titles that are longer than the available space should be faded out.
+ // The fading doesn't work, so we deactivate the fading-effect here.
+ if (!aMask)
+#endif
mCanvas->saveLayer(saveRec);
SetPermitSubpixelAA(aOpaque);
--- gfx/layers/composite/CompositableHost.cpp
+++ gfx/layers/composite/CompositableHost.cpp
@@ -13,6 +13,7 @@
#include "ImageHost.h" // for ImageHostBuffered, etc
#include "Layers.h"
#include "TiledContentHost.h" // for TiledContentHost
+#include "mozilla/EndianUtils.h"
#include "mozilla/gfx/gfxVars.h"
#include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor
#include "mozilla/layers/TextureHost.h" // for TextureHost, etc
@@ -92,9 +93,13 @@ bool CompositableHost::AddMaskEffect(EffectChain& aEffects,
}
MOZ_ASSERT(source);
+ // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
+ // if the typed URL is too long for the textbox (automatic scrolling needed)
+#if MOZ_LITTLE_ENDIAN()
RefPtr<EffectMask> effect =
new EffectMask(source, source->GetSize(), aTransform);
aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
+#endif
return true;
}

View File

@ -6,10 +6,10 @@
_name=FreeRDP
pkgname=freerdp
pkgver=2.2.0
pkgrel=1
pkgrel=2
epoch=2
pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://www.freerdp.com/"
license=('Apache')
depends=('dbus-glib' 'glibc' 'gstreamer' 'gst-plugins-base-libs' 'libcups'
@ -53,6 +53,7 @@ build() {
-DWITH_CHANNELS=ON \
-DWITH_CLIENT_CHANNELS=ON \
-DWITH_SERVER_CHANNELS=ON \
-DWITH_VAAPI=ON \
-DCHANNEL_URBDRC_CLIENT=ON \
-Wno-dev \
-B build \

View File

@ -5,7 +5,7 @@ pkgname=genxrdpattern
pkgver=1.1
pkgrel=2
pkgdesc="Uses ObjCryst++ to generate a theoretical XRD pattern"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://github.com/psavery/genXrdPattern"
license=(GPL)
depends=(gcc-libs)

View File

@ -4,15 +4,15 @@
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgbase=gpgme
pkgname=(gpgme python-gpgme)
pkgname=(gpgme qgpgme python-gpgme)
pkgver=1.14.0
pkgrel=1
_python_ver=3.8
pkgdesc="A C wrapper library for GnuPG"
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url='https://www.gnupg.org/related_software/gpgme/'
license=('LGPL')
makedepends=('libgpg-error' 'gnupg' 'python' 'swig')
makedepends=('libgpg-error' 'gnupg' 'qt5-base' 'python' 'swig')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
sha256sums=('cef1f710a6b0d28f5b44242713ad373702d1466dcbe512eb4e754d7f35cd4307'
'SKIP')
@ -30,8 +30,8 @@ build() {
make
_arch=x86_64
[ "${CARCH}" = "powerpc64le" ] && _arch=ppc64le
[ "${CARCH}" = "powerpc" ] && _arch=ppc
[ "${CARCH}" = "powerpc64le" ] && _arch=ppc64le
# ensure reproducibility of .pyc files
touch -d @$SOURCE_DATE_EPOCH lang/python/version.py
touch -d @$SOURCE_DATE_EPOCH lang/python/python${_python_ver}-gpg/lib.linux-${_arch}-${_python_ver}/gpg/gpgme.py
@ -63,11 +63,20 @@ package_gpgme() {
make DESTDIR="${pkgdir}" install
# split qgpgme
#rm -r "${pkgdir}"/usr/include/{qgpgme,QGpgME}/
#rm -r "${pkgdir}"/usr/lib/{cmake/QGpgme/,libqgpgme.*}
rm -r "${pkgdir}"/usr/include/{qgpgme,QGpgME}/
rm -r "${pkgdir}"/usr/lib/{cmake/QGpgme/,libqgpgme.*}
rm -r "${pkgdir}"/usr/lib/python*
}
package_qgpgme() {
pkgdesc="Qt bindings for GPGme"
depends=('gpgme' 'qt5-base')
cd ${pkgbase}-${pkgver}/lang/qt
make DESTDIR="${pkgdir}" install
}
package_python-gpgme() {
pkgdesc="Python bindings for GPGme"
depends=('gpgme' 'python')

View File

@ -7,7 +7,7 @@ pkgname=grantlee
pkgver=5.2.0
pkgrel=3
pkgdesc="A string template engine based on the Django template system and written in Qt5"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://github.com/steveire/grantlee"
license=(LGPL2.1)
depends=(qt5-declarative)

View File

@ -7,7 +7,7 @@ pkgname=id3lib
pkgver=3.8.3
pkgrel=18
pkgdesc='Library for reading, writing, and manipulating ID3v1 and ID3v2 tags'
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
license=('LGPL')
url="http://id3lib.sourceforge.net/"
depends=('zlib' 'gcc-libs')

View File

@ -11,7 +11,7 @@ pkgname=(julia julia-docs)
epoch=2
pkgver=1.4.1
pkgrel=2
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
pkgdesc='High-level, high-performance, dynamic programming language'
url='https://julialang.org/'
license=(MIT)

View File

@ -2,36 +2,25 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kdsoap-ws-discovery-client
pkgver=git20200316
pkgrel=2
_commit=14287e92e80a77aa4c0adee2871e6b87c9c3055e
pkgver=git20200927
pkgrel=1
_commit=dcefb65c88e76f1f9eda8b0318006e93d15a0e1e
pkgdesc='WS-Discovery client library based on KDSoap'
license=(GPL3 custom)
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url='https://github.com/KDAB/KDSoap'
depends=(kdsoap)
makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
source=("https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/archive/$_commit/$pkgname-$_commit.tar.gz"
kdsoap-dependency.patch::"https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/merge_requests/11.patch")
sha256sums=('17e092729597aecb96bcf46459b4eb14d28cf335f4b4c225971b5be55b9572a7'
'550e045bc32e077c4aa9e348aba64ff0fde5767ce1ddfdd8d840fbae1e904137')
prepare() {
mkdir -p build
cd $pkgname-$_commit
patch -p1 -i ../kdsoap-dependency.patch # Add missing kdsoap dependency to cmake
}
source=("https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client/-/archive/$_commit/$pkgname-$_commit.tar.gz")
sha256sums=('8b80ac16fe4b7a0c2cd319eaaa2fd2d03c8c01e15298f62c14574fe53925b8d8')
build() {
cd build
cmake ../$pkgname-$_commit \
cmake -B build -S $pkgname-$_commit \
-DBUILD_QCH=ON
make
cmake --build build
}
package() {
cd build
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
install -Dm644 "$srcdir"/$pkgname-$_commit/LICENSES/* -t "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -3,32 +3,26 @@
# Contributor: drakkan <nicola.murino at gmail dot com>
pkgname=kdsoap
pkgver=1.9.0
pkgver=1.9.1
pkgrel=1
pkgdesc='Qt-based client-side and server-side SOAP component'
license=(GPL3 LGPL custom)
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url='https://github.com/KDAB/KDSoap'
depends=(qt5-base)
makedepends=(cmake)
source=("https://github.com/KDAB/KDSoap/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
sha256sums=('e3b9626d5cb08f41a709fa35031ce17bfdd075b7387baf14ecf8a9ca10994828'
sha256sums=('a020ea26e91a2bcdbfa7bc631870ed07be2c583ae29114cfe72a5a94e0e93d27'
'SKIP')
validpgpkeys=(E86C000370B1B9E2A9191AD53DBFB6882C9358FB) # KDAB Products (user for KDAB products) <info@kdab.com>
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
make
cmake --build build
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-$pkgver/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -7,7 +7,7 @@ pkgname=libgadu
pkgver=1.12.2
pkgrel=13
pkgdesc="Client-side library for the Gadu-Gadu protocol"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://libgadu.net/"
license=('LGPL2.1')
depends=('gnutls' 'protobuf-c')

View File

@ -6,7 +6,7 @@ pkgname=libgssglue
pkgver=0.4
pkgrel=5
pkgdesc="Exports a gssapi interface which calls other random gssapi libraries"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('BSD')
depends=('glibc')

View File

@ -5,7 +5,7 @@ pkgname=libmsym
pkgver=0.2.3
pkgrel=3
pkgdesc="Molecular point group symmetry lib"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="http://www.openchemistry.org/"
license=(MIT)
depends=(glibc)

View File

@ -5,7 +5,7 @@ pkgname=libmusicbrainz5
pkgver=5.1.0
pkgrel=4
pkgdesc="Library That Provides Access to the MusicBrainz Server"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url='https://musicbrainz.org/doc/libmusicbrainz'
license=('LGPL2.1')
depends=('neon' 'libxml2')

View File

@ -2,16 +2,16 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=libphonenumber
pkgver=8.12.7
pkgver=8.12.9
pkgrel=1
pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
url="https://github.com/googlei18n/libphonenumber"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
license=(Apache)
depends=(icu protobuf boost-libs)
makedepends=(boost cmake gtest git 'java-environment>=9')
provides=(libgeocoding.so libphonenumber.so)
_commit=8022f424cb444d07a12807d3cbff5f78463c6a38 # tags/v8.12.7^0
_commit=b2fe9d3aca30c9a1ca4297810457283c39ab5dd0 # tags/v8.12.9^0
source=("git+$url#commit=$_commit")
sha256sums=('SKIP')
@ -29,7 +29,7 @@ build() {
CXXFLAGS+=" $CPPFLAGS"
CXXFLAGS+=" -Wno-error=deprecated-declarations" # readdir_r deprecation
CXXFLAGS+=" -Wno-error=unused-variable" # this is nuts
cmake -H$pkgname/cpp -Bbuild \
cmake -S $pkgname/cpp -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
@ -40,5 +40,5 @@ check() {
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
DESTDIR="$pkgdir" cmake --install build
}

View File

@ -7,7 +7,7 @@ pkgname=libvncserver
pkgver=0.9.13
pkgrel=1
pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://libvnc.github.io/"
license=('GPL')
depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl' 'libnsl')

View File

@ -8,7 +8,7 @@ pkgver=0.1
pkgrel=3
epoch=1
pkgdesc="A shared library that can be used for location-based services"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://sourceforge.net/projects/libwlocate"
license=(GPL)
depends=(wireless_tools glibc)

View File

@ -3,17 +3,17 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=lldb
pkgver=10.0.1
pkgver=11.0.0
pkgrel=1
pkgdesc="Next generation, high-performance debugger"
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url="https://lldb.llvm.org/"
license=('custom:Apache 2.0 with LLVM Exception')
depends=('llvm-libs' 'clang' 'python' 'python-six')
makedepends=('llvm' 'cmake' 'ninja' 'swig' 'python-sphinx')
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig})
sha256sums=('07abe87c25876aa306e73127330f5f37d270b6b082d50cc679e31b4fc02a3714'
sha256sums=('8570c09f57399e21e0eea0dcd66ae0231d47eafc7a04d6fe5c4951b13c4d2c72'
'SKIP')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
@ -33,7 +33,7 @@ build() {
-DCLANG_LINK_CLANG_DYLIB=ON \
-DLLVM_ENABLE_SPHINX=ON \
-DLLDB_USE_SYSTEM_SIX=1
ninja all docs-lldb-man ${MAKEFLAGS}
ninja all docs-lldb-man
}
package() {

View File

@ -3,28 +3,25 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml')
pkgver=10.0.1
pkgrel=4
pkgver=11.0.0
pkgrel=1
_ocaml_ver=4.11.1
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
url="https://llvm.org/"
license=('custom:Apache 2.0 with LLVM Exception')
makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
"ocaml=$_ocaml_ver" 'ocaml-ctypes' 'ocaml-findlib'
'python-sphinx' 'python-recommonmark')
"ocaml>=$_ocaml_ver" 'ocaml-ctypes' 'ocaml-findlib'
'python-setuptools' 'python-psutil' 'python-sphinx'
'python-recommonmark')
options=('staticlibs')
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver}
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}
llvm-config.h
0001-PowerPC-PPCBoolRetToInt-Skip-translation-if-there-is.patch
llvm-004-override-opt.patch
llvm-005-ppc-bigpic.patch)
sha256sums=('c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
llvm-005-ppc-bigpic.patch)
sha256sums=('913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469'
'SKIP'
'597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48'
'19e235cbee3b32f459846f86e492cb9f507199b646bc04e4c28c4eda9bf503b8'
'876dd496500c43010b2ab0c678cc843ee46df7294a4eb176d3e696a9e625ddb4'
'e55508953b61ac8c391ca1babd821eb2144c017b2a86c79f1f008ec95964608b')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
@ -33,14 +30,10 @@ validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstel
prepare() {
cd "$srcdir/llvm-$pkgver.src"
# taken from Fedora to fix llvm#74551
patch -Np2 -i ${srcdir}/0001-PowerPC-PPCBoolRetToInt-Skip-translation-if-there-is.patch
patch -Np1 -i ${srcdir}/llvm-004-override-opt.patch
patch -Np1 -i ${srcdir}/llvm-005-ppc-bigpic.patch
mkdir -p build
mkdir build
}
build() {
@ -55,29 +48,27 @@ build() {
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_FFI=ON \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR \
-DLLVM_BUILD_TESTS=ON \
-DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \
-DLLVM_ENABLE_DOXYGEN=OFF \
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DLLVM_BINUTILS_INCDIR=/usr/include
ninja all ocaml_doc ${MAKEFLAGS}
ninja all ocaml_doc
}
check() {
cd "$srcdir/llvm-$pkgver.src/build"
ninja check ${MAKEFLAGS}
ninja check
}
package_llvm() {
pkgdesc="Collection of modular and reusable compiler and toolchain technologies"
depends=('llvm-libs' 'perl')
optdepends=('python-setuptools: for using lit (LLVM Integrated Tester)')
cd "$srcdir/llvm-$pkgver.src/build"
DESTDIR="$pkgdir" ninja install ${MAKEFLAGS}
DESTDIR="$pkgdir" ninja install
# Include lit for running lit-based tests in other projects
pushd ../utils/lit

View File

@ -7,18 +7,18 @@
pkgbase=mesa
pkgname=('vulkan-mesa-layer' 'opencl-mesa' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
pkgdesc="An open-source implementation of the OpenGL specification"
pkgver=20.1.7
pkgver=20.1.8
pkgrel=1
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'libxrandr'
'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'lm_sensors' 'libxrandr'
'valgrind' 'glslang' 'vulkan-icd-loader' 'meson')
url="https://www.mesa3d.org/"
license=('custom')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
LICENSE)
sha512sums=('5ff614c3f7568db7673cd2398615e5398c7f50093abdabd0730e07fe9c358310793fea3f130058110c9a2aa284c6efd207e1bdca3d1a1ba46fb18d76e34f361a'
sha512sums=('519b0e2837982d097c362d974a90c94efd1cdf14505fc43eaa740a23c042bc0c3f04d0edaf6b371966d82667cade6d0c68c92528e1be6c12884b38c67fd064c1'
'SKIP'
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
@ -45,6 +45,7 @@ build() {
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,swrast \
-D vulkan-drivers=amd \
-D vulkan-overlay-layer=true \
-D power8=true \
-D dri3=true \
-D egl=true \
-D gallium-extra-hud=true \
@ -62,6 +63,7 @@ build() {
-D glx=dri \
-D libunwind=true \
-D llvm=true \
-D lmsensors=true \
-D osmesa=gallium \
-D shared-glapi=true \
-D valgrind=true ${EXTRA_FLAGS}
@ -143,7 +145,7 @@ package_mesa-vdpau() {
package_mesa() {
depends=('libdrm' 'wayland' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
'libomxil-bellagio' 'libunwind' 'llvm-libs' 'libglvnd'
'libomxil-bellagio' 'libunwind' 'llvm-libs' 'lm_sensors' 'libglvnd'
'zstd' 'vulkan-icd-loader')
optdepends=('opengl-man-pages: for the OpenGL API man pages'
'mesa-vdpau: for accelerated video playback'

View File

@ -7,10 +7,10 @@
# Contributor: abenson
pkgname=metis
pkgver=5.1.0.p8
_pkgver=5.1.0-p8
pkgver=5.1.0.p10
_pkgver=5.1.0-p10
pkgrel=1
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
pkgdesc="A set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices"
url="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
license=(custom)
@ -18,7 +18,7 @@ depends=(glibc)
makedepends=(cmake)
options=(docs)
source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/petsc/pkg-metis/get/v$_pkgver.tar.bz2")
sha256sums=('d098b9909477aeefcc06604faa2953d6248833dcec6ede8971ea991e443fed01')
sha256sums=('ddcb99746a8795ebb9d9c020acc31b85fe696eb2992c9ee5ac7588074a503a4b')
prepare() {
mv petsc-pkg-metis-* $pkgname-$_pkgver

View File

@ -5,7 +5,7 @@ pkgname=molequeue
pkgver=0.9.0
pkgrel=2
pkgdesc="Desktop integration of high performance computing resources"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="http://www.openchemistry.org/"
license=(custom)
depends=(qt5-base)

View File

@ -4,7 +4,7 @@
pkgbase=nss
pkgname=(nss ca-certificates-mozilla)
pkgver=3.57
pkgver=3.58
pkgrel=1
pkgdesc="Network Security Services"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
@ -14,7 +14,7 @@ depends=(nspr sqlite zlib sh 'p11-kit>=0.23.19')
makedepends=(perl python gyp)
source=("https://ftp.mozilla.org/pub/security/nss/releases/NSS_${pkgver//./_}_RTM/src/nss-${pkgver}.tar.gz"
certdata2pem.py bundle.sh)
sha256sums=('55a86c01be860381d64bb4e5b94eb198df9b0f098a8af0e58c014df398bdc382'
sha256sums=('9f73cf789b5f109b978e5239551b609b0cafa88d18f0bc8ce3f976cb629353c0'
'd2a1579dae05fd16175fac27ef08b54731ecefdf414085c610179afcf62b096c'
'3bfadf722da6773bdabdd25bdf78158648043d1b7e57615574f189a88ca865dd')

View File

@ -7,7 +7,7 @@ _pkgname=OpenBLAS
pkgver=0.3.10
pkgrel=1
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://www.openblas.net/"
license=('BSD')
depends=('gcc-libs')

View File

@ -7,7 +7,7 @@ pkgname=protobuf-c
pkgver=1.3.3
pkgrel=2
pkgdesc='Protocol Buffers implementation in C'
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url='https://github.com/protobuf-c/protobuf-c'
license=('BSD')
depends=('protobuf')

View File

@ -4,7 +4,7 @@
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
pkgname=python-setuptools
pkgver=50.3.0
pkgver=50.3.2
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@ -19,7 +19,7 @@ checkdepends=('python-jaraco.envs' 'python-mock' 'python-pip' 'python-pytest-fix
provides=('python-distribute')
replaces=('python-distribute')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
sha512sums=('d4c9191049faa187516634f54a33ce63a547e960800f7855561811f2fff41c9aa32049a0dc755baf0992bd15f02ed89d5e6caa829a35da4440056de03f921502')
sha512sums=('f7845856cc563be628753bc875c36905ce75f14ff6e98a8460cfaa42b1afca27873d0ef331f027a6b5f7259043c4a66f4b3b04898e955a865bfed50d13e15514')
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0

View File

@ -9,17 +9,17 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.8.5
pkgrel=2
pkgver=3.8.6
pkgrel=1
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
arch=(x86_64 powerpc64le powerpc)
arch=( x86_64 powerpc64le powerpc )
license=('custom')
url="https://www.python.org/"
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libxcrypt' 'openssl' 'zlib')
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc})
sha512sums=('460cee65d7df7150694590575502d7f22e548ebfc99c8f8b363eef8bf30ee72e58d8ffacb1d607824f877f880eb9fd6775a508388029583e1e1df3380f3f9587'
sha512sums=('22faec84f6e172e1ac7c6bd6fd37e9b6ae4afc91cf5136aa8cac8ebbed8d18793f9196e8749b8ccc43447cb6c41cb450f65ea72dd363c06dfaeb14e0455f5560'
'SKIP')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
@ -40,8 +40,6 @@ prepare() {
rm -r Modules/_decimal/libmpdec
}
export PATH=/usr/lib/distcc:$PATH
build() {
cd Python-${pkgver}
@ -51,18 +49,17 @@ build() {
CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
LDFLAGS="$LDFLAGS -fno-semantic-interposition"
case ${CARCH} in
x86_64|powerpc64le) PLATFORM_FLAGS="--with-lto" ;;
*) PLATFORM_FLAGS="--without-lto" ;;
esac
# Disable bundled pip & setuptools
./configure --prefix=/usr \
--enable-shared \
--with-computed-gotos \
--enable-optimizations \
--with-lto \
--enable-ipv6 \
--with-system-expat \
--with-dbmliborder=gdbm:ndbm \
@ -72,11 +69,10 @@ build() {
--without-ensurepip ${PLATFORM_FLAGS}
# Obtain next free server number for xvfb-run; this even works in a chroot environment.
#export servernum=99
#while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done
export servernum=99
while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done
#LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"
make EXTRA_CFLAGS="${CFLAGS}"
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"
}
check() {

View File

@ -7,7 +7,7 @@ pkgname=shapelib
pkgver=1.5.0
pkgrel=3
pkgdesc='Simple C API for reading and writing ESRI Shapefiles'
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url='http://shapelib.maptools.org/'
license=('LGPL')
depends=('gcc-libs')

View File

@ -5,7 +5,7 @@ pkgname=spglib
pkgver=1.16.0
pkgrel=1
pkgdesc="C library for finding and handling crystal symmetries"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
url="https://atztogo.github.io/spglib/"
license=(custom)
depends=(glibc)

View File

@ -6,7 +6,7 @@ pkgver=5.8.1
pkgrel=1
pkgdesc="A collection of sparse matrix libraries"
url="http://faculty.cse.tamu.edu/davis/suitesparse.html"
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
conflicts=('umfpack')
provides=('umfpack')
replaces=('umfpack')
@ -15,13 +15,16 @@ makedepends=('gcc-fortran' 'cmake' 'chrpath')
license=('GPL')
options=('staticlibs')
source=($pkgname-$pkgver.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver.tar.gz"
suitesparse-no-demo.patch)
suitesparse-no-demo.patch
link-libatomic.patch)
sha256sums=('06726e471fbaa55f792578f9b4ab282ea9d008cf39ddcc3b42b73400acddef40'
'409b32e546ec4936d0d88e39c59ee68dfd9f630d8c454ce1e3d58243df7ad396')
'409b32e546ec4936d0d88e39c59ee68dfd9f630d8c454ce1e3d58243df7ad396'
'98e4f6403732bcfc01000050ee4900273bccbf18ad228e6f0904b0636e256cd5')
prepare() {
cd SuiteSparse-$pkgver
patch -p1 -i ../suitesparse-no-demo.patch # Don't run demo
patch -p1 -i ${srcdir}/suitesparse-no-demo.patch # Don't run demo
[ "${CARCH}" == 'powerpc' ] && patch -Np1 -i ${srcdir}/link-libatomic.patch
}
build() {

View File

@ -0,0 +1,25 @@
Description: Add missing link of GraphBLAS to libatomic
Needed for at least armel, mipsel, m68k and powerpc.
Author: Sébastien Villemot <sebastien@debian.org>
Bug: https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/21
Last-Update: 2020-02-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/GraphBLAS/CMakeLists.txt
+++ b/GraphBLAS/CMakeLists.txt
@@ -329,6 +329,7 @@ SET_TARGET_PROPERTIES ( graphblas PROPER
C_STANDARD_REQUIRED 11
PUBLIC_HEADER "Include/GraphBLAS.h" )
set_property ( TARGET graphblas PROPERTY C_STANDARD 11 )
+target_link_libraries(graphblas atomic)
#-------------------------------------------------------------------------------
# static graphblas library properties
@@ -343,6 +344,7 @@ if ( BUILD_GRB_STATIC_LIBRARY )
C_STANDARD_REQUIRED 11
PUBLIC_HEADER "Include/GraphBLAS.h" )
set_property ( TARGET graphblas_static PROPERTY C_STANDARD 11 )
+ target_link_libraries(graphblas_static atomic)
endif ( )
#-------------------------------------------------------------------------------

View File

@ -4,14 +4,14 @@
pkgname=webkit2gtk
pkgver=2.30.1
pkgrel=1
pkgrel=2
pkgdesc="GTK+ Web content engine library"
arch=( x86_64 powerpc64le powerpc )
url="https://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt enchant gst-plugins-base-libs libsecret libwebp openjpeg2
harfbuzz-icu gtk3 libnotify hyphen woff2 libwpe wpebackend-fdo
bubblewrap xdg-dbus-proxy)
harfbuzz-icu gtk3 libnotify hyphen woff2 bubblewrap xdg-dbus-proxy
libwpe wpebackend-fdo)
makedepends=(gperf gobject-introspection ruby gtk-doc cmake python geoclue
gst-plugins-bad ninja)
optdepends=('geoclue: Geolocation support'
@ -20,11 +20,13 @@ optdepends=('geoclue: Geolocation support'
'gst-libav: nonfree media decoding')
source=(https://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz{,.asc}
ppc-llint.patch
be-typedarray.patch)
be-typedarray.patch
fix-eglmesaext_h.patch)
sha256sums=('17c59dfdadb7377192e9b59bc56c8a029c9fad4f38ed732b652bf33d0bd5d6b1'
'SKIP'
'f2252e888ad8bde3472f0d567fcd29fe2b6872b8b5e83c0fda63b16bf7a2aead'
'369d046fa1e8cd9eed5902ea08b24574b92d04577141cdb3a69a0cfc818cca87')
'369d046fa1e8cd9eed5902ea08b24574b92d04577141cdb3a69a0cfc818cca87'
'e5e201669c49d74129819f7770649f0e80e832d3da2bb23a8d58ea6437da23de')
validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3'
'5AA3BC334FD7E3369E7C77B291C559DBE4C9123B')
@ -32,6 +34,7 @@ prepare() {
cd webkitgtk-$pkgver
patch -Np0 -i ${srcdir}/ppc-llint.patch
patch -Np0 -i ${srcdir}/be-typedarray.patch
patch -Np0 -i ${srcdir}/fix-eglmesaext_h.patch
}
build() {
@ -64,7 +67,7 @@ build() {
-DENABLE_GTKDOC=ON \
-DENABLE_MINIBROWSER=ON \
-DLIBEXEC_INSTALL_DIR=/usr/lib \
-DLIB_INSTALL_DIR=/usr/lib ${EXTRA_CMAKE_FLAGS}
-DLIB_INSTALL_DIR=/usr/lib ${EXTRA_CMAKE_FLAGS}
cmake --build build ${MAKEFLAGS}
}

View File

@ -1,39 +0,0 @@
diff -urN webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp
--- webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp 2019-09-02 11:41:47.000000000 +0200
+++ webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp 2019-10-08 16:24:57.649551493 +0200
@@ -4944,12 +4944,12 @@
unsigned i = 0;
UChar32 c;
- U16_NEXT(characters, i, length, c)
+ U16_NEXT(characters, i, length, c);
if (!isValidNameStart(c))
return false;
while (i < length) {
- U16_NEXT(characters, i, length, c)
+ U16_NEXT(characters, i, length, c);
if (!isValidNamePart(c))
return false;
}
@@ -5009,7 +5009,7 @@
for (unsigned i = 0; i < length; ) {
UChar32 c;
- U16_NEXT(qualifiedName, i, length, c)
+ U16_NEXT(qualifiedName, i, length, c);
if (c == ':') {
if (sawColon)
return Exception { InvalidCharacterError };
diff -urN webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp
--- webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp 2019-08-28 13:46:29.000000000 +0200
+++ webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp 2019-10-08 16:24:50.619850993 +0200
@@ -301,7 +301,7 @@
Optional<UChar32> previousCodePoint;
while (i < length) {
UChar32 c;
- U16_NEXT(buffer, i, length, c)
+ U16_NEXT(buffer, i, length, c);
UErrorCode error = U_ZERO_ERROR;
UScriptCode script = uscript_getScript(c, &error);
if (error != U_ZERO_ERROR) {

View File

@ -1,13 +0,0 @@
--- webkitgtk-2.24.0/Source/WebCore/rendering/style/RenderStyleConstants.horig 2019-03-31 07:32:18.233370844 +0000
+++ webkitgtk-2.24.0/Source/WebCore/rendering/style/RenderStyleConstants.h 2019-03-31 07:32:40.271380390 +0000
@@ -27,6 +27,10 @@
#include <initializer_list>
+#ifdef None
+#undef None
+#endif
+
namespace WTF {
class TextStream;
}

View File

@ -10,7 +10,7 @@ pkgrel=4
pkgdesc='Tools allowing to manipulate the Wireless Extensions'
url='https://hewlettpackard.github.io/wireless-tools/Tools.html'
license=('GPL')
arch=(x86_64 powerpc64le)
arch=( x86_64 powerpc64le powerpc )
source=("https://hewlettpackard.github.io/wireless-tools/${pkgname}.${pkgver}.tar.gz")
sha256sums=('abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63')