diff options
Diffstat (limited to 'dev-libs/libprelude/files')
-rw-r--r-- | dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch | 112 | ||||
-rw-r--r-- | dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch | 11 |
2 files changed, 0 insertions, 123 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 deleted file mode 100644 index c3dca1b93d1c..000000000000 --- a/dev-libs/libprelude/files/libprelude-5.1.0-fix_awk_error.patch +++ /dev/null @@ -1,112 +0,0 @@ ---+ 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_py38.patch b/dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch deleted file mode 100644 index 079a90125df3..000000000000 --- a/dev-libs/libprelude/files/libprelude-5.1.0-fix_py38.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); |