summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2019-11-07 02:36:36 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2019-12-24 16:54:16 -0500
commita39d07f15cdd7f35dad39c7187d551580672e926 (patch)
tree4fdf7752e9ddc9e2f0acdb302b389b4c6ba7b160 /dev-libs/libprelude/files
parentdev-libs/kasync: Drop 0.2.0 (diff)
downloadgentoo-a39d07f15cdd7f35dad39c7187d551580672e926.tar.gz
gentoo-a39d07f15cdd7f35dad39c7187d551580672e926.tar.bz2
gentoo-a39d07f15cdd7f35dad39c7187d551580672e926.zip
dev-libs/libprelude: Bump version 5.1
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'dev-libs/libprelude/files')
-rw-r--r--dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch112
-rw-r--r--dev-libs/libprelude/files/libprelude-5.1.0-fix_gtkdoc_1.32.patch13
-rw-r--r--dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch11
3 files changed, 136 insertions, 0 deletions
diff --git a/dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch b/dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch
new file mode 100644
index 000000000000..c3dca1b93d1c
--- /dev/null
+++ b/dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch
@@ -0,0 +1,112 @@
+--+ a/src/libprelude-error/Makefile.am
++++ b/src/libprelude-error/Makefile.am
+@@ -53,7 +53,7 @@
+
+ errnos-sym.h: Makefile mkstrtable.awk errnos.in
+ LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
+- -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
++ -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
+ $(srcdir)/errnos.in >$@
+
+ prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in errnos.in prelude-error.h.in
+--+ a/src/libprelude-error/Makefile.in
++++ b/src/libprelude-error/Makefile.in
+@@ -1834,7 +1834,7 @@
+
+ errnos-sym.h: Makefile mkstrtable.awk errnos.in
+ LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
+- -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
++ -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
+ $(srcdir)/errnos.in >$@
+
+ prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in errnos.in prelude-error.h.in
+--+ a/src/libprelude-error/mkerrcodes.awk
++++ b/src/libprelude-error/mkerrcodes.awk
+@@ -78,7 +78,7 @@
+ }
+
+ !header {
+- sub (/\#.+/, "");
++ sub (/#.+/, "");
+ sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
+
+ if (/^$/)
+--+ a/src/libprelude-error/mkerrcodes1.awk
++++ b/src/libprelude-error/mkerrcodes1.awk
+@@ -78,7 +78,7 @@
+ }
+
+ !header {
+- sub (/\#.+/, "");
++ sub (/#.+/, "");
+ sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
+
+ if (/^$/)
+--+ a/src/libprelude-error/mkerrcodes2.awk
++++ b/src/libprelude-error/mkerrcodes2.awk
+@@ -91,7 +91,7 @@
+ }
+
+ !header {
+- sub (/\#.+/, "");
++ sub (/#.+/, "");
+ sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
+
+ if (/^$/)
+--+ a/src/libprelude-error/mkerrnos.awk
++++ b/src/libprelude-error/mkerrnos.awk
+@@ -80,7 +80,7 @@
+ }
+
+ !header {
+- sub (/\#.+/, "");
++ sub (/#.+/, "");
+ sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
+
+ if (/^$/)
+--+ a/src/libprelude-error/mkstrtable.awk
++++ b/src/libprelude-error/mkstrtable.awk
+@@ -77,7 +77,7 @@
+ #
+ # The variable prefix can be used to prepend a string to each message.
+ #
+-# The variable namespace can be used to prepend a string to each
++# The variable pkg_namespace can be used to prepend a string to each
+ # variable and macro name.
+
+ BEGIN {
+@@ -102,7 +102,7 @@
+ print "/* The purpose of this complex string table is to produce";
+ print " optimal code with a minimum of relocations. */";
+ print "";
+- print "static const char " namespace "msgstr[] = ";
++ print "static const char " pkg_namespace "msgstr[] = ";
+ header = 0;
+ }
+ else
+@@ -110,7 +110,7 @@
+ }
+
+ !header {
+- sub (/\#.+/, "");
++ sub (/#.+/, "");
+ sub (/[ ]+$/, ""); # Strip trailing space and tab characters.
+
+ if (/^$/)
+@@ -150,14 +150,14 @@
+ else
+ print " gettext_noop (\"" prefix last_msgstr "\");";
+ print "";
+- print "static const int " namespace "msgidx[] =";
++ print "static const int " pkg_namespace "msgidx[] =";
+ print " {";
+ for (i = 0; i < coded_msgs; i++)
+ print " " pos[i] ",";
+ print " " pos[coded_msgs];
+ print " };";
+ print "";
+- print "#define " namespace "msgidxof(code) (0 ? -1 \\";
++ print "#define " pkg_namespace "msgidxof(code) (0 ? -1 \\";
+
+ # Gather the ranges.
+ skip = code[0];
diff --git a/dev-libs/libprelude/files/libprelude-5.1.0-fix_gtkdoc_1.32.patch b/dev-libs/libprelude/files/libprelude-5.1.0-fix_gtkdoc_1.32.patch
new file mode 100644
index 000000000000..3495ebf62ccb
--- /dev/null
+++ b/dev-libs/libprelude/files/libprelude-5.1.0-fix_gtkdoc_1.32.patch
@@ -0,0 +1,13 @@
+--- a/docs/api/libprelude-docs.xml
++++ b/docs/api/libprelude-docs.xml
+@@ -51,10 +51,6 @@
+ <xi:include href="xml/idmef-value.xml"/>
+
+ </chapter>
+- <chapter id="object-tree">
+- <title>Object Hierarchy</title>
+- <xi:include href="xml/tree_index.sgml"/>
+- </chapter>
+ <index id="api-index-full">
+ <title>API Index</title>
+ <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
diff --git a/dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch b/dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch
new file mode 100644
index 000000000000..079a90125df3
--- /dev/null
+++ b/dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch
@@ -0,0 +1,11 @@
+--- a/bindings/python/_prelude.cxx
++++ b/bindings/python/_prelude.cxx
+@@ -3132,7 +3132,7 @@
+
+ SWIGINTERN void
+ SwigPyStaticVar_dealloc(PyDescrObject *descr) {
+- _PyObject_GC_UNTRACK(descr);
++ PyObject_GC_UnTrack(descr);
+ Py_XDECREF(PyDescr_TYPE(descr));
+ Py_XDECREF(PyDescr_NAME(descr));
+ PyObject_GC_Del(descr);