summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-03-25 19:08:32 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-04-17 22:58:42 +0200
commitaee68f18445b865cf8afb83e6996aab245024c05 (patch)
tree004644242ff62e0f964668f425a52983a6493b95
parentnet-libs/gnutls: remove unused patch(es) (diff)
downloadgentoo-aee68f18445b865cf8afb83e6996aab245024c05.tar.gz
gentoo-aee68f18445b865cf8afb83e6996aab245024c05.tar.bz2
gentoo-aee68f18445b865cf8afb83e6996aab245024c05.zip
sci-libs/plplot: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/35914 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--sci-libs/plplot/files/plplot-5.12.0-safe-string.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/sci-libs/plplot/files/plplot-5.12.0-safe-string.patch b/sci-libs/plplot/files/plplot-5.12.0-safe-string.patch
deleted file mode 100644
index 5a3605168e61..000000000000
--- a/sci-libs/plplot/files/plplot-5.12.0-safe-string.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- plplot-5.12.0.old/examples/ocaml/x20.ml 2017-01-29 01:50:35.000000000 +0000
-+++ plplot-5.12.0/examples/ocaml/x20.ml 2017-11-18 12:10:33.476409441 +0000
-@@ -59,7 +59,7 @@
- let w, h = Scanf.sscanf w_h_line "%d %d" (fun w h -> w, h) in
- let num_col = Scanf.sscanf num_col_line "%d" (fun n -> n) in
-
-- let img = String.make (w * h) ' ' in
-+ let img = Bytes.make (w * h) ' ' in
- let imf = Array.make_matrix w h 0.0 in
-
- (* Note that under 32bit OCaml, this will only work when reading strings up
-@@ -72,7 +72,7 @@
- for j = 0 to h - 1 do
- imf.(i).(j) <-
- (* flip image up-down *)
-- float_of_int (int_of_char (img.[(h - 1 - j ) * w + i]));
-+ float_of_int (int_of_char (Bytes.get img ((h - 1 - j ) * w + i)));
- done
- done;
- imf, w, h, num_col