Apply 00-disable-SYNCTEX_INLINE.diff

And update the diff itself to the new line location
remotes/origin/textfind-and-transparency
Albert Astals Cid 15 years ago
parent e834ec57c9
commit c2287ecb37
  1. 10
      generators/poppler/synctex/patches/00-disable-SYNCTEX_INLINE.diff
  2. 2
      generators/poppler/synctex/synctex_parser.c

@ -1,11 +1,11 @@
Description: Disable SYNCTEX_INLINE on non-MSVC compilers.
It is misplaced in the code (before "static"), so it causes compiling errors.
Author: Pino Toscano <pino@kde.org>
Index: synctex/synctex_parser.c
===================================================================
--- synctex.orig/synctex_parser.c 2010-05-23 19:01:59.000000000 +0200
+++ synctex/synctex_parser.c 2010-05-23 19:02:29.000000000 +0200
@@ -66,7 +66,7 @@
diff --git a/generators/poppler/synctex/synctex_parser.c b/generators/poppler/synctex/synctex_parser.c
index 0d3de08..53f462d 100644
--- a/generators/poppler/synctex/synctex_parser.c
+++ b/generators/poppler/synctex/synctex_parser.c
@@ -67,7 +67,7 @@ Thu Jun 19 09:39:21 UTC 2008
# if defined(_MSC_VER)
# define SYNCTEX_INLINE __inline
# else

@ -67,7 +67,7 @@ Thu Jun 19 09:39:21 UTC 2008
# if defined(_MSC_VER)
# define SYNCTEX_INLINE __inline
# else
# define SYNCTEX_INLINE inline
# define SYNCTEX_INLINE
# endif
# endif

Loading…
Cancel
Save