summarylogtreecommitdiffstats
path: root/replace-obsolete-functions.patch
diff options
context:
space:
mode:
authorWorMzy Tykashi2017-12-30 23:05:48 +0000
committerWorMzy Tykashi2017-12-30 23:06:39 +0000
commit0f2cceb041a9d443cfa6f10212f334c41888c901 (patch)
tree23768c3eec1444240c5a4eac2ac2cdca306b0531 /replace-obsolete-functions.patch
parent8aba6fb9b9b9b23740f2929e0a2dbbf6f9d3aa71 (diff)
downloadaur-0f2cceb041a9d443cfa6f10212f334c41888c901.tar.gz
Fix build, use https, style changes
Diffstat (limited to 'replace-obsolete-functions.patch')
-rw-r--r--replace-obsolete-functions.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/replace-obsolete-functions.patch b/replace-obsolete-functions.patch
new file mode 100644
index 000000000000..c1039cc1fdb9
--- /dev/null
+++ b/replace-obsolete-functions.patch
@@ -0,0 +1,33 @@
+diff -aur 1/tests/matheval.c 2/tests/matheval.c
+--- 1/tests/matheval.c 2013-08-14 21:22:08.000000000 +0100
++++ 2/tests/matheval.c 2017-12-30 21:01:53.333215271 +0000
+@@ -51,7 +51,7 @@
+
+ /* Guile interface for libmatheval library. Procedures below are simple
+ * wrappers for corresponding libmatheval procedures. */
+-static scm_sizet evaluator_destroy_scm(SCM evaluator_smob);
++static size_t evaluator_destroy_scm(SCM evaluator_smob);
+ static SCM evaluator_create_scm(SCM string);
+ static SCM evaluator_evaluate_scm(SCM evaluator_smob, SCM count,
+ SCM names, SCM values);
+@@ -122,7 +122,7 @@
+ }
+
+ /* Wrapper for evaluator_destroy() procedure from libmatheval library. */
+-static scm_sizet
++static size_t
+ evaluator_destroy_scm(SCM evaluator_smob)
+ {
+ SCM_ASSERT((SCM_NIMP(evaluator_smob)
+@@ -245,9 +245,9 @@
+ list = SCM_EOL;
+ for (i = 0; i < count; i++)
+ list =
+- scm_append_x(scm_listify
++ scm_append_x(scm_list_n
+ (list,
+- scm_listify(scm_makfrom0str(names[i]),
++ scm_list_n(scm_makfrom0str(names[i]),
+ SCM_UNDEFINED),
+ SCM_UNDEFINED));
+