[SCM] lcalc: program for computing zeros and values of L-functions branch, master, updated. debian/0.0.20080205-1.2-15-gb903849

Tobias Hansen tobias.han at gmx.de
Sat Jan 12 03:33:30 UTC 2013


The following commit has been merged in the master branch:
commit d638869d560ecb146a88b5807c751e0fe28682c2
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Sat Jan 12 02:54:36 2013 +0100

    Add a few more const fixes.

diff --git a/debian/patches/lcalc-const-fixes.patch b/debian/patches/lcalc-const-fixes.patch
index d90b23e..59d2193 100644
--- a/debian/patches/lcalc-const-fixes.patch
+++ b/debian/patches/lcalc-const-fixes.patch
@@ -29,3 +29,30 @@
  {
    int i, found, last;
    size_t len;
+@@ -439,7 +439,7 @@
+ 
+ 
+ static void
+-write_into_file(FILE *outfile, const char *opt, const char *arg, char *values[])
++write_into_file(FILE *outfile, const char *opt, const char *arg, const char *values[])
+ {
+   int found = -1;
+   if (arg) {
+@@ -681,7 +681,7 @@
+ static
+ int update_arg(void *field, char **orig_field,
+                unsigned int *field_given, unsigned int *prev_given, 
+-               char *value, char *possible_values[], const char *default_value,
++               const char *value, const char *possible_values[], const char *default_value,
+                cmdline_parser_arg_type arg_type,
+                int check_ambiguity, int override,
+                int no_free, int multiple_option,
+@@ -770,7 +770,7 @@
+   default:
+     if (value && orig_field) {
+       if (no_free) {
+-        *orig_field = value;
++        *orig_field = (char *)value;
+       } else {
+         if (*orig_field)
+           free (*orig_field); /* free previous string */

-- 
lcalc: program for computing zeros and values of L-functions



More information about the debian-science-commits mailing list