geany-plugins: update to 1.38.0.
This commit is contained in:
parent
0a86c64426
commit
eb3df31419
2 changed files with 2 additions and 42 deletions
|
@ -1,40 +0,0 @@
|
||||||
From ad50d3ed2ddfe11cd07954786b96725602fb4ddd Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= <rodseth@gmail.com>
|
|
||||||
Date: Tue, 5 Jan 2021 12:57:27 +0100
|
|
||||||
Subject: [PATCH] Use stdbool.h istead of redefining bool
|
|
||||||
|
|
||||||
Redefining bool causes errors when used together with ie. GCC 10.2.0
|
|
||||||
---
|
|
||||||
pretty-printer/src/PrettyPrinter.h | 5 ++---
|
|
||||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/pretty-printer/src/PrettyPrinter.h b/pretty-printer/src/PrettyPrinter.h
|
|
||||||
index 268986e95..4200db612 100644
|
|
||||||
--- a/pretty-printer/src/PrettyPrinter.h
|
|
||||||
+++ b/pretty-printer/src/PrettyPrinter.h
|
|
||||||
@@ -29,6 +29,7 @@
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#include <stdbool.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_GLIB
|
|
||||||
#include <glib.h>
|
|
||||||
@@ -52,15 +53,13 @@
|
|
||||||
#define TRUE !(FALSE)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-typedef unsigned int bool;
|
|
||||||
-
|
|
||||||
/*========================================== STRUCTURES =======================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The PrettyPrintingOptions struct allows the programmer to tell the
|
|
||||||
* PrettyPrinter how it must format the XML output.
|
|
||||||
*/
|
|
||||||
-typedef struct
|
|
||||||
+typedef struct
|
|
||||||
{
|
|
||||||
const char* newLineChars; /* char used to generate a new line (generally \r\n) */
|
|
||||||
char indentChar; /* char used for indentation */
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'geany-plugins'
|
# Template file for 'geany-plugins'
|
||||||
pkgname=geany-plugins
|
pkgname=geany-plugins
|
||||||
version=1.37.0
|
version=1.38.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="PYTHON=/usr/bin/python2 --enable-all-plugins --disable-devhelp
|
configure_args="PYTHON=/usr/bin/python2 --enable-all-plugins --disable-devhelp
|
||||||
|
@ -16,7 +16,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="http://plugins.geany.org"
|
homepage="http://plugins.geany.org"
|
||||||
changelog="https://raw.githubusercontent.com/geany/geany-plugins/master/NEWS"
|
changelog="https://raw.githubusercontent.com/geany/geany-plugins/master/NEWS"
|
||||||
distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=14df1dda3760eedd3a28daba0788f3bee5b83ae31f042c57a78c20f37a77eb28
|
checksum=86d2fe05290136d020b0d22f849a1aaa74b83cb49b767ae2dc19aaedcdf3d469
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue