pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/frama-c frama-c: fix unportable test(1) operator



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4502dfe571bd
branches:  trunk
changeset: 388260:4502dfe571bd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 15 13:02:42 2022 +0000

description:
frama-c: fix unportable test(1) operator

diffstat:

 devel/frama-c/distinfo                                               |   3 +-
 devel/frama-c/patches/patch-src_plugins_e-acsl_scripts_e-acsl-gcc.sh |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 4a3434c82a26 -r 4502dfe571bd devel/frama-c/distinfo
--- a/devel/frama-c/distinfo    Tue Nov 15 12:47:59 2022 +0000
+++ b/devel/frama-c/distinfo    Tue Nov 15 13:02:42 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2022/10/09 07:02:47 tonio Exp $
+$NetBSD: distinfo,v 1.13 2022/11/15 13:02:42 wiz Exp $
 
 BLAKE2s (frama-c-25.0-Manganese.tar.gz) = 589c14ead33b8371a96e6e65ac2f58434e8de7066d71b821cf285ff01bb6e233
 SHA512 (frama-c-25.0-Manganese.tar.gz) = 8fdc71ee252e7dd0ca5782d16d54df8d126a3fbcc324cf250dd96bcb5b743a4a387ec65fe633583a976d6b692d147f657faf49160ccbd519e04a2664b0d68f0f
@@ -6,3 +6,4 @@
 SHA1 (patch-Makefile) = 87c7dc7dd9246aae396cdcae7c410f834b92ec4b
 SHA1 (patch-share_Makefile.common) = f5230aee768e6af4c7458d96f1f210172daa9bb2
 SHA1 (patch-src_libraries_utils_c__bindings.c) = b634836b18c3be97c9b026a65c454cab6552b6f4
+SHA1 (patch-src_plugins_e-acsl_scripts_e-acsl-gcc.sh) = 3fb87450ff0d0633251730fa1bfb452ef5ff78ad
diff -r 4a3434c82a26 -r 4502dfe571bd devel/frama-c/patches/patch-src_plugins_e-acsl_scripts_e-acsl-gcc.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/frama-c/patches/patch-src_plugins_e-acsl_scripts_e-acsl-gcc.sh      Tue Nov 15 13:02:42 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_plugins_e-acsl_scripts_e-acsl-gcc.sh,v 1.1 2022/11/15 13:02:42 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- src/plugins/e-acsl/scripts/e-acsl-gcc.sh.orig      2022-06-21 00:00:00.000000000 +0000
++++ src/plugins/e-acsl/scripts/e-acsl-gcc.sh
+@@ -759,7 +759,7 @@ The size is given in MB.
+ $zone_help_msg"
+             ;;
+           esac
+-        elif [ "${#size_arr[@]}" -eq "1" ] && [ "${size_arr[0]}" == "help" ]; then
++        elif [ "${#size_arr[@]}" -eq "1" ] && [ "${size_arr[0]}" = "help" ]; then
+           printf "e-acsl-gcc.sh - $zone_help_msg"
+           exit 1
+         else



Home | Main Index | Thread Index | Old Index