textproc/diffutils: update the port to version 3.8 and enable tests
PR: 257631
This commit is contained in:
parent
ea8a46f5cf
commit
c87cdf2646
3 changed files with 25 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Created by: Garrett Rooney <rooneg@electricjellyfish.net>
|
||||
|
||||
PORTNAME= diffutils
|
||||
PORTVERSION= 3.7
|
||||
PORTVERSION= 3.8
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= GNU
|
||||
|
||||
|
@ -15,6 +15,7 @@ LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
|
|||
USES= charsetfix tar:xz
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-prefix=g
|
||||
TEST_TARGET= check
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1546308188
|
||||
SHA256 (diffutils-3.7.tar.xz) = b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26
|
||||
SIZE (diffutils-3.7.tar.xz) = 1448828
|
||||
TIMESTAMP = 1627869571
|
||||
SHA256 (diffutils-3.8.tar.xz) = a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec
|
||||
SIZE (diffutils-3.8.tar.xz) = 1585120
|
||||
|
|
20
textproc/diffutils/files/patch-configure
Normal file
20
textproc/diffutils/files/patch-configure
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- configure.orig 2021-08-02 01:56:20 UTC
|
||||
+++ configure
|
||||
@@ -34085,7 +34085,7 @@ else $as_nop
|
||||
elxsi | \
|
||||
fr30 | \
|
||||
h8300 | \
|
||||
- i?86 | x86_64 | \
|
||||
+ i?86 | x86_64 | amd64 | \
|
||||
i860 | \
|
||||
ia64 | \
|
||||
m32r | \
|
||||
@@ -34134,7 +34134,7 @@ find_stack_direction (int *addr, int depth)
|
||||
return dir + dummy;
|
||||
}
|
||||
int
|
||||
-main (int argc, char *argv)
|
||||
+main (int argc, char *argv[])
|
||||
{
|
||||
printf ("%d\n", find_stack_direction (NULL, argc + 20));
|
||||
return 0;
|
Loading…
Reference in a new issue