pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/matio matio: fix getopt_long configure check, it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e2d89b31470
branches:  trunk
changeset: 387290:2e2d89b31470
user:      nros <nros%pkgsrc.org@localhost>
date:      Wed Oct 26 09:59:26 2022 +0000

description:
matio: fix getopt_long configure check, it always failed before

diffstat:

 devel/matio/distinfo                |   3 ++-
 devel/matio/patches/patch-configure |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 35d24886cf1b -r 2e2d89b31470 devel/matio/distinfo
--- a/devel/matio/distinfo      Wed Oct 26 08:44:33 2022 +0000
+++ b/devel/matio/distinfo      Wed Oct 26 09:59:26 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2021/11/07 10:50:38 nros Exp $
+$NetBSD: distinfo,v 1.6 2022/10/26 09:59:26 nros Exp $
 
 BLAKE2s (matio-1.5.21.tar.gz) = 436f7155f889be58d38a53b8c1c7ffcf5ef933b89003ad92bdf24b3abd5de134
 SHA512 (matio-1.5.21.tar.gz) = b00bcad807e6a7e10afa656eb77a0e3e9fb08d9cecc3e94ba41ef91ce60367d6686e6d387a874bbb83eb2f895d4a97caac554a70e7f5f6f5cb750052702d411c
 Size (matio-1.5.21.tar.gz) = 10110430 bytes
+SHA1 (patch-configure) = 884d581f2a03582553f352110130fba6cb5acc0d
 SHA1 (patch-documentation_Makefile.in) = 0f31d828464a09d061e24482e432422f4e5003df
diff -r 35d24886cf1b -r 2e2d89b31470 devel/matio/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/matio/patches/patch-configure       Wed Oct 26 09:59:26 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2022/10/26 09:59:27 nros Exp $
+
+* fix getopt_long configure check
+
+--- configure.orig     2022-10-26 09:08:40.681472642 +0000
++++ configure
+@@ -12530,7 +12530,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-opt = getopt_long(0,NULL,NULL,NULL,NULL);
++int opt = getopt_long(0,NULL,NULL,NULL,NULL);
+   ;
+   return 0;
+ }



Home | Main Index | Thread Index | Old Index