mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 02:12:55 +02:00
volume_key: fix compilation and -devel package with musl.
This commit is contained in:
parent
bb5adffd90
commit
1a3c048c44
2 changed files with 19 additions and 5 deletions
15
srcpkgs/volume_key/patches/fix-devel.patch
Normal file
15
srcpkgs/volume_key/patches/fix-devel.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Source: Vratislav Podzimek <vpodzime@redhat.com>
|
||||||
|
Upstream: unknown
|
||||||
|
Reason: Fixes compilation under musl libc.
|
||||||
|
|
||||||
|
--- lib/libvolume_key.h
|
||||||
|
+++ lib/libvolume_key.h
|
||||||
|
@@ -18,8 +18,6 @@ Author: Miloslav Trmač <mitr@redhat.com> */
|
||||||
|
#ifndef LIBVOLUME_KEY_H__
|
||||||
|
#define LIBVOLUME_KEY_H__
|
||||||
|
|
||||||
|
-#include <config.h>
|
||||||
|
-
|
||||||
|
#include <cert.h>
|
||||||
|
#include <glib.h>
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
# Template file for 'volume_key'
|
# Template file for 'volume_key'
|
||||||
pkgname=volume_key
|
pkgname=volume_key
|
||||||
version=0.3.9
|
version=0.3.9
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="pkg-config python-devel"
|
||||||
|
makedepends="cryptsetup-devel glib-devel gpgme-devel nss-devel python-devel"
|
||||||
short_desc="Library for manipulating storage volume encryption keys"
|
short_desc="Library for manipulating storage volume encryption keys"
|
||||||
hostmakedepends="pkg-config"
|
|
||||||
makedepends="libblkid-devel glib-devel cryptsetup-devel nss-devel gpgme-devel python-devel"
|
|
||||||
maintainer="Andrew Benson <abenson@gmail.com>"
|
maintainer="Andrew Benson <abenson@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://pagure.io/volume_key"
|
homepage="https://pagure.io/volume_key"
|
||||||
distfiles="http://releases.pagure.org/volume_key/volume_key-${version}.tar.xz"
|
distfiles="http://releases.pagure.org/volume_key/volume_key-${version}.tar.xz"
|
||||||
checksum=450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6
|
checksum=450a54fe9bf56acec6850c1e71371d3e4913c9ca1ef0cdc3a517b4b6910412a6
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" python"
|
|
||||||
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
make_build_args+=" PYTHON_CPPFLAGS=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue