Author: renodr
Date: Wed Mar  3 18:55:09 2021
New Revision: 4269

Log:
Add gtksourceview buildfix patch

Added:
   trunk/gtksourceview4/
   trunk/gtksourceview4/gtksourceview4-4.8.1-buildfix-1.patch

Added: trunk/gtksourceview4/gtksourceview4-4.8.1-buildfix-1.patch
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/gtksourceview4/gtksourceview4-4.8.1-buildfix-1.patch  Wed Mar  3 
18:55:09 2021        (r4269)
@@ -0,0 +1,36 @@
+Submitted By:            Douglas R. Reno <renodr at linuxfromscratch dot org>
+Date:                    2021-03-03
+Initial Package Version: 4.8.1
+Origin:                  Self
+Upstream Status:         Unknown
+Description:             Fixes a race condition that occurs on some systems 
because
+                         gtksourceview_gresources.h is not generated before it
+                         is included.
+
+diff -Naurp gtksourceview-4.8.1.orig/gtksourceview/meson.build 
gtksourceview-4.8.1/gtksourceview/meson.build
+--- gtksourceview-4.8.1.orig/gtksourceview/meson.build 2021-03-02 
13:07:09.498355900 -0600
++++ gtksourceview-4.8.1/gtksourceview/meson.build      2021-03-03 
16:04:12.038226977 -0600
+@@ -5,6 +5,11 @@ core_marshallers = gnome.genmarshal('gtk
+   valist_marshallers: true,
+ )
+ 
++gtksource_res = gnome.compile_resources(
++  'gtksourceview-gresources',
++  'gtksourceview.gresource.xml'
++)
++
+ core_public_h = files([
+   'gtksource.h',
+   'gtksourceautocleanups.h',
+@@ -216,11 +221,6 @@ extra_public_sources = []
+ 
+ subdir('completion-providers')
+ 
+-gtksource_res = gnome.compile_resources(
+-  'gtksourceview-gresources',
+-  'gtksourceview.gresource.xml'
+-)
+-
+ 
+ # We can't use the static libs on Visual Studio builds
+ # to form our DLL here directly, so we must use
-- 
http://lists.linuxfromscratch.org/listinfo/patches
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to