diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2021-05-18 17:31:35 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-18 23:40:21 +0700 |
commit | cdd96329fc7c022df20cbd98d8e318d40a1100c7 (patch) | |
tree | 3367badab16d1ce67baecbfea2a0ee1f2a83aac1 /libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch | |
parent | 1f7c6d8501793ef4dd0e1e8e9a6d8c4f41ff8c71 (diff) |
libraries/gconfmm: add patch to fix build
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch')
-rw-r--r-- | libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch b/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch new file mode 100644 index 0000000000000..026a28aab02bf --- /dev/null +++ b/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch @@ -0,0 +1,45 @@ +diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/callback.h gconfmm-2.28.3/gconf/gconfmm/callback.h +--- gconfmm-2.28.3-original/gconf/gconfmm/callback.h 2011-10-18 11:33:49.000000000 -0400 ++++ gconfmm-2.28.3/gconf/gconfmm/callback.h 2021-02-13 09:21:06.167235506 -0500 +@@ -22,10 +22,7 @@ + #ifndef GCONFMM_CALLBACK_H + #define GCONFMM_CALLBACK_H + +-extern "C" +-{ + #include <gconf/gconf-client.h> +-} + + #include <glibmm/object.h> + #include <gconfmm/entry.h> +diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/schema.h gconfmm-2.28.3/gconf/gconfmm/schema.h +--- gconfmm-2.28.3-original/gconf/gconfmm/schema.h 2011-10-21 04:51:27.000000000 -0400 ++++ gconfmm-2.28.3/gconf/gconfmm/schema.h 2021-02-13 09:21:24.616354041 -0500 +@@ -31,10 +31,8 @@ + #include <gconfmm/value.h> + + +-extern "C" { +- // TODO: do not include this. ++// TODO: do not include this. + #include <gconf/gconf-schema.h> +-} + + namespace Gnome + { +diff -Naur gconfmm-2.28.3-original/gconf/src/schema.hg gconfmm-2.28.3/gconf/src/schema.hg +--- gconfmm-2.28.3-original/gconf/src/schema.hg 2011-10-18 11:33:49.000000000 -0400 ++++ gconfmm-2.28.3/gconf/src/schema.hg 2021-02-13 09:21:58.002568546 -0500 +@@ -24,10 +24,8 @@ + + _DEFS(gconfmm,gconf) + +-extern "C" { +- // TODO: do not include this. ++// TODO: do not include this. + #include <gconf/gconf-schema.h> +-} + + namespace Gnome + { +
\ No newline at end of file |