Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
677
Issues
677
List
Boards
Labels
Service Desk
Milestones
Merge Requests
159
Merge Requests
159
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
3b11d3e8
Commit
3b11d3e8
authored
Sep 22, 2016
by
Francesco Colista
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/libmhash: fixed bool declaration with musl
parent
c5877602
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
testing/libmhash/APKBUILD
testing/libmhash/APKBUILD
+9
-5
testing/libmhash/musl-fix-bool-includes.patch
testing/libmhash/musl-fix-bool-includes.patch
+17
-0
No files found.
testing/libmhash/APKBUILD
View file @
3b11d3e8
...
...
@@ -3,7 +3,7 @@
pkgname
=
libmhash
_pkgname
=
mhash
pkgver
=
0.9.9.9
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Library which provides a uniform interface to a large number of hash algorithms"
url
=
"http://mhash.sourceforge.net/"
arch
=
"all"
...
...
@@ -12,7 +12,8 @@ depends=""
makedepends
=
""
install
=
""
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://sourceforge.net/projects/
$_pkgname
/files/
$_pkgname
/
$pkgver
/
$_pkgname
-
$pkgver
.tar.gz/download"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://sourceforge.net/projects/
$_pkgname
/files/
$_pkgname
/
$pkgver
/
$_pkgname
-
$pkgver
.tar.gz/downloadi
musl-fix-bool-includes.patch"
builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
prepare
()
{
...
...
@@ -31,6 +32,9 @@ package() {
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
}
md5sums
=
"ee66b7d5947deb760aeff3f028e27d25 libmhash-0.9.9.9.tar.gz"
sha256sums
=
"3dcad09a63b6f1f634e64168dd398e9feb9925560f9b671ce52283a79604d13e libmhash-0.9.9.9.tar.gz"
sha512sums
=
"82ad8b8e9b0463c5a14f5c0e572badc42c4697bac5505443b144287b3f8510b1410721b4277f092a0d6045c4342e997831011cdfcbfa8f1dae6edd5d9e3cefee libmhash-0.9.9.9.tar.gz"
md5sums
=
"ee66b7d5947deb760aeff3f028e27d25 libmhash-0.9.9.9.tar.gz
430f0e1e56344d71effd49dc493c67ac musl-fix-bool-includes.patch"
sha256sums
=
"3dcad09a63b6f1f634e64168dd398e9feb9925560f9b671ce52283a79604d13e libmhash-0.9.9.9.tar.gz
38be515c882560d714ea6c7ba7dd258d38feb4aaeb2d06743893736d78d51b50 musl-fix-bool-includes.patch"
sha512sums
=
"82ad8b8e9b0463c5a14f5c0e572badc42c4697bac5505443b144287b3f8510b1410721b4277f092a0d6045c4342e997831011cdfcbfa8f1dae6edd5d9e3cefee libmhash-0.9.9.9.tar.gz
848c687be7da956884b287ecf57d445c974db9421d1e3a6648837aa18ebe86ace1366e0863ba62a898010b56c85ffd2f8294aaa7744ed31cfcec67b0021cc731 musl-fix-bool-includes.patch"
testing/libmhash/musl-fix-bool-includes.patch
0 → 100644
View file @
3b11d3e8
diff --git a/include/mutils/mutils.h b/include/mutils/mutils.h
index 2712a33..a28ac98 100644
--- a/include/mutils/mutils.h
+++ b/include/mutils/mutils.h
@@ -21,6 +21,12 @@
#if !defined(__MUTILS_H)
#define __MUTILS_H
+// Added to satisfy OS X
+#if !defined(_Bool)
+#define _Bool bool
+#endif
+// End custom addition
+
#include <mutils/mincludes.h>
#if defined(const)
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