|
@@ -12,9 +12,9 @@ Upstream status: Denied (Buildroot specific)
|
|
https://gitlab.gnome.org/GNOME/glib/issues/1748
|
|
https://gitlab.gnome.org/GNOME/glib/issues/1748
|
|
---
|
|
---
|
|
glib/glibconfig.h.in | 1 -
|
|
glib/glibconfig.h.in | 1 -
|
|
- meson.build | 18 +-----------------
|
|
|
|
|
|
+ meson.build | 16 ----------------
|
|
tests/meson.build | 5 -----
|
|
tests/meson.build | 5 -----
|
|
- 3 files changed, 1 insertion(+), 23 deletions(-)
|
|
|
|
|
|
+ 3 files changed, 22 deletions(-)
|
|
|
|
|
|
diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in
|
|
diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in
|
|
index 7ef8c48..128e65d 100644
|
|
index 7ef8c48..128e65d 100644
|
|
@@ -29,15 +29,9 @@ index 7ef8c48..128e65d 100644
|
|
/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
|
|
/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
|
|
* is passed ISO vararg support is turned off, and there is no work
|
|
* is passed ISO vararg support is turned off, and there is no work
|
|
diff --git a/meson.build b/meson.build
|
|
diff --git a/meson.build b/meson.build
|
|
-index 3124f28..642afb8 100644
|
|
|
|
|
|
+index 83774d0..99806d0 100644
|
|
--- a/meson.build
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
+++ b/meson.build
|
|
-@@ -1,4 +1,4 @@
|
|
|
|
--project('glib', 'c', 'cpp',
|
|
|
|
-+project('glib', 'c',
|
|
|
|
- version : '2.62.0',
|
|
|
|
- # NOTE: We keep this pinned at 0.49 because that's what Debian 10 ships
|
|
|
|
- meson_version : '>= 0.49.2',
|
|
|
|
@@ -10,7 +10,6 @@ project('glib', 'c', 'cpp',
|
|
@@ -10,7 +10,6 @@ project('glib', 'c', 'cpp',
|
|
)
|
|
)
|
|
|
|
|
|
@@ -46,7 +40,7 @@ index 3124f28..642afb8 100644
|
|
|
|
|
|
cc_can_run = not meson.is_cross_build() or meson.has_exe_wrapper()
|
|
cc_can_run = not meson.is_cross_build() or meson.has_exe_wrapper()
|
|
|
|
|
|
-@@ -1487,20 +1486,6 @@ if g_have_iso_c_varargs
|
|
|
|
|
|
+@@ -1490,20 +1489,6 @@ if g_have_iso_c_varargs
|
|
#endif''')
|
|
#endif''')
|
|
endif
|
|
endif
|
|
|
|
|
|
@@ -67,21 +61,21 @@ index 3124f28..642afb8 100644
|
|
g_have_gnuc_varargs = cc.compiles('''
|
|
g_have_gnuc_varargs = cc.compiles('''
|
|
void some_func (void) {
|
|
void some_func (void) {
|
|
int a(int p1, int p2, int p3);
|
|
int a(int p1, int p2, int p3);
|
|
-@@ -2096,7 +2081,6 @@ subdir('gobject')
|
|
|
|
|
|
+@@ -2101,7 +2086,6 @@ subdir('gobject')
|
|
subdir('gthread')
|
|
subdir('gthread')
|
|
subdir('gmodule')
|
|
subdir('gmodule')
|
|
subdir('gio')
|
|
subdir('gio')
|
|
-subdir('fuzzing')
|
|
-subdir('fuzzing')
|
|
- # Don’t build the tests unless we can run them (either natively or in an exe wrapper)
|
|
|
|
- build_tests = get_option('tests')
|
|
|
|
if build_tests
|
|
if build_tests
|
|
|
|
+ subdir('tests')
|
|
|
|
+ endif
|
|
diff --git a/tests/meson.build b/tests/meson.build
|
|
diff --git a/tests/meson.build b/tests/meson.build
|
|
-index ce30442..2b31427 100644
|
|
|
|
|
|
+index e4ea226..7fd974c 100644
|
|
--- a/tests/meson.build
|
|
--- a/tests/meson.build
|
|
+++ b/tests/meson.build
|
|
+++ b/tests/meson.build
|
|
-@@ -48,11 +48,6 @@ tests = {
|
|
|
|
- 'dependencies' : [libgmodule_dep],
|
|
|
|
- 'export_dynamic' : true,
|
|
|
|
|
|
+@@ -56,11 +56,6 @@ tests = {
|
|
|
|
+ 'source': 'module-test.c',
|
|
|
|
+ 'c_args': ['-DMODULE_TYPE="plugin"'],
|
|
},
|
|
},
|
|
- 'cxx-test' : {
|
|
- 'cxx-test' : {
|
|
- 'source' : 'cxx-test.cpp',
|
|
- 'source' : 'cxx-test.cpp',
|
|
@@ -92,5 +86,5 @@ index ce30442..2b31427 100644
|
|
|
|
|
|
test_extra_programs = {
|
|
test_extra_programs = {
|
|
--
|
|
--
|
|
-2.21.0
|
|
|
|
|
|
+2.23.0
|
|
|
|
|