~ubuntu-branches/ubuntu/maverick/kdegraphics/maverick-proposed

« back to all changes in this revision

Viewing changes to okular/generators/poppler/synctex/patches/02-fix-_synctex_error.diff

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 14:03:43 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202140343-2732gbkj69g89arq
Tags: 4:4.3.80-0ubuntu1
* New upstream beta release:
  - Add build-depend on shared-desktop-ontologies for nepomuk integration
  - Bump .so versions for libkexiv, libkdcraw and libkipi
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: synctex/synctex_parser_utils.c
 
2
===================================================================
 
3
--- synctex.orig/synctex_parser_utils.c 2009-07-27 17:41:24.000000000 +0200
 
4
+++ synctex/synctex_parser_utils.c      2009-07-27 17:41:43.000000000 +0200
 
5
@@ -62,7 +62,7 @@
 
6
        return (void *)ptr;
 
7
 }
 
8
 
 
9
-int _synctex_error(char * reason,...) {
 
10
+int _synctex_error(const char * reason,...) {
 
11
        va_list arg;
 
12
        int result;
 
13
        va_start (arg, reason);
 
14
Index: synctex/synctex_parser_utils.h
 
15
===================================================================
 
16
--- synctex.orig/synctex_parser_utils.h 2009-07-27 17:41:24.000000000 +0200
 
17
+++ synctex/synctex_parser_utils.h      2009-07-27 17:41:47.000000000 +0200
 
18
@@ -65,7 +65,7 @@
 
19
 /*  This is used to log some informational message to the standard error stream.
 
20
  *  On Windows, the stderr stream is not exposed and another method is used.
 
21
  *     The return value is the number of characters printed.   */
 
22
-int _synctex_error(char * reason,...);
 
23
+int _synctex_error(const char * reason,...);
 
24
 
 
25
 /*  strip the last extension of the given string, this string is modified!
 
26
  *  This function depends on the OS because the path separator may differ.