mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
tgt: update to 1.0.91.
This commit is contained in:
parent
e2dfe6bd22
commit
442989676c
2 changed files with 4 additions and 4 deletions
|
@ -27,9 +27,9 @@ The definition of __WORDSIZE is found in <sys/reg.h>
|
||||||
--- a/usr/util.h
|
--- a/usr/util.h
|
||||||
+++ b/usr/util.h
|
+++ b/usr/util.h
|
||||||
@@ -19,6 +19,9 @@
|
@@ -19,6 +19,9 @@
|
||||||
#include <linux/fs.h>
|
#include <sys/signalfd.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.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.90
|
version=1.0.91
|
||||||
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=e832a19c2831bde83e7078cd7a8d2fc8fe5c5f38ddd51130f5123013416d4cff
|
checksum=3bfd50e19f308e9d197e2f6877fb5d13e4777e5bbb61716a7409b3735b481d8f
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue