Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
816
Issues
816
List
Boards
Labels
Milestones
Merge Requests
55
Merge Requests
55
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
165ed7fc
Commit
165ed7fc
authored
Apr 20, 2019
by
Stefan Reiff
Committed by
Natanael Copa
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/cmocka: upgrade to 1.1.5
parent
65618143
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
APKBUILD
main/cmocka/APKBUILD
+5
-4
wordsize.patch
main/cmocka/wordsize.patch
+4
-8
No files found.
main/cmocka/APKBUILD
View file @
165ed7fc
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
cmocka
pkgver
=
1.1.
1
pkgrel
=
1
pkgver
=
1.1.
5
pkgrel
=
0
pkgdesc
=
"An elegant unit testing framework for C with support for mock objects"
url
=
"https://cmocka.org/"
arch
=
"all"
...
...
@@ -30,6 +30,7 @@ build() {
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
...
...
@@ -48,6 +49,6 @@ package() {
make
-C
"
$builddir
"
/build
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"
801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577 cmocka-1.1.1
.tar.xz
16dfd8e6e2b21bda549a31cae0e60405039ff3559c879bc35811b55b06d64dcc75402d6a0cb89d029d69faeaa6484329ce03788feb9e69c1a844e63ac8d21f69
wordsize.patch
sha512sums
=
"
cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd cmocka-1.1.5
.tar.xz
773b8675f38eda0ca4df919c23646f029390892dd8f8675ce67c2f736f112d243d4e03aff4f013983bbefc2657cfa6c7563416b7b6dd15dd7aa4015228bb6ad1
wordsize.patch
b20b5c0d172a9df756ec093a3df4bf5bdf2a0c06a3d3ad39ec001248ccb86e6fd3dcedfc9ce42e8309cc01ea34fadffd4ebcc0fb3af9f5e795e7fe40c461ac60 musl_uintptr.patch"
main/cmocka/wordsize.patch
View file @
165ed7fc
musl defines __WORDSIZE in bits/reg.h so include that. Also
error out on if it's not defined, otherwise we might get wrong
assumption which causes weird failures.
--- cmocka-1.1.1.orig/include/cmocka.h
+++ cmocka-1.1.1/include/cmocka.h
@@ -55,12 +55,9 @@
--- cmocka-1.1.5/include/cmocka.h.orig
+++ cmocka-1.1.5/include/cmocka.h
@@ -57,12 +57,9 @@
*/
/* If __WORDSIZE is not set, try to figure it out and default to 32 bit. */
+#include <bits/reg.h>
#ifndef __WORDSIZE
-# if
defined(__x86_64__) && !defined(__ILP32__
)
-# if
(defined(__x86_64__) && !defined(__ILP32__)) || defined(__sparc_v9__) || defined(__sparcv9
)
-# define __WORDSIZE 64
-# else
-# define __WORDSIZE 32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment