From e9632039c8824c7de53738aa3ccee07fb7d8787a Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 16 Dec 2020 23:34:18 +0300 Subject: [PATCH] devel rebuild --- system/devel/autoconf-archive/pspec.xml | 9 +- system/devel/autoconf/actions.py | 2 +- ...-autoconf-2.69-libtool-compatibility.patch | 27 +++++ .../files/autoconf-2.69-bash-5-LINENO.patch | 64 ++++++++++ .../files/autoconf-2.69-perl-5.28.patch | 24 ++++ system/devel/autoconf/pspec.xml | 12 +- system/devel/autogen/actions.py | 2 + system/devel/autogen/pspec.xml | 11 +- system/devel/automake/actions.py | 4 +- system/devel/automake/pspec.xml | 9 +- system/devel/catbox/pspec.xml | 7 ++ system/devel/cmake/pspec.xml | 17 ++- .../class-static-method-workaround.patch | 114 ++++++++++++++++++ system/devel/cython/pspec.xml | 12 +- system/devel/elfutils/actions.py | 7 +- system/devel/elfutils/pspec.xml | 2 +- system/devel/flex/files/flex-pie.patch | 39 ++++++ system/devel/flex/pspec.xml | 11 +- system/devel/glpk/pspec.xml | 9 +- system/devel/gobject-introspection/pspec.xml | 11 +- system/devel/guile/pspec.xml | 11 +- system/devel/intltool/pspec.xml | 9 +- system/devel/klibc/pspec.xml | 15 ++- system/devel/libarchive/pspec.xml | 4 +- system/devel/libatomic_ops/pspec.xml | 9 +- system/devel/libseccomp/pspec.xml | 7 ++ system/devel/libsigsegv/pspec.xml | 11 +- system/devel/libtool/pspec.xml | 9 +- system/devel/libuv/pspec.xml | 11 +- system/devel/meson/pspec.xml | 7 ++ system/devel/nasm/actions.py | 2 +- system/devel/nasm/pspec.xml | 11 +- system/devel/ninja/pspec.xml | 7 ++ system/devel/numactl/pspec.xml | 11 +- system/devel/pkgconfig/pspec.xml | 9 +- system/devel/re2c/actions.py | 2 +- system/devel/re2c/pspec.xml | 11 +- system/devel/rhash/pspec.xml | 11 +- system/devel/scons/pspec.xml | 9 +- system/devel/unifdef/pspec.xml | 9 +- system/devel/util-macros/pspec.xml | 9 +- system/devel/xcb-proto/pspec.xml | 15 ++- system/devel/xorg-proto/pspec.xml | 6 +- system/devel/xorg-util/pspec.xml | 9 +- system/devel/xtrans/pspec.xml | 13 +- system/devel/yacc/actions.py | 20 ++- system/devel/yacc/files/skeleton.c.diff | 6 +- system/devel/yacc/pspec.xml | 15 ++- system/devel/yasm/actions.py | 2 +- system/devel/yasm/pspec.xml | 9 +- 50 files changed, 595 insertions(+), 77 deletions(-) create mode 100644 system/devel/autoconf/files/0003-autoconf-2.69-libtool-compatibility.patch create mode 100644 system/devel/autoconf/files/autoconf-2.69-bash-5-LINENO.patch create mode 100644 system/devel/autoconf/files/autoconf-2.69-perl-5.28.patch create mode 100644 system/devel/cython/files/class-static-method-workaround.patch create mode 100644 system/devel/flex/files/flex-pie.patch diff --git a/system/devel/autoconf-archive/pspec.xml b/system/devel/autoconf-archive/pspec.xml index 3c43e301..a967620b 100644 --- a/system/devel/autoconf-archive/pspec.xml +++ b/system/devel/autoconf-archive/pspec.xml @@ -28,7 +28,14 @@ - + + 2020-12-09 + 2019.01.06 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-25 2019.01.06 Version bump diff --git a/system/devel/autoconf/actions.py b/system/devel/autoconf/actions.py index eecb5991..ec6fb182 100644 --- a/system/devel/autoconf/actions.py +++ b/system/devel/autoconf/actions.py @@ -23,7 +23,7 @@ def build(): # takes too long, do it by hand #def check(): -# autotools.make("check") + #autotools.make("check") def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/system/devel/autoconf/files/0003-autoconf-2.69-libtool-compatibility.patch b/system/devel/autoconf/files/0003-autoconf-2.69-libtool-compatibility.patch new file mode 100644 index 00000000..751dfa01 --- /dev/null +++ b/system/devel/autoconf/files/0003-autoconf-2.69-libtool-compatibility.patch @@ -0,0 +1,27 @@ +From 247b02e5a5bb79ca6666e91de02ae2d3cb0cd325 Mon Sep 17 00:00:00 2001 +From: Gary V. Vaughan +Date: Mon, 03 Nov 2014 06:25:03 +0000 +Subject: tests: avoid spurious test failure with libtool 2.4.3 + +Based on a report by Bruce Dubbs. + +* tests/foreign.at (Libtool): Be tolerant of 'quote' replacing the +older `quote'. + +Signed-off-by: Eric Blake +--- +diff --git a/tests/foreign.at b/tests/foreign.at +index a9dc33c..d4702cd 100644 +--- a/tests/foreign.at ++++ b/tests/foreign.at +@@ -57,7 +57,7 @@ AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore]) + # Make sure at-path contains something valid, and let the test suite + # display it when verbose. And fail, skipping would too easily hide + # problems. +-AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) ++AT_CHECK([sed -n ["s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) + AT_CHECK([test -f "`sed -n 1p stdout`"]) + + # Older libtoolize installed everything but install-sh... +-- +cgit v0.9.0.2 diff --git a/system/devel/autoconf/files/autoconf-2.69-bash-5-LINENO.patch b/system/devel/autoconf/files/autoconf-2.69-bash-5-LINENO.patch new file mode 100644 index 00000000..60e15292 --- /dev/null +++ b/system/devel/autoconf/files/autoconf-2.69-bash-5-LINENO.patch @@ -0,0 +1,64 @@ +From 4c1f7a361f4fd6180b7b46b950e3bfe389b5b831 Mon Sep 17 00:00:00 2001 +From: Ondrej Dubaj +Date: Wed, 28 Aug 2019 07:39:50 +0200 +Subject: [PATCH] Port tests to Bash 5 + +* tests/local.at (AT_CHECK_ENV, AT_CONFIG_CMP): +Add BASH_ARGC, BASH_ARGV to list of variables to be ignored when +comparing variable space dumps. +(AT_CONFIG_CMP): Also ignore LINENO. +* tests/m4sh.at: Also unset LINENO in 'reference' and 'test/test-1'. + +--- + tests/local.at | 5 ++++- + tests/m4sh.at | 4 ++-- + 2 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/tests/local.at b/tests/local.at +index 40b7318..f3ad2b5 100644 +--- a/tests/local.at ++++ b/tests/local.at +@@ -324,7 +324,7 @@ if test -f state-env.before && test -f state-env.after; then + [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC], + [GREP|[EF]GREP|SED], + [[_@]|.[*#?$].], +- [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \ ++ [argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \ + $act_file || + test $? -eq 1 || echo failed >&2 + ) 2>stderr-$act_file | +@@ -381,6 +381,9 @@ do + /'\'\\\$\''=/ d + /^argv=/ d + /^ARGC=/ d ++ /^BASH_ARGC=/ d ++ /^BASH_ARGV=/ d ++ /^LINENO=/ d + ' $act_file >at_config_vars-$act_file + done + AT_CMP([at_config_vars-$1], [at_config_vars-$2])[]dnl +diff --git a/tests/m4sh.at b/tests/m4sh.at +index 4e4da5d..80684ca 100644 +--- a/tests/m4sh.at ++++ b/tests/m4sh.at +@@ -254,7 +254,7 @@ AT_CHECK([autom4te -l m4sh $1.as -o $1]) + # `_oline_', once processed and ran, produces our reference. + # We check that we find ourselves by looking at a string which is + # available only in the original script: `_oline_'. +-AT_DATA_LINENO([reference], [false], [__OLINE__], [_oline__]) ++AT_DATA_LINENO([reference], [true], [__OLINE__], [_oline__]) + AT_CHECK([./reference], 0, [stdout]) + + # The reference: +@@ -264,7 +264,7 @@ mv stdout expout + # Be sure to be out of the PATH. + AT_CHECK([mkdir test || exit 77]) + +-AT_DATA_LINENO([test/test-1], [false], [__LINENO__], [LINENO]) ++AT_DATA_LINENO([test/test-1], [true], [__LINENO__], [LINENO]) + AT_CHECK([./test/test-1], 0, [expout]) + AT_CHECK([(PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-1)], + 0, [expout]) +-- +2.19.1 + diff --git a/system/devel/autoconf/files/autoconf-2.69-perl-5.28.patch b/system/devel/autoconf/files/autoconf-2.69-perl-5.28.patch new file mode 100644 index 00000000..a72dbe6e --- /dev/null +++ b/system/devel/autoconf/files/autoconf-2.69-perl-5.28.patch @@ -0,0 +1,24 @@ +diff --git a/tests/tools.at b/tests/tools.at +index 4993b3f5..28b96408 100644 +--- a/tests/tools.at ++++ b/tests/tools.at +@@ -155,8 +155,8 @@ do + file=" file $funny" + outfile="$file out " + dir=`func_sanitize_dir_name " dir $funny"` +- cachedir=" cache$dir" +- TMPDIR=" tmp$dir" ++ cachedir="./ cache$dir" ++ TMPDIR="./ tmp$dir" + export TMPDIR + + # skip if we cannot create such a file or directory +@@ -1361,7 +1361,7 @@ do + funny=`func_sanitize_file_name "$funny"` + file=" file $funny" + dir=`func_sanitize_dir_name " dir $funny"` +- TMPDIR=" tmp$dir" ++ TMPDIR="./ tmp$dir" + export TMPDIR + + # skip if we cannot create such a file or directory diff --git a/system/devel/autoconf/pspec.xml b/system/devel/autoconf/pspec.xml index 90fb3f6f..1bff93aa 100644 --- a/system/devel/autoconf/pspec.xml +++ b/system/devel/autoconf/pspec.xml @@ -20,6 +20,9 @@ autoconf-2.69-perl-5.22-autoscan.patch + autoconf-2.69-bash-5-LINENO.patch + autoconf-2.69-perl-5.28.patch + 0003-autoconf-2.69-libtool-compatibility.patch @@ -39,7 +42,14 @@ - + + 2020-12-09 + 2.69 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-11 2.69 Rebuild diff --git a/system/devel/autogen/actions.py b/system/devel/autogen/actions.py index 072b3660..ccfa8d9a 100644 --- a/system/devel/autogen/actions.py +++ b/system/devel/autogen/actions.py @@ -6,10 +6,12 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): + shelltools.system("sed -i 's/ -Werror / /' configure") #autotools.autoreconf("-vfi") autotools.configure("--prefix=/usr \ --disable-static") diff --git a/system/devel/autogen/pspec.xml b/system/devel/autogen/pspec.xml index e33b151b..27a2f5dc 100644 --- a/system/devel/autogen/pspec.xml +++ b/system/devel/autogen/pspec.xml @@ -12,7 +12,7 @@ app:console The automated text and program generation tool autogen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text. - https://ftp.gnu.org/gnu/autogen/rel5.18.12/autogen-5.18.12.tar.gz + https://ftp.gnu.org/gnu/autogen/rel5.18.16/autogen-5.18.16.tar.gz gc-devel gmp-devel @@ -21,7 +21,7 @@ which - allow-guile-2.2.diff + @@ -59,6 +59,13 @@ + + 2020-12-09 + 5.18.16 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-01-03 5.18.12 diff --git a/system/devel/automake/actions.py b/system/devel/automake/actions.py index b3b82ee5..580c2da8 100644 --- a/system/devel/automake/actions.py +++ b/system/devel/automake/actions.py @@ -6,11 +6,13 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get #ver = "1.14" def setup(): + shelltools.system("""sed -i "s/''/etags/" t/tags-lisp-space.sh""") #autotools.autoreconf("-fi") autotools.configure() @@ -18,7 +20,7 @@ def build(): autotools.make() #def check(): -# autotools.make("check") + #autotools.make("check") def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/system/devel/automake/pspec.xml b/system/devel/automake/pspec.xml index ab68a33f..07319761 100644 --- a/system/devel/automake/pspec.xml +++ b/system/devel/automake/pspec.xml @@ -12,7 +12,7 @@ app:console A tool for automatically generating Makefile.in files compliant with the GNU Coding Standards Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards. - mirrors://gnu/automake/automake-1.16.1.tar.xz + mirrors://gnu/automake/automake-1.16.2.tar.xz perl autoconf @@ -39,6 +39,13 @@ + + 2020-12-09 + 1.16.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2019-10-01 1.16.1 diff --git a/system/devel/catbox/pspec.xml b/system/devel/catbox/pspec.xml index 182cc662..7d8fe411 100644 --- a/system/devel/catbox/pspec.xml +++ b/system/devel/catbox/pspec.xml @@ -32,6 +32,13 @@ + + 2020-12-09 + 1.6.1 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + 2019-12-26 1.6.1 diff --git a/system/devel/cmake/pspec.xml b/system/devel/cmake/pspec.xml index 061c99c4..8672a366 100644 --- a/system/devel/cmake/pspec.xml +++ b/system/devel/cmake/pspec.xml @@ -12,7 +12,7 @@ app:console Cross-platform, open-source make system CMake, the cross-platform, open-source make system. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. - https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.tar.gz + https://github.com/Kitware/CMake/releases/download/v3.18.5/cmake-3.18.5.tar.gz curl-devel expat-devel @@ -23,7 +23,6 @@ zlib-devel xz-devel libuv-devel - glibc-devel @@ -38,7 +37,6 @@ ncurses zlib libuv - glibc /usr/bin @@ -53,10 +51,17 @@ - - 2020-11-15 - 3.18.4 + + 2020-12-09 + 3.18.5 Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-11-07 + 3.18.4 + Version bump Idris Kalp idriskalp@gmail.com diff --git a/system/devel/cython/files/class-static-method-workaround.patch b/system/devel/cython/files/class-static-method-workaround.patch new file mode 100644 index 00000000..b0a66b0f --- /dev/null +++ b/system/devel/cython/files/class-static-method-workaround.patch @@ -0,0 +1,114 @@ +diff -U3 -r cython-0.29.17.orig/Cython/Compiler/ExprNodes.py cython-0.29.17/Cython/Compiler/ExprNodes.py +--- cython-0.29.17.orig/Cython/Compiler/ExprNodes.py 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Compiler/ExprNodes.py 2020-05-15 17:44:55.157172257 +0200 +@@ -2295,8 +2295,10 @@ + setter = 'PyDict_SetItem' + namespace = Naming.moddict_cname + elif entry.is_pyclass_attr: +- code.globalstate.use_utility_code(UtilityCode.load_cached("SetNameInClass", "ObjectHandling.c")) +- setter = '__Pyx_SetNameInClass' ++ # Special-case setting __new__ ++ n = "SetNewInClass" if self.name == "__new__" else "SetNameInClass" ++ code.globalstate.use_utility_code(UtilityCode.load_cached(n, "ObjectHandling.c")) ++ setter = '__Pyx_' + n + else: + assert False, repr(entry) + code.put_error_if_neg( +diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/Compiler/Nodes.py +--- cython-0.29.17.orig/Cython/Compiler/Nodes.py 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Compiler/Nodes.py 2020-05-15 17:44:55.159172253 +0200 +@@ -2872,7 +2872,6 @@ + func = decorator.decorator + if func.is_name: + self.is_classmethod |= func.name == 'classmethod' +- self.is_staticmethod |= func.name == 'staticmethod' + + if self.is_classmethod and env.lookup_here('classmethod'): + # classmethod() was overridden - not much we can do here ... +diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c +--- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200 +@@ -1163,6 +1163,30 @@ + #define __Pyx_SetNameInClass(ns, name, value) PyObject_SetItem(ns, name, value) + #endif + ++/////////////// SetNewInClass.proto /////////////// ++ ++static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value); ++ ++/////////////// SetNewInClass /////////////// ++//@requires: SetNameInClass ++ ++// Special-case setting __new__: if it's a Cython function, wrap it in a ++// staticmethod. This is similar to what Python does for a Python function ++// called __new__. ++static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value) { ++#ifdef __Pyx_CyFunction_USED ++ int ret; ++ if (__Pyx_CyFunction_Check(value)) { ++ PyObject *staticnew = PyStaticMethod_New(value); ++ if (unlikely(!staticnew)) return -1; ++ ret = __Pyx_SetNameInClass(ns, name, staticnew); ++ Py_DECREF(staticnew); ++ return ret; ++ } ++#endif ++ return __Pyx_SetNameInClass(ns, name, value); ++} ++ + + /////////////// GetModuleGlobalName.proto /////////////// + //@requires: PyDictVersioning +Only in cython-0.29.17.orig: cython-0.29.17 +diff -U3 -r cython-0.29.17.orig/tests/run/cyfunction.pyx cython-0.29.17/tests/run/cyfunction.pyx +--- cython-0.29.17.orig/tests/run/cyfunction.pyx 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/tests/run/cyfunction.pyx 2020-05-15 17:44:55.160172251 +0200 +@@ -376,6 +376,18 @@ + def meth(self): pass + + ++class TestStaticmethod(object): ++ """ ++ >>> x = TestStaticmethod() ++ >>> x.staticmeth(42) ++ 42 ++ >>> x.staticmeth.__get__(42)() ++ 42 ++ """ ++ @staticmethod ++ def staticmeth(arg): return arg ++ ++ + cdef class TestOptimisedBuiltinMethod: + """ + >>> obj = TestOptimisedBuiltinMethod() +diff -U3 -r cython-0.29.17.orig/tests/run/fused_def.pyx cython-0.29.17/tests/run/fused_def.pyx +--- cython-0.29.17.orig/tests/run/fused_def.pyx 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/tests/run/fused_def.pyx 2020-05-15 18:03:39.436752174 +0200 +@@ -268,14 +268,6 @@ + def test_fused_def_super(): + """ + >>> test_fused_def_super() +- long 10 +- long 11 +- long 11 +- long 12 +- short 12 +- long 13 +- short 13 +- long 14 + long 14 + long 15 + long 15 +@@ -296,11 +288,6 @@ + obj = SubClass() + cls = SubClass + +- obj.mystaticmethod(obj, 10) +- cls.mystaticmethod(obj, 11) +- obj.mystaticmethod[cy.short](obj, 12) +- cls.mystaticmethod[cy.short](obj, 13) +- + obj.myclassmethod(14) + cls.myclassmethod(15) + obj.myclassmethod[cy.short](16) diff --git a/system/devel/cython/pspec.xml b/system/devel/cython/pspec.xml index 49d3a1f0..a81f5575 100644 --- a/system/devel/cython/pspec.xml +++ b/system/devel/cython/pspec.xml @@ -13,11 +13,14 @@ library C extensions for the Python Cython is a language that makes writing C extensions for the Python language as easy as Python itself. - https://files.pythonhosted.org/packages/9c/9b/706dac7338c2860cd063a28cdbf5e9670995eaea408abbf2e88ba070d90d/Cython-0.29.14.tar.gz + https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz python-devel bzip2 + + class-static-method-workaround.patch + @@ -34,6 +37,13 @@ + + 2020-12-09 + 0.29.21 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2019-12-26 0.29.14 diff --git a/system/devel/elfutils/actions.py b/system/devel/elfutils/actions.py index bb9b82be..588af02b 100644 --- a/system/devel/elfutils/actions.py +++ b/system/devel/elfutils/actions.py @@ -19,9 +19,9 @@ def setup(): if get.buildTYPE() == "emul32": shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig") - #options += "--disable-libdebuginfod \ - #--disable-debuginfod \ - #" + options += " --libdir=/usr/lib32 \ + --bindir=/usr/emul32 \ + " elif get.ARCH() == "x86_64": pisitools.flags.add("-fexceptions") @@ -50,6 +50,7 @@ def install(): pisitools.remove("/usr/lib32/libelf.a") pisitools.remove("/usr/lib32/libasm.a") pisitools.remove("/usr/lib32/libdw.a") + pisitools.removeDir("/usr/emul32") elif get.ARCH() == "x86_64": diff --git a/system/devel/elfutils/pspec.xml b/system/devel/elfutils/pspec.xml index ad64cf52..0d38aeb4 100644 --- a/system/devel/elfutils/pspec.xml +++ b/system/devel/elfutils/pspec.xml @@ -72,7 +72,7 @@ - 2020-10-21 + 2020-12-09 0.180 Version bump. Idris Kalp diff --git a/system/devel/flex/files/flex-pie.patch b/system/devel/flex/files/flex-pie.patch new file mode 100644 index 00000000..90956263 --- /dev/null +++ b/system/devel/flex/files/flex-pie.patch @@ -0,0 +1,39 @@ +This patch fixes a flex-2.6.4 build failure on x86_64 and possibly other +architectures where `size_t' is larger than `int'. The failure occurs as +follows: + +A missing `reallocarray' prototype during compilation means that the +compiler assumes an `int' return type. When compiling with `-pie' (standard +for Fedora), addresses on the heap can be larger than `int' can store. Thus, +pointers returned from `reallocarray' are truncated and any read/write to +them leads to a SIGSEGV. + +From 24fd0551333e7eded87b64dd36062da3df2f6380 Mon Sep 17 00:00:00 2001 +From: Explorer09 +Date: Mon, 4 Sep 2017 10:47:33 +0800 +Subject: [PATCH] build: AC_USE_SYSTEM_EXTENSIONS in configure.ac. + +This would, e.g. define _GNU_SOURCE in config.h, enabling the +reallocarray() prototype in glibc 2.26+ on Linux systems with that +version of glibc. + +Fixes #241. +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -25,8 +25,10 @@ + # autoconf requirements and initialization + + AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex]) ++AC_PREREQ([2.60]) + AC_CONFIG_SRCDIR([src/scan.l]) + AC_CONFIG_AUX_DIR([build-aux]) ++AC_USE_SYSTEM_EXTENSIONS + LT_INIT + AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects]) + AC_CONFIG_HEADER([src/config.h]) diff --git a/system/devel/flex/pspec.xml b/system/devel/flex/pspec.xml index 6b3b58ef..2b496f00 100644 --- a/system/devel/flex/pspec.xml +++ b/system/devel/flex/pspec.xml @@ -19,7 +19,7 @@ help2man - + flex-pie.patch @@ -37,7 +37,14 @@ - + + 2020-12-09 + 2.6.4 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-23 2.6.4 Rebuild. diff --git a/system/devel/glpk/pspec.xml b/system/devel/glpk/pspec.xml index 6c44caea..852bb8e0 100644 --- a/system/devel/glpk/pspec.xml +++ b/system/devel/glpk/pspec.xml @@ -42,7 +42,14 @@ - + + 2020-12-09 + 4.65 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-23 4.65 Version bump diff --git a/system/devel/gobject-introspection/pspec.xml b/system/devel/gobject-introspection/pspec.xml index 79600715..24ec74dd 100644 --- a/system/devel/gobject-introspection/pspec.xml +++ b/system/devel/gobject-introspection/pspec.xml @@ -14,7 +14,7 @@ app:console Introspection system for GObject-based libraries gobject-introspection can scan C header and source files in order to generate introspection typelib files. It also provides an API to examine typelib files, useful for creating language bindings among other things. - mirrors://gnome/gobject-introspection/1.66/gobject-introspection-1.66.0.tar.xz + mirrors://gnome/gobject-introspection/1.66/gobject-introspection-1.66.1.tar.xz meson @@ -65,8 +65,15 @@ + + 2020-12-09 + 1.66.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + - 2020-10-22 + 2020-11-07 1.66.0 Version bump. Idris Kalp diff --git a/system/devel/guile/pspec.xml b/system/devel/guile/pspec.xml index 284b9fa9..147160aa 100644 --- a/system/devel/guile/pspec.xml +++ b/system/devel/guile/pspec.xml @@ -14,7 +14,7 @@ library GNU Scheme interpreter and library GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. - mirrors://gnu/guile/guile-2.2.6.tar.xz + mirrors://gnu/guile/guile-2.2.7.tar.xz gc-devel gettext-devel @@ -69,7 +69,14 @@ - + + 2020-12-09 + 2.2.7 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-10-02 2.2.6 Version bump diff --git a/system/devel/intltool/pspec.xml b/system/devel/intltool/pspec.xml index 046e0108..2cbb3179 100644 --- a/system/devel/intltool/pspec.xml +++ b/system/devel/intltool/pspec.xml @@ -39,7 +39,14 @@ - + + 2020-12-09 + 0.51.0 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-25 0.51.0 Rebuild diff --git a/system/devel/klibc/pspec.xml b/system/devel/klibc/pspec.xml index 84c6c578..0a9dc0e2 100644 --- a/system/devel/klibc/pspec.xml +++ b/system/devel/klibc/pspec.xml @@ -1,9 +1,9 @@ - + klibc - http://www.zytor.com/mailman/listinfo/klibc + https://www.zytor.com/mailman/listinfo/klibc PisiLinux Community admins@pisilinux.org @@ -13,7 +13,7 @@ library A minimal libc subset for use with initramfs klibc, or "early userspace", is library part of an effort which tries to move as much initialization code in Linux as possible out of the kernel. - https://mirrors.edge.kernel.org/pub/linux/libs/klibc/2.0/klibc-2.0.7.tar.xz + https://mirrors.edge.kernel.org/pub/linux/libs/klibc/2.0/klibc-2.0.8.tar.xz perl @@ -43,7 +43,14 @@ - + + 2020-12-09 + 2.0.8 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 2.0.7 Version bump diff --git a/system/devel/libarchive/pspec.xml b/system/devel/libarchive/pspec.xml index bde518d3..93641ac6 100644 --- a/system/devel/libarchive/pspec.xml +++ b/system/devel/libarchive/pspec.xml @@ -62,10 +62,10 @@ /usr/share/man/man3 - + - 2020-10-22 + 2020-12-09 3.4.3 Idris Kalp Idris Kalp diff --git a/system/devel/libatomic_ops/pspec.xml b/system/devel/libatomic_ops/pspec.xml index 81ae6c50..b233f98f 100644 --- a/system/devel/libatomic_ops/pspec.xml +++ b/system/devel/libatomic_ops/pspec.xml @@ -38,7 +38,14 @@ - + + 2020-12-09 + 7.6.10 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-25 7.6.10 Version bump. diff --git a/system/devel/libseccomp/pspec.xml b/system/devel/libseccomp/pspec.xml index 7ba71a1f..ecda6526 100644 --- a/system/devel/libseccomp/pspec.xml +++ b/system/devel/libseccomp/pspec.xml @@ -40,6 +40,13 @@ + + 2020-12-09 + 2.4.2 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-05-12 2.4.2 diff --git a/system/devel/libsigsegv/pspec.xml b/system/devel/libsigsegv/pspec.xml index 05dad1f7..f0928a52 100644 --- a/system/devel/libsigsegv/pspec.xml +++ b/system/devel/libsigsegv/pspec.xml @@ -14,7 +14,7 @@ This is a library for handling page faults in user mode. A page fault occurs when a program tries to access to a region of memory that is currently not available. mirrors://gnu/libsigsegv/libsigsegv-2.12.tar.gz - readline-devel + @@ -31,7 +31,7 @@ Development files for libsigsegv libsigsegv - readline-devel + /usr/include @@ -39,6 +39,13 @@ + + 2020-12-09 + 2.12 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2019-12-11 2.12 diff --git a/system/devel/libtool/pspec.xml b/system/devel/libtool/pspec.xml index 39d3aca8..7ce2e7d3 100644 --- a/system/devel/libtool/pspec.xml +++ b/system/devel/libtool/pspec.xml @@ -61,7 +61,14 @@ - + + 2020-12-09 + 2.4.6 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-25 2.4.6 Rebuild. diff --git a/system/devel/libuv/pspec.xml b/system/devel/libuv/pspec.xml index 2f075820..8c415445 100644 --- a/system/devel/libuv/pspec.xml +++ b/system/devel/libuv/pspec.xml @@ -12,7 +12,7 @@ library Multi-platform support library with a focus on asynchronous I/O libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, pyuv, and others. - https://github.com/libuv/libuv/archive/v1.34.0.tar.gz + https://github.com/libuv/libuv/archive/v1.40.0.tar.gz python-sphinx @@ -39,7 +39,14 @@ - + + 2020-12-09 + 1.40.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 1.34.0 Version bump diff --git a/system/devel/meson/pspec.xml b/system/devel/meson/pspec.xml index c63f5255..accd0804 100755 --- a/system/devel/meson/pspec.xml +++ b/system/devel/meson/pspec.xml @@ -38,6 +38,13 @@ + + 2020-12-09 + 0.55.3 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-09-17 0.55.3 diff --git a/system/devel/nasm/actions.py b/system/devel/nasm/actions.py index da1198aa..8832d96e 100644 --- a/system/devel/nasm/actions.py +++ b/system/devel/nasm/actions.py @@ -28,4 +28,4 @@ def install(): pisitools.dosym("rdf2bin", "/usr/bin/rdf2com") pisitools.doman("nasm.1", "ndisasm.1") - pisitools.dodoc("AUTHORS", "CHANGES", "ChangeLog", "README", "TODO", "doc/nasmdoc.*") + pisitools.dodoc("AUTHORS", "CHANGES", "ChangeLog", "README*", "doc/nasmdoc.*") diff --git a/system/devel/nasm/pspec.xml b/system/devel/nasm/pspec.xml index f847c33d..0de01064 100644 --- a/system/devel/nasm/pspec.xml +++ b/system/devel/nasm/pspec.xml @@ -12,7 +12,7 @@ app:console Groovy little assembler NASM is the Netwide Assembler, a free portable assembler for the Intel 80x86 microprocessor series. - http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.xz + http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz texinfo @@ -28,7 +28,14 @@ - + + 2020-12-09 + 2.15.05 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 2.14.02 Rebuild diff --git a/system/devel/ninja/pspec.xml b/system/devel/ninja/pspec.xml index c04fcfd0..422d1983 100755 --- a/system/devel/ninja/pspec.xml +++ b/system/devel/ninja/pspec.xml @@ -37,6 +37,13 @@ + + 2020-12-09 + 1.10.1 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-09-21 1.10.1 diff --git a/system/devel/numactl/pspec.xml b/system/devel/numactl/pspec.xml index 0241338b..7ee472cb 100644 --- a/system/devel/numactl/pspec.xml +++ b/system/devel/numactl/pspec.xml @@ -40,10 +40,17 @@ - + + 2020-12-09 + 2.0.13 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 2.0.13 - Version bump + Version bump Idris Kalp idriskalp@gmail.com diff --git a/system/devel/pkgconfig/pspec.xml b/system/devel/pkgconfig/pspec.xml index 993b806b..933fadc6 100644 --- a/system/devel/pkgconfig/pspec.xml +++ b/system/devel/pkgconfig/pspec.xml @@ -35,7 +35,14 @@ - + + 2020-12-09 + 0.29.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 0.29.2 Rebuild glib2 diff --git a/system/devel/re2c/actions.py b/system/devel/re2c/actions.py index bd802f57..2a387ce0 100644 --- a/system/devel/re2c/actions.py +++ b/system/devel/re2c/actions.py @@ -8,7 +8,7 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import autotools def setup(): - autotools.rawConfigure() + autotools.rawConfigure("--disable-silent-rules") def build(): autotools.make() diff --git a/system/devel/re2c/pspec.xml b/system/devel/re2c/pspec.xml index 1483057d..8c17b772 100644 --- a/system/devel/re2c/pspec.xml +++ b/system/devel/re2c/pspec.xml @@ -13,7 +13,7 @@ Libry A tool for generating C-based recognizers from regular expressions ACM Letters on Programming Languages and Systems (LOPLAS) - https://github.com/skvadrik/re2c/releases/download/1.3/re2c-1.3.tar.xz + https://github.com/skvadrik/re2c/releases/download/2.0.3/re2c-2.0.3.tar.xz gcc @@ -33,7 +33,14 @@ - + + 2020-12-09 + 2.0.3 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-25 1.3 Version bump diff --git a/system/devel/rhash/pspec.xml b/system/devel/rhash/pspec.xml index 1e74e0db..f7b623e7 100755 --- a/system/devel/rhash/pspec.xml +++ b/system/devel/rhash/pspec.xml @@ -12,7 +12,7 @@ library Hash sums are used to ensure and verify integrity of large volumes of data for a long-term storing or transferring. RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94,RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru. - https://github.com/rhash/RHash/archive/v1.3.9.tar.gz + https://github.com/rhash/RHash/archive/v1.4.0.tar.gz glibc openssl-devel @@ -46,7 +46,14 @@ - + + 2020-12-09 + 1.4.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 1.3.9 Version bump diff --git a/system/devel/scons/pspec.xml b/system/devel/scons/pspec.xml index 708266fe..037eda76 100755 --- a/system/devel/scons/pspec.xml +++ b/system/devel/scons/pspec.xml @@ -36,7 +36,14 @@ - + + 2020-12-09 + 3.1.2 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 3.1.2 Version bump diff --git a/system/devel/unifdef/pspec.xml b/system/devel/unifdef/pspec.xml index 7258bce4..c937fcf8 100644 --- a/system/devel/unifdef/pspec.xml +++ b/system/devel/unifdef/pspec.xml @@ -25,7 +25,14 @@ - + + 2020-12-09 + 2.11.23 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 2.11.23 Version bump diff --git a/system/devel/util-macros/pspec.xml b/system/devel/util-macros/pspec.xml index 1e127571..77fa96bd 100644 --- a/system/devel/util-macros/pspec.xml +++ b/system/devel/util-macros/pspec.xml @@ -28,7 +28,14 @@ - + + 2020-12-09 + 1.19.2 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-23 1.19.2 Rebuild diff --git a/system/devel/xcb-proto/pspec.xml b/system/devel/xcb-proto/pspec.xml index 735ca8d3..009fc9b7 100644 --- a/system/devel/xcb-proto/pspec.xml +++ b/system/devel/xcb-proto/pspec.xml @@ -1,9 +1,9 @@ - + xcb-proto - http://xcb.freedesktop.org/ + https://xcb.freedesktop.org/ PisiLinux Community admins@pisilinux.org @@ -12,7 +12,7 @@ data XCB protocol descriptions XCB is a project to enable efficient language bindings to the X11 protocol. This package contains the protocol descriptions themselves. Language bindings use these protocol descriptions to generate code for marshalling the protocol. - https://xcb.freedesktop.org/dist/xcb-proto-1.14.tar.xz + https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-1.14.1.tar.xz libxml2 @@ -29,6 +29,13 @@ + + 2020-12-09 + 1.14.1 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2020-05-29 1.14 @@ -36,7 +43,7 @@ Mustafa Cinasal muscnsl@gmail.com - + 2019-12-26 1.13 Rebuild diff --git a/system/devel/xorg-proto/pspec.xml b/system/devel/xorg-proto/pspec.xml index 361fdc6c..699bdb24 100644 --- a/system/devel/xorg-proto/pspec.xml +++ b/system/devel/xorg-proto/pspec.xml @@ -1,9 +1,9 @@ - + xorg-proto - http://x.org/ + https://x.org/ PisiLinux Community admins@pisilinux.org @@ -39,7 +39,7 @@ - 2020-10-23 + 2020-12-09 2020.1 Version bump. Mustafa Cinasal diff --git a/system/devel/xorg-util/pspec.xml b/system/devel/xorg-util/pspec.xml index 9416d5f7..3cd8b681 100644 --- a/system/devel/xorg-util/pspec.xml +++ b/system/devel/xorg-util/pspec.xml @@ -36,7 +36,14 @@ - + + 2020-12-09 + 7.6 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-23 7.6 Version bump diff --git a/system/devel/xtrans/pspec.xml b/system/devel/xtrans/pspec.xml index 867f0a6e..7daae81a 100644 --- a/system/devel/xtrans/pspec.xml +++ b/system/devel/xtrans/pspec.xml @@ -1,9 +1,9 @@ - + xtrans - http://www.x.org/ + https://www.x.org/ PisiLinux Community admins@pisilinux.org @@ -32,7 +32,14 @@ - + + 2020-12-09 + 1.4.0 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 1.4.0 Version bump diff --git a/system/devel/yacc/actions.py b/system/devel/yacc/actions.py index 6bead760..2f0dcf67 100644 --- a/system/devel/yacc/actions.py +++ b/system/devel/yacc/actions.py @@ -6,17 +6,27 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - pisitools.dosed("Makefile", " -O ", " $(CFLAGS) ") + #pisitools.dosed("makefile", " -O ", " $(CFLAGS) ") + #shelltools.system("find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'") + autotools.configure("--disable-dependency-tracking") def build(): - autotools.make("clean") - autotools.make('-j1 CC="%s" CFLAGS="%s"' % (get.CC(), get.CFLAGS())) + autotools.make() + #autotools.make('-j1 CC="%s" CFLAGS="%s"' % (get.CC(), get.CFLAGS())) + +#def check(): + #autotools.make("check") def install(): - pisitools.dobin("yacc") + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + #pisitools.dobin("yacc") + + pisitools.dosym("/usr/bin/yacc", "/usr/bin/byacc") + pisitools.dosym("/usr/share/man/man1/yacc.1", "/usr/share/man/man1/byacc.1") - pisitools.doman("yacc.1") + #pisitools.doman("yacc.1") pisitools.dodoc("ACKNOWLEDGEMENTS", "NEW_FEATURES", "NOTES", "README*") diff --git a/system/devel/yacc/files/skeleton.c.diff b/system/devel/yacc/files/skeleton.c.diff index 87005521..178c49a0 100644 --- a/system/devel/yacc/files/skeleton.c.diff +++ b/system/devel/yacc/files/skeleton.c.diff @@ -1,6 +1,6 @@ -diff -Naur yacc-1.9.1-orig/skeleton.c yacc-1.9.1/skeleton.c ---- yacc-1.9.1-orig/skeleton.c 2008-07-17 20:01:30.000000000 +0300 -+++ yacc-1.9.1/skeleton.c 2008-07-17 20:02:55.000000000 +0300 +diff -Naur yacc-1.9.1-orig/yaccpar.c yacc-1.9.1/yaccpar.c +--- yacc-1.9.1-orig/yaccpar.c 2008-07-17 20:01:30.000000000 +0300 ++++ yacc-1.9.1/yaccpar.c 2008-07-17 20:02:55.000000000 +0300 @@ -18,6 +18,7 @@ "/*static char yysccsid[] = \"from: @(#)yaccpar 1.9 (Berkeley) 02/21/93\";*/", "static char yyrcsid[] = \"$Id: skeleton.c,v 1.2 1997/06/23 02:51:17 tdukes Exp $\";", diff --git a/system/devel/yacc/pspec.xml b/system/devel/yacc/pspec.xml index ee5695e7..6195c200 100644 --- a/system/devel/yacc/pspec.xml +++ b/system/devel/yacc/pspec.xml @@ -12,11 +12,11 @@ app:console Yacc: Yet Another Compiler-Compiler Yacc provides a general tool for describing the input to a computer program. The Yacc user specifies the structures of his input, together with code to be invoked as each such structure is recognized. Yacc turns such a specification into a subroutine that handles the input process - https://sourceforge.net/projects/pisilinux/files/source/yacc-1.9.1.tar.xz + ftp://ftp.invisible-island.net/byacc/byacc-20200910.tgz - mkstemp.patch - skeleton.c.diff - yacc-1.9.1-ia64.patch + + + @@ -30,6 +30,13 @@ + + 2020-12-09 + 2.0.20200910 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2019-12-26 1.9.1 diff --git a/system/devel/yasm/actions.py b/system/devel/yasm/actions.py index 963af104..46fe2f46 100644 --- a/system/devel/yasm/actions.py +++ b/system/devel/yasm/actions.py @@ -27,7 +27,7 @@ def build(): # FIXME: python tests fail, others fail in 64bit, gentoo says tests are wrong def check(): - autotools.make("check") + autotools.make("-j1 check") def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/system/devel/yasm/pspec.xml b/system/devel/yasm/pspec.xml index 4534aa79..729faf0c 100644 --- a/system/devel/yasm/pspec.xml +++ b/system/devel/yasm/pspec.xml @@ -51,7 +51,14 @@ - + + 2020-12-09 + 1.3.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + 2019-12-26 1.3.0 Rebuild