From 3d46ba241732212bdb86d6776e6c7bf5826eea6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 4 Nov 2015 16:29:46 +0100 Subject: [PATCH] tgt: unbreak arm*-musl --- srcpkgs/tgt/patches/musl-__wordsize.patch | 32 +++++++++++++++++++++++ srcpkgs/tgt/template | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/tgt/patches/musl-__wordsize.patch diff --git a/srcpkgs/tgt/patches/musl-__wordsize.patch b/srcpkgs/tgt/patches/musl-__wordsize.patch new file mode 100644 index 00000000000..487732539ee --- /dev/null +++ b/srcpkgs/tgt/patches/musl-__wordsize.patch @@ -0,0 +1,32 @@ +The definition of __WORDSIZE is found in + +--- usr/iscsi/iscsid.h 2015-11-03 04:58:36.000000000 +0100 ++++ usr/iscsi/iscsid.h 2015-11-04 16:23:25.029877334 +0100 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + #include "transport.h" + #include "list.h" +--- usr/tgtd.h 2015-11-04 16:25:05.435884573 +0100 ++++ usr/tgtd.h 2015-11-04 16:25:52.415887960 +0100 +@@ -2,6 +2,7 @@ + #ifndef __TARGET_DAEMON_H + #define __TARGET_DAEMON_H + ++#include + #include "log.h" + #include "scsi_cmnd.h" + #include "tgtadm_error.h" +--- usr/util.h 2015-11-04 16:26:22.262890112 +0100 ++++ usr/util.h 2015-11-04 16:27:01.364892931 +0100 +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + #include "be_byteshift.h" + diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template index e5f37198e86..0dd06ef42b6 100644 --- a/srcpkgs/tgt/template +++ b/srcpkgs/tgt/template @@ -1,7 +1,7 @@ # Template file for 'tgt' pkgname=tgt version=1.0.61 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="sbindir=/usr/bin" conf_files="/etc/tgt/targets.conf"