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
c54fee0a
Verified
Commit
c54fee0a
authored
6 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
harmony/redis: make it work on ppc32
parent
55070f96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
harmony/redis/APKBUILD
+3
-0
3 additions, 0 deletions
harmony/redis/APKBUILD
harmony/redis/fix-ppc-atomics.patch
+13
-0
13 additions, 0 deletions
harmony/redis/fix-ppc-atomics.patch
with
16 additions
and
0 deletions
harmony/redis/APKBUILD
+
3
−
0
View file @
c54fee0a
...
...
@@ -15,6 +15,7 @@ install="redis.pre-install"
pkgusers
=
"redis"
pkggroups
=
"redis"
source
=
"http://download.redis.io/releases/
$pkgname
-
$pkgver
.tar.gz
fix-ppc-atomics.patch
posix-runtest.patch
redis.initd
redis.logrotate
...
...
@@ -47,6 +48,7 @@ build() {
make
PREFIX
=
/usr
\
INSTALL_BIN
=
"
$pkgdir
"
/usr/bin
\
MALLOC
=
libc
\
FINAL_LIBS
=
"-latomic "
\
all
}
...
...
@@ -78,6 +80,7 @@ package() {
}
sha512sums
=
"1458909c6fc16cff8ca5e6dddff23b988ee1e447f2d0bccf5941553b22bab6abb851732b3fe53dafb8a69d6c0939c3ce7e0686d51e03be720fb018c038d3b1b4 redis-4.0.2.tar.gz
f768acea3e1868dbf0596085640c83e58d899860d7d647b0965fa858844c494d0a49b229fb417456d83f3e2690e5450950c31e0fa40529df85a9cde38d8981c4 fix-ppc-atomics.patch
856ae98e9e8670801827c3bd793dc14ed2c62c37365f8d04b452d7e1ab97300a0bf18c59b52ea686c2689d53aeed8e29e2c55207d3d4fb1fd8fc7fc820f33157 posix-runtest.patch
91b663f802aea9a473195940d3bf2ce3ca2af4e5b6e61a2d28ebbfe502ef2c764b574b7e87c49e60345d1a5d6b73d12920924c93b26be110c2ce824023347b6f redis.initd
6d17d169b40a7e23a0a2894eff0f3e2fe8e4461b36f2a9d45468f0abd84ea1035d679b4c0a34029bce093147f9c7bb697e843c113c17769d38c934d4a78a5848 redis.logrotate
...
...
This diff is collapsed.
Click to expand it.
harmony/redis/fix-ppc-atomics.patch
0 → 100644
+
13
−
0
View file @
c54fee0a
--- redis-4.0.2/src/Makefile.old 2017-09-21 09:12:52.000000000 -0500
+++ redis-4.0.2/src/Makefile 2018-05-26 18:45:23.494413590 -0500
@@ -109,6 +109,10 @@
# Include paths to dependencies
FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
+ifeq ($(uname_M),ppc)
+ FINAL_LIBS+= -latomic
+endif
+
ifeq ($(MALLOC),tcmalloc)
FINAL_CFLAGS+= -DUSE_TCMALLOC
FINAL_LIBS+= -ltcmalloc
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