summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-03 06:54:44 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-09-03 06:54:44 +0000
commitb68fdf390576139fff64c47bbeada70465f0b9c0 (patch)
tree9bf81f6d7cc901d45cf1ec694da05a8a8501f8a5 /Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const
parenta566129f4c9eb331f64cb35747f858517a9a9571 (diff)
Integrating gregorio-4.0.0-beta2
git-svn-id: svn://tug.org/texlive/trunk@38285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const')
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const38
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const b/Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const
new file mode 100644
index 00000000000..4e216037190
--- /dev/null
+++ b/Build/source/texk/gregorio/gregorio-4.0.0-beta2-PATCHES/patch-10-const
@@ -0,0 +1,38 @@
+ Replace string constant by non-const char array to avoid warning.
+
+diff -ur gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination.y gregorio-4.0.0-beta2/src/gabc/gabc-score-determination.y
+--- gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination.y 2015-08-25 20:17:26.000000000 +0200
++++ gregorio-4.0.0-beta2/src/gabc/gabc-score-determination.y 2015-09-02 10:45:09.000000000 +0200
+@@ -340,7 +340,8 @@
+ }
+
+ if (!got_language) {
+- gregorio_set_centering_language("Latin");
++ static char lang_Latin[] = "Latin";
++ gregorio_set_centering_language(lang_Latin);
+ }
+ }
+
+diff -ur gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination-y.c gregorio-4.0.0-beta2/src/gabc/gabc-score-determination-y.c
+--- gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination-y.c 2015-08-26 22:44:34.000000000 +0200
++++ gregorio-4.0.0-beta2/src/gabc/gabc-score-determination-y.c 2015-09-02 10:46:15.000000000 +0200
+@@ -414,7 +414,8 @@
+ }
+
+ if (!got_language) {
+- gregorio_set_centering_language("Latin");
++ static char lang_Latin[] = "Latin";
++ gregorio_set_centering_language(lang_Latin);
+ }
+ }
+
+diff -ur gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination-y.h gregorio-4.0.0-beta2/src/gabc/gabc-score-determination-y.h
+--- gregorio-4.0.0-beta2.orig/src/gabc/gabc-score-determination-y.h 2015-08-26 22:44:34.000000000 +0200
++++ gregorio-4.0.0-beta2/src/gabc/gabc-score-determination-y.h 2015-09-02 10:46:15.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* A Bison parser, made by GNU Bison 3.0.4. */
+
++/* Make sure this file is newer than gabc-score-determinatio.y */
+ /* Bison interface for Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.