]> git.pld-linux.org Git - packages/inkscape.git/blame - inkscape-gchar.patch
- removed obsolete patches
[packages/inkscape.git] / inkscape-gchar.patch
CommitLineData
6d97482e 1diff -Nur orig/src/dialogs/export.cpp chng/src/dialogs/export.cpp
2--- orig/src/dialogs/export.cpp 2008-03-11 05:19:54.000000000 +0100
3+++ chng/src/dialogs/export.cpp 2009-05-26 11:58:15.000000000 +0200
4@@ -1043,7 +1043,7 @@
5 {
6 gchar *dot;
7
8- dot = strrchr (filename, '.');
9+ dot = (gchar*)strrchr (filename, '.');
10 if ( !dot )
11 return g_strconcat (filename, ".", extension, NULL);
12 {
13diff -Nur orig/src/document.cpp chng/src/document.cpp
14--- orig/src/document.cpp 2008-03-11 05:20:34.000000000 +0100
15+++ chng/src/document.cpp 2009-05-26 11:36:28.000000000 +0200
16@@ -746,7 +746,7 @@
17 }
18
19 if ( NULL != document_language ) {
20- gchar *pos = strchr(document_language, '_');
21+ gchar *pos = (gchar*)strchr(document_language, '_');
22 if ( NULL != pos ) {
23 return Glib::ustring(document_language, pos - document_language);
24 }
25diff -Nur orig/src/prefix.cpp chng/src/prefix.cpp
26--- orig/src/prefix.cpp 2008-03-11 05:20:27.000000000 +0100
27+++ chng/src/prefix.cpp 2009-05-26 11:37:09.000000000 +0200
28@@ -359,7 +359,7 @@
29
30 br_return_val_if_fail (path != (char*)NULL, (char*)NULL);
31
32- end = strrchr (path, '/');
33+ end = (gchar*)strrchr (path, '/');
34 if (!end) return strdup (".");
35
36 while (end > path && *end == '/')
37@@ -395,7 +395,7 @@
38 br_return_val_if_fail (path != (char*)NULL, (char*)NULL);
39
40 if (!*path) return strdup ("/");
41- end = strrchr (path, '/');
42+ end = (gchar*)strrchr (path, '/');
43 if (!end) return strdup (path);
44
45 tmp = br_strndup ((char *) path, end - path);
This page took 0.034098 seconds and 4 git commands to generate.