Control: tags 1066440 + patch
Dear maintainer, I've prepared an NMU for librep (versioned as 0.92.5-3.2). The diff is attached to this message. Cheers -- Sebastian Ramacher
diff -Nru librep-0.92.5/debian/changelog librep-0.92.5/debian/changelog --- librep-0.92.5/debian/changelog 2022-06-14 14:08:21.000000000 +0200 +++ librep-0.92.5/debian/changelog 2024-04-17 22:48:53.000000000 +0200 @@ -1,3 +1,12 @@ +librep (0.92.5-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches: Fix build with -Werror=implict-function-declaration + (Closes: #1066440) + * debian/control: Drop -dbg package in favor of -dbgsym packages + + -- Sebastian Ramacher <sramac...@debian.org> Wed, 17 Apr 2024 22:48:53 +0200 + librep (0.92.5-3.1) unstable; urgency=medium * Non maintainer upload by the Reproducible Builds team. diff -Nru librep-0.92.5/debian/control librep-0.92.5/debian/control --- librep-0.92.5/debian/control 2016-03-19 18:39:50.000000000 +0100 +++ librep-0.92.5/debian/control 2024-04-17 22:48:16.000000000 +0200 @@ -74,26 +74,6 @@ This package contains the files needed to embed the rep interpreter in an application. -Package: librep-dbg -Section: debug -Priority: extra -Architecture: any -Multi-Arch: same -Depends: librep16 (>= ${source:Version}), - ${misc:Depends}, - ${shlibs:Depends} -Recommends: rep (>= ${source:Version}) -Suggests: libncurses5-dbg, - libreadline5-dbg, - librep-dev, - rep-doc -Description: debug symbols for librep - rep is a dialect of Lisp, designed to be used both as an extension - language for applications and as a general purpose programming language. - . - This package contains the debug symbols for the interpreter and the embedded - library. They are only required for debugging. - Package: rep-doc Section: doc Architecture: all diff -Nru librep-0.92.5/debian/patches/build-fix-Wimplicit-int-Wimplicit-function-declaration.patch librep-0.92.5/debian/patches/build-fix-Wimplicit-int-Wimplicit-function-declaration.patch --- librep-0.92.5/debian/patches/build-fix-Wimplicit-int-Wimplicit-function-declaration.patch 1970-01-01 01:00:00.000000000 +0100 +++ librep-0.92.5/debian/patches/build-fix-Wimplicit-int-Wimplicit-function-declaration.patch 2024-04-17 22:43:40.000000000 +0200 @@ -0,0 +1,62 @@ +From: Sam James <s...@gentoo.org> +Date: Sat, 5 Nov 2022 06:04:27 +0000 +Subject: build: fix -Wimplicit-int, -Wimplicit-function-declaration + +Clang 16 will make -Wimplicit-int and -Wimplicit-function-declaration +errors by default. + +In this case, it manifests as: +``` +checking for data type to store Lisp values... configure: error: cannot find Lisp value type; set --with-value-type (see README) +``` + +For more information, see LWN.net [0] or LLVM's Discourse [1], or the +(new) c-std-porting mailing list [2]. + +[0] https://lwn.net/Articles/913505/ +[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 +[2] hosted at lists.linux.dev. + +Signed-off-by: Sam James <s...@gentoo.org> +Bug-Ubuntu: https://launchpad.net/bugs/2060791 +Origin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a935681a6fcabf47524c72420050b6a9030f555d +--- + configure.in | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +diff --git a/configure.in b/configure.in +index 1d959f4..4448c45 100644 +--- a/configure.in ++++ b/configure.in +@@ -432,15 +432,18 @@ AC_ARG_WITH(value-type, + as a pointer. [TYPE=<probed>] (see README)], [], + [with_value_type="undef"]) + if test "${with_value_type}" = "undef"; then +- AC_TRY_RUN([main () { exit (!(sizeof (int) >= sizeof (void *)));}], ++ AC_TRY_RUN([#include <stdlib.h> ++ int main () { exit (!(sizeof (int) >= sizeof (void *)));}], + [with_value_type=int]) + fi + if test "${with_value_type}" = "undef"; then +- AC_TRY_RUN([main () { exit (!(sizeof (long int) >= sizeof (void *)));}], ++ AC_TRY_RUN([#include <stdlib.h> ++ int main () { exit (!(sizeof (long int) >= sizeof (void *)));}], + [with_value_type="long int"]) + fi + if test "${with_value_type}" = "undef"; then +- AC_TRY_RUN([main () { exit (!(sizeof (long long int) >= sizeof (void *)));}], ++ AC_TRY_RUN([#include <stdlib.h> ++ int main () { exit (!(sizeof (long long int) >= sizeof (void *)));}], + [with_value_type="long long int"]) + fi + if test "${with_value_type}" = "undef"; then +@@ -457,7 +460,8 @@ AC_ARG_WITH(value-sizeof, + if test "${with_value_sizeof}" = "undef"; then + dnl the following fragment is inspired by AC_CHECK_SIZEOF + AC_TRY_RUN([#include <stdio.h> +- main () { ++ #include <stdlib.h> ++ int main () { + FILE *f = fopen ("conftestval", "w"); + if (!f) exit (1); + fprintf (f, "%d\n", sizeof (${with_value_type})); diff -Nru librep-0.92.5/debian/patches/series librep-0.92.5/debian/patches/series --- librep-0.92.5/debian/patches/series 2016-03-20 16:40:28.000000000 +0100 +++ librep-0.92.5/debian/patches/series 2024-04-17 22:43:40.000000000 +0200 @@ -1,3 +1,4 @@ 0001-Fix-inline_Fcons-for-compiling-with-gcc-5.0.patch 0002-guess-stack-direction 0003-hppa-metag-stack-direction +build-fix-Wimplicit-int-Wimplicit-function-declaration.patch diff -Nru librep-0.92.5/debian/rules librep-0.92.5/debian/rules --- librep-0.92.5/debian/rules 2016-01-09 18:28:41.000000000 +0100 +++ librep-0.92.5/debian/rules 2024-04-17 22:48:50.000000000 +0200 @@ -36,9 +36,6 @@ find $(dev_extras) | $(dh_install_auto) -plibrep-dev find $(rep_extras) | $(dh_install_auto) -prep -override_dh_strip: - dh_strip -a --dbg-package=librep-dbg - override_dh_makeshlibs: dh_makeshlibs -Xusr/lib/$(DEB_HOST_MULTIARCH)/rep/