pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/uhd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Sep 23 10:01:03 UTC 2022

Modified Files:
        pkgsrc/ham/uhd: distinfo
Added Files:
        pkgsrc/ham/uhd/patches:
            patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in

Log Message:
uhd: fix unportable test operator in example script


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/ham/uhd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/ham/uhd/patches/patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/uhd/distinfo
diff -u pkgsrc/ham/uhd/distinfo:1.32 pkgsrc/ham/uhd/distinfo:1.33
--- pkgsrc/ham/uhd/distinfo:1.32        Tue Apr 12 20:10:46 2022
+++ pkgsrc/ham/uhd/distinfo     Fri Sep 23 10:01:03 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2022/04/12 20:10:46 tnn Exp $
+$NetBSD: distinfo,v 1.33 2022/09/23 10:01:03 wiz Exp $
 
 BLAKE2s (uhd-4.1.0.5.tar.gz) = f172a3e30a7e6b81cf79ead0b7a7bb2f34ea55777b94152c2fec267b2f68586a
 SHA512 (uhd-4.1.0.5.tar.gz) = 4929ebc8a12bcc0acfe4a64ceafe17387420e2f056e7bb7284a8d7b60d14aba05484b3c033ce63b00c6d9115f570b056df4e2b36e11a2b25079a8c34b1d084af
@@ -6,6 +6,7 @@ Size (uhd-4.1.0.5.tar.gz) = 37975618 byt
 SHA1 (patch-CMakeLists.txt) = 16cc883a0bffdb6c3a4733dda7060bd206928d68
 SHA1 (patch-examples_getopt_getopt.c) = f9c7297cb1dcc9438baed9dcdaf0f52b83297e01
 SHA1 (patch-examples_getopt_getopt.h) = 7f01c9385644dbf2b61dfd8bebac8016b46000c5
+SHA1 (patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in) = f3c5c350abc82e0821eff45f00f4d1a0a1c7472b
 SHA1 (patch-lib_rfnoc_vector__iir__block__control.cpp) = d0bc32f888a6cfc30f1eb57d7f2d71bb86cdc284
 SHA1 (patch-lib_transport_nirio_lvbitx_process-lvbitx.py) = 5117c7593c4e92ed6bfb86388cc366c41a1dead7
 SHA1 (patch-lib_usrp_common_lmx2592.cpp) = 2828dcf989f1fc43c70e10b8de1e34485066842d

Added files:

Index: pkgsrc/ham/uhd/patches/patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in
diff -u /dev/null pkgsrc/ham/uhd/patches/patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in:1.1
--- /dev/null   Fri Sep 23 10:01:03 2022
+++ pkgsrc/ham/uhd/patches/patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in      Fri Sep 23 10:01:03 2022
@@ -0,0 +1,35 @@
+$NetBSD: patch-examples_rfnoc-example_cmake_Modules_run__testbench.sh.in,v 1.1 2022/09/23 10:01:03 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- examples/rfnoc-example/cmake/Modules/run_testbench.sh.in.orig      2021-12-14 18:37:20.000000000 +0000
++++ examples/rfnoc-example/cmake/Modules/run_testbench.sh.in
+@@ -24,22 +24,22 @@ shift
+ 
+ # Need to convert device types to directory names
+ device_dir=$test_device
+-if [ $device_dir == "x310" ]; then
++if [ $device_dir = "x310" ]; then
+       device_dir=x300
+ fi
+-if [ $device_dir == "n300" ]; then
++if [ $device_dir = "n300" ]; then
+       device_dir=n3xx
+ fi
+-if [ $device_dir == "n310" ]; then
++if [ $device_dir = "n310" ]; then
+       device_dir=n3xx
+ fi
+-if [ $device_dir == "n320" ]; then
++if [ $device_dir = "n320" ]; then
+       device_dir=n3xx
+ fi
+-if [ $device_dir == "e310" ]; then
++if [ $device_dir = "e310" ]; then
+       device_dir=e31x
+ fi
+-if [ $device_dir == "x410" ]; then
++if [ $device_dir = "x410" ]; then
+       device_dir=x400
+ fi
+ 



Home | Main Index | Thread Index | Old Index