Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / cgdb
Commits: ef72d9f6 by Christian Heusel at 2024-07-01T10:08:23+02:00 upgpkg: 0.8.0-2: rebuild to create .SRCINFO and apply new flags - - - - - 3 changed files: - + .SRCINFO - PKGBUILD - + cgdb-0_8_0-2-fix-readline-version-detection.patch Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,17 @@ +pkgbase = cgdb + pkgdesc = Curses-based interface to the GNU Debugger + pkgver = 0.8.0 + pkgrel = 2 + url = http://cgdb.github.io/ + arch = x86_64 + license = GPL-2.0-or-later + makedepends = help2man + depends = readline>=5.1 + depends = ncurses + depends = gdb + source = 0.8.0-cgdb.tar.gz::https://github.com/cgdb/cgdb/archive/v0.8.0.tar.gz + source = cgdb-0_8_0-2-fix-readline-version-detection.patch + sha512sums = e2b653db472de2014402dae6d13953ab811526a47ad5d7a05e34cfba09f44d6fea6b19304b9205ff0e2ac9549ffa5818f4282d7c03293b6c0ca9d563f9ae89e1 + sha512sums = 15c367fa32af5b728edd4f31d4856c67e243dddc3775bb5970e74f3e6c887e6e220f50ba5ae35a748b6550150b6eedf6608d8406b6b5939e3f22a0e0ff6c5ed1 + +pkgname = cgdb ===================================== PKGBUILD ===================================== @@ -1,17 +1,28 @@ # Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> +# Maintainer: Christian Heusel <gro...@archlinux.org> # Contributor: Marek Kubica <ma...@xivilization.net> # Contributor: Javier ‘Phrodo_00’ Aravena <phrodo...@gmail.com> + pkgname=cgdb pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Curses-based interface to the GNU Debugger" arch=('x86_64') url="http://cgdb.github.io/" -license=('GPL') +license=('GPL-2.0-or-later') depends=('readline>=5.1' 'ncurses' 'gdb') makedepends=('help2man') -source=("$pkgver-$pkgname.tar.gz::https://github.com/cgdb/cgdb/archive/v${pkgver}.tar.gz") -sha512sums=('e2b653db472de2014402dae6d13953ab811526a47ad5d7a05e34cfba09f44d6fea6b19304b9205ff0e2ac9549ffa5818f4282d7c03293b6c0ca9d563f9ae89e1') +source=( + "$pkgver-$pkgname.tar.gz::https://github.com/cgdb/cgdb/archive/v${pkgver}.tar.gz" + "cgdb-0_8_0-2-fix-readline-version-detection.patch" +) +sha512sums=('e2b653db472de2014402dae6d13953ab811526a47ad5d7a05e34cfba09f44d6fea6b19304b9205ff0e2ac9549ffa5818f4282d7c03293b6c0ca9d563f9ae89e1' + '15c367fa32af5b728edd4f31d4856c67e243dddc3775bb5970e74f3e6c887e6e220f50ba5ae35a748b6550150b6eedf6608d8406b6b5939e3f22a0e0ff6c5ed1') + +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 --input="${srcdir}/cgdb-0_8_0-2-fix-readline-version-detection.patch" +} build() { cd ${pkgname}-${pkgver} ===================================== cgdb-0_8_0-2-fix-readline-version-detection.patch ===================================== @@ -0,0 +1,26 @@ +From 039dba0ec3ae2c4b2636418652a5c63f9ff86049 Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fwei...@redhat.com> +Date: Wed, 8 Mar 2023 11:29:06 +0100 +Subject: [PATCH] configure: Avoid implicit int in readline check + +Future compilers will not accept implicit ints by default, altering +the outcome of the check without this change. + +Signed-off-by: Florian Weimer <fwei...@redhat.com> +--- + config/readline_check_version.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/readline_check_version.m4 b/config/readline_check_version.m4 +index 01e61c281..7330e9851 100644 +--- a/config/readline_check_version.m4 ++++ b/config/readline_check_version.m4 +@@ -86,7 +86,7 @@ AC_CACHE_VAL(ac_cv_rl_version, + #include <stdlib.h> + #include <readline/readline.h> + +-main() ++int main(void) + { + FILE *fp; + fp = fopen("conftest.rlv", "w"); View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cgdb/-/commit/ef72d9f6e4a1e2af2b297a83ce1da32967485c37 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cgdb/-/commit/ef72d9f6e4a1e2af2b297a83ce1da32967485c37 You're receiving this email because of your account on gitlab.archlinux.org.