File greenbone-security-assistant-fix-new-glib.patch of Package greenbone-security-assistant

Index: greenbone-security-assistant-4.0.2/src/gsad.c
===================================================================
--- greenbone-security-assistant-4.0.2.orig/src/gsad.c
+++ greenbone-security-assistant-4.0.2/src/gsad.c
@@ -50,8 +50,6 @@
 /**
  * @brief The Glib fatal mask, redefined to leave out G_LOG_FLAG_RECURSION.
  */
-#undef G_LOG_FATAL_MASK
-#define G_LOG_FATAL_MASK G_LOG_LEVEL_ERROR
 
 #include <arpa/inet.h>
 #include <assert.h>
@@ -85,6 +83,9 @@
 #include "tracef.h"
 #include "validator.h"
 
+#undef G_LOG_FATAL_MASK
+#define G_LOG_FATAL_MASK G_LOG_LEVEL_ERROR
+
 /**
  * @brief Name of the cookie used to store the SID.
  */
openSUSE Build Service is sponsored by