Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
1fccae6a
Verified
Commit
1fccae6a
authored
5 years ago
by
Mira Ressel
Browse files
Options
Downloads
Patches
Plain Diff
user/cmus: Add -latomic on ppc
parent
bd960484
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!208
user/cmus: Add -latomic on ppc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user/cmus/APKBUILD
+4
-2
4 additions, 2 deletions
user/cmus/APKBUILD
user/cmus/ppc-libatomic.patch
+29
-0
29 additions, 0 deletions
user/cmus/ppc-libatomic.patch
with
33 additions
and
2 deletions
user/cmus/APKBUILD
+
4
−
2
View file @
1fccae6a
...
...
@@ -13,7 +13,8 @@ makedepends="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev libao-dev libcddb-dev
libcdio-paranoia-dev libmad-dev libmodplug-dev libvorbis-dev ncurses-dev
opusfile-dev pulseaudio-dev wavpack-dev"
subpackages
=
"
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/
$pkgname
/
$pkgname
/archive/v
$pkgver
.tar.gz"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/
$pkgname
/
$pkgname
/archive/v
$pkgver
.tar.gz
ppc-libatomic.patch"
build
()
{
cd
"
$builddir
"
...
...
@@ -60,4 +61,5 @@ package() {
make
DESTDIR
=
"
$pkgdir
"
PREFIX
=
/usr
install
}
sha512sums
=
"cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc cmus-2.8.0.tar.gz"
sha512sums
=
"cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc cmus-2.8.0.tar.gz
06a91da06cc916aa475467aa90bd7170c7288b68459706c3416700e79ba8707fd7a85bded0c0d5d51d805c15f59ff395670f11318ca5a419d17ab1070a48775f ppc-libatomic.patch"
This diff is collapsed.
Click to expand it.
user/cmus/ppc-libatomic.patch
0 → 100644
+
29
−
0
View file @
1fccae6a
From 9a56c86a663e53195a32b7908cf2bd4349bad5c3 Mon Sep 17 00:00:00 2001
From: Luis Ressel <aranea@aixah.de>
Date: Fri, 29 Mar 2019 17:16:16 +0100
Subject: [PATCH] Link against libatomic on ppc32. DO NOT UPSTREAM.
Assuming that we'll always need libatomic on ppc32, but never elsewhere
is hideous and broken, but gcc is making it a huge pain to handle this
properly.
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index e76acdd..2cd5d45 100755
--- a/configure
+++ b/configure
@@ -98,6 +98,9 @@
check_compat()
CONFIG_CYGWIN=y
makefile_vars CONFIG_CYGWIN
esac
+
+ test ppc = "$(uname -m)" && try_link -latomic && COMPAT_LIBS="$COMPAT_LIBS -latomic"
+
makefile_vars COMPAT_LIBS
}
--
2.21.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment