From c2287ecb374b9ddc35eb30f499f26905cb7c66d3 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 29 Sep 2011 12:36:32 +0200 Subject: [PATCH] Apply 00-disable-SYNCTEX_INLINE.diff And update the diff itself to the new line location --- .../synctex/patches/00-disable-SYNCTEX_INLINE.diff | 10 +++++----- generators/poppler/synctex/synctex_parser.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/generators/poppler/synctex/patches/00-disable-SYNCTEX_INLINE.diff b/generators/poppler/synctex/patches/00-disable-SYNCTEX_INLINE.diff index 0d7dbf667..a28faf18a 100644 --- a/generators/poppler/synctex/patches/00-disable-SYNCTEX_INLINE.diff +++ b/generators/poppler/synctex/patches/00-disable-SYNCTEX_INLINE.diff @@ -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 -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 diff --git a/generators/poppler/synctex/synctex_parser.c b/generators/poppler/synctex/synctex_parser.c index 0d3de08b4..53f462d63 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 -# define SYNCTEX_INLINE inline +# define SYNCTEX_INLINE # endif # endif