void-packages/srcpkgs/keepassxc/patches/001-musl.patch
Piraty 14494665b1 keepassxc: update to 2.3.1.
I pointed distfiles to their released tar.xz, because building
from auto-generated tarball will show a message about using and
"unstable version".
2018-03-19 04:42:10 +01:00

25 lines
609 B
Diff

# include prototypes for musl
# should not be neccesary for keepassxc 2.3.2
# see: https://github.com/keepassxreboot/keepassxc/pull/1726
--- src/sshagent/blf.h
+++ src/sshagent/blf.h
@@ -30,6 +30,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define _GNU_SOURCE
+#include <sys/types.h>
#ifndef _BLF_H_
#define _BLF_H_
--- src/sshagent/blowfish.c
+++ src/sshagent/blowfish.c
@@ -49,7 +49,6 @@
#include <string.h>
#endif
-#include <sys/types.h>
#ifdef HAVE_BLF_H
#include "blf.h"
#endif