Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gtksourceview3 windows: fix build error
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
gtksourceview3/patches/gtksourceview-3.22.1-add-missing-config-include.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/gtksourceview/gtksourceregion.c b/gtksourceview/gtksourceregion.c | ||
index f75e574..8ab5413 100644 | ||
--- a/gtksourceview/gtksourceregion.c | ||
+++ b/gtksourceview/gtksourceregion.c | ||
@@ -20,6 +20,10 @@ | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
+#ifdef HAVE_CONFIG_H | ||
+#include <config.h> | ||
+#endif | ||
+ | ||
#include "gtksourceregion.h" | ||
|
||
/** |
12 changes: 12 additions & 0 deletions
12
gtksourceview3/patches/gtksourceview-3.22.1-remove-unused-definition.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am | ||
index caf449c..0bc8159 100644 | ||
--- a/gtksourceview/Makefile.am | ||
+++ b/gtksourceview/Makefile.am | ||
@@ -3,7 +3,6 @@ SUBDIRS = completion-providers | ||
@CODE_COVERAGE_RULES@ | ||
|
||
AM_CPPFLAGS = \ | ||
- -DDATADIR=\""$(datadir)"\" \ | ||
-DG_LOG_DOMAIN=\"GtkSourceView\"\ | ||
-DGTK_SOURCE_COMPILATION \ | ||
-I$(top_builddir) \ |