@@ -2,7 +2,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
@@ -10,17 +10,14 @@ from pisi.actionsapi import pisitools
|
|||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
|
#shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
|
||||||
|
|
||||||
shelltools.makedirs("build")
|
shelltools.makedirs("build")
|
||||||
shelltools.cd("build")
|
shelltools.cd("build")
|
||||||
shelltools.system("../configure \
|
shelltools.system("../configure \
|
||||||
--enable-tui \
|
--enable-tui \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--with-python \
|
|
||||||
--disable-rpath \
|
|
||||||
--with-guile=guile-2.0 \
|
|
||||||
--with-system-readline \
|
--with-system-readline \
|
||||||
--enable-source-highlight \
|
--enable-source-highlight \
|
||||||
--with-python=/usr/bin/python \
|
--with-python=/usr/bin/python \
|
||||||
@@ -28,7 +25,6 @@ def setup():
|
|||||||
--with-system-gdbinit=/etc/gdb/gdbinit \
|
--with-system-gdbinit=/etc/gdb/gdbinit \
|
||||||
--with-separate-debug-dir=/usr/lib/debug")
|
--with-separate-debug-dir=/usr/lib/debug")
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("build")
|
shelltools.cd("build")
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
commit 1add37b567a7dee39d99f37b37802034c3fce9c4
|
||||||
|
Author: Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
Date: Sun Mar 20 14:01:54 2022 +0100
|
||||||
|
|
||||||
|
Add support for readline 8.2
|
||||||
|
|
||||||
|
In readline 8.2 the type of rl_completer_word_break_characters changed to
|
||||||
|
include const.
|
||||||
|
|
||||||
|
diff --git a/gdb/completer.c b/gdb/completer.c
|
||||||
|
index d3900ae2014..a51c16ac7f8 100644
|
||||||
|
--- a/gdb/completer.c
|
||||||
|
+++ b/gdb/completer.c
|
||||||
|
@@ -36,7 +36,7 @@
|
||||||
|
calling a hook instead so we eliminate the CLI dependency. */
|
||||||
|
#include "gdbcmd.h"
|
||||||
|
|
||||||
|
-/* Needed for rl_completer_word_break_characters() and for
|
||||||
|
+/* Needed for rl_completer_word_break_characters and for
|
||||||
|
rl_filename_completion_function. */
|
||||||
|
#include "readline/readline.h"
|
||||||
|
|
||||||
|
@@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw ()
|
||||||
|
rl_basic_quote_characters = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- return rl_completer_word_break_characters;
|
||||||
|
+ return (char *) rl_completer_word_break_characters;
|
||||||
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>gdb</Name>
|
<Name>gdb</Name>
|
||||||
<Homepage>http://www.gnu.org/software/gdb/</Homepage>
|
<Homepage>https://www.sourceware.org/gdb/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -19,15 +19,16 @@
|
|||||||
<Dependency>xz-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
<Dependency>mpfr-devel</Dependency>
|
<Dependency>mpfr-devel</Dependency>
|
||||||
<Dependency>expat-devel</Dependency>
|
<Dependency>expat-devel</Dependency>
|
||||||
|
<Dependency>guile-devel</Dependency>
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
<Dependency>xxhash-devel</Dependency>
|
<Dependency>xxhash-devel</Dependency>
|
||||||
<Dependency>ncurses-devel</Dependency>
|
<Dependency>ncurses-devel</Dependency>
|
||||||
<Dependency>guile2.0-devel</Dependency>
|
|
||||||
<Dependency>readline-devel</Dependency>
|
<Dependency>readline-devel</Dependency>
|
||||||
<Dependency>source-highlight-devel</Dependency>
|
<Dependency>source-highlight-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch level="1">0001-AArch64-Make-gdbserver-register-set-selection-dynami.patch</Patch> -->
|
<!-- <Patch level="1">0001-AArch64-Make-gdbserver-register-set-selection-dynami.patch</Patch> -->
|
||||||
|
<Patch level="1">arch/readline8.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -38,11 +39,11 @@
|
|||||||
<Dependency>xz</Dependency>
|
<Dependency>xz</Dependency>
|
||||||
<Dependency>mpfr</Dependency>
|
<Dependency>mpfr</Dependency>
|
||||||
<Dependency>expat</Dependency>
|
<Dependency>expat</Dependency>
|
||||||
|
<Dependency>guile</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>xxhash</Dependency>
|
<Dependency>xxhash</Dependency>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
<Dependency>ncurses</Dependency>
|
<Dependency>ncurses</Dependency>
|
||||||
<Dependency>guile2.0</Dependency>
|
|
||||||
<Dependency>readline</Dependency>
|
<Dependency>readline</Dependency>
|
||||||
<Dependency>source-highlight</Dependency>
|
<Dependency>source-highlight</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
@@ -68,6 +69,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="12">
|
||||||
|
<Date>2023-02-05</Date>
|
||||||
|
<Version>12.1</Version>
|
||||||
|
<Comment>Rebuild guile.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
<Update release="11">
|
<Update release="11">
|
||||||
<Date>2023-01-28</Date>
|
<Date>2023-01-28</Date>
|
||||||
<Version>12.1</Version>
|
<Version>12.1</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user