tgt: update to 1.0.90.
This commit is contained in:
parent
7658c05aec
commit
74a82a111f
|
@ -24,12 +24,12 @@ The definition of __WORDSIZE is found in <sys/reg.h>
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "scsi_cmnd.h"
|
#include "scsi_cmnd.h"
|
||||||
#include "tgtadm_error.h"
|
#include "tgtadm_error.h"
|
||||||
--- a/usr/util.h 2015-11-04 16:26:22.262890112 +0100
|
--- a/usr/util.h
|
||||||
+++ b/usr/util.h 2015-11-04 16:27:01.364892931 +0100
|
+++ b/usr/util.h
|
||||||
@@ -16,6 +16,9 @@
|
@@ -19,6 +19,9 @@
|
||||||
#include <string.h>
|
#include <linux/fs.h>
|
||||||
#include <limits.h>
|
#include <sys/types.h>
|
||||||
#include <linux/types.h>
|
#include <sys/stat.h>
|
||||||
+#if !defined(__GLIBC__)
|
+#if !defined(__GLIBC__)
|
||||||
+#include <sys/reg.h>
|
+#include <sys/reg.h>
|
||||||
+#endif
|
+#endif
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tgt'
|
# Template file for 'tgt'
|
||||||
pkgname=tgt
|
pkgname=tgt
|
||||||
version=1.0.89
|
version=1.0.90
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="sbindir=/usr/bin"
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://github.com/fujita/tgt"
|
homepage="https://github.com/fujita/tgt"
|
||||||
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
||||||
checksum=cd09daffacc00a6641a7b95d31c43441656ce0b01af8d512359bc91bac3c6d99
|
checksum=e832a19c2831bde83e7078cd7a8d2fc8fe5c5f38ddd51130f5123013416d4cff
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile
|
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile
|
||||||
|
|
Loading…
Reference in New Issue