File 0001-reversed-synctex-Move-_GNU_SOURCE-to-the-top-of-the-source-code.patch of Package evince

--- b/cut-n-paste/synctex/synctex_parser.c
+++ a/cut-n-paste/synctex/synctex_parser.c
@@ -83,11 +83,6 @@
  *  First level objects are sheets and forms, containing boxes, glues, kerns...
  *  The third tree allows to browse leaves according to tag and line.
  */
-/* Declare _GNU_SOURCE for accessing vasprintf. For MSC compiler, vasprintf is
- * defined in this file
- */
-#define _GNU_SOURCE
-
 #   if defined(SYNCTEX_USE_LOCAL_HEADER)
 #       include "synctex_parser_local.h"
 #   else
@@ -100,6 +95,7 @@
 #       endif
 #   endif
 
+#define _GNU_SOURCE
 #include <stdlib.h>
 #include <stdarg.h>
 #include <stdio.h>
openSUSE Build Service is sponsored by