I am uploading a NMU to DELAYED/10 in order to fix this.
The debdiff is attached.
diff -Nru yacas-1.3.6/debian/changelog yacas-1.3.6/debian/changelog
--- yacas-1.3.6/debian/changelog        2021-01-03 16:29:21.000000000 +0100
+++ yacas-1.3.6/debian/changelog        2023-09-29 17:12:48.000000000 +0200
@@ -1,3 +1,12 @@
+yacas (1.3.6-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop outdated README.source. (Closes: #1053222)
+  * Drop unnecessary build dependency FLTK. (Closes: #974631)
+  * Partly fix cross build. (Closes: #924416)
+
+ -- Bastian Germann <b...@debian.org>  Fri, 29 Sep 2023 17:12:48 +0200
+
 yacas (1.3.6-2.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru yacas-1.3.6/debian/control yacas-1.3.6/debian/control
--- yacas-1.3.6/debian/control  2015-12-26 15:54:07.000000000 +0100
+++ yacas-1.3.6/debian/control  2023-09-29 17:12:48.000000000 +0200
@@ -3,8 +3,7 @@
 Priority: extra
 Maintainer: Muammar El Khatib <muam...@debian.org>
 Standards-Version: 3.9.6
-Build-Depends: libfltk1.1-dev,
-               debhelper (>=9),
+Build-Depends: debhelper (>=9),
                docbook-to-man,
                libgsl-dev,
                automake,
diff -Nru yacas-1.3.6/debian/patches/03_cross.patch 
yacas-1.3.6/debian/patches/03_cross.patch
--- yacas-1.3.6/debian/patches/03_cross.patch   1970-01-01 01:00:00.000000000 
+0100
+++ yacas-1.3.6/debian/patches/03_cross.patch   2023-09-29 17:12:48.000000000 
+0200
@@ -0,0 +1,32 @@
+--- yacas-1.3.6.orig/configure.ac
++++ yacas-1.3.6/configure.ac
+@@ -15,6 +15,8 @@
+ AC_PROG_CC
+ AC_PROG_CPP
+ AC_PROG_CXX
++m4_defun([_LT_LANG_CXX_FOR_BUILD_CONFIG],[])dnl make LT_LANG happy
++AX_PROG_CXX_FOR_BUILD
+ 
+ AC_CHECK_PROG(have_perl, perl, yes, no)
+ AC_CHECK_PROG(have_pdflatex, pdflatex, yes, no)
+--- yacas-1.3.6.orig/manmake/Makefile.am
++++ yacas-1.3.6/manmake/Makefile.am
+@@ -11,13 +11,13 @@
+ ## PDF_DOCS   is either "pdf-docs" or empty
+ all-am: @BOOKS_HTML@ @PDF_DOCS@ hints
+ 
+-noinst_PROGRAMS = manripper removeduplicates
+-
+-manripper_SOURCES = manripper.cpp 
++manripper$(BUILD_EXEEXT): manripper.cpp
++      $(CXX_FOR_BUILD) -o $@ $^
+ 
+-removeduplicates_SOURCES = removeduplicates.cpp
++removeduplicates$(BUILD_EXEEXT): removeduplicates.cpp
++      $(CXX_FOR_BUILD) -o $@ $^
+ 
+-hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) 
ref.book.txt refprog.book.txt
++hints: manripper$(BUILD_EXEEXT) removeduplicates$(BUILD_EXEEXT) $(REFSOURCES) 
$(REFPROGSOURCES) ref.book.txt refprog.book.txt
+       rm -f hints.unsorted
+       for file in ref.book.txt $(REFSOURCES) refprog.book.txt 
$(REFPROGSOURCES); do \
+       ./manripper $(srcdir)/"$$file" >> hints.unsorted ; done
diff -Nru yacas-1.3.6/debian/patches/series yacas-1.3.6/debian/patches/series
--- yacas-1.3.6/debian/patches/series   2016-02-25 21:58:34.000000000 +0100
+++ yacas-1.3.6/debian/patches/series   2023-09-29 17:12:48.000000000 +0200
@@ -1 +1,2 @@
 02_reproducible-build.patch
+03_cross.patch
diff -Nru yacas-1.3.6/debian/README.source yacas-1.3.6/debian/README.source
--- yacas-1.3.6/debian/README.source    2015-08-02 14:41:06.000000000 +0200
+++ yacas-1.3.6/debian/README.source    1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-dpatch:
-======
-The source package itself uses a mixture of dpatch and .diff.gz for the
-modifications of the upstream source. If you want to change something it is
-best to use the dpatch approach as documented in
-
- /usr/share/doc/dpatch/README.source.gz
diff -Nru yacas-1.3.6/debian/rules yacas-1.3.6/debian/rules
--- yacas-1.3.6/debian/rules    2016-02-25 22:01:49.000000000 +0100
+++ yacas-1.3.6/debian/rules    2023-09-29 17:12:48.000000000 +0200
@@ -31,7 +31,7 @@
 build-stamp:
        dh_testdir
        ./makemake
-       CXXFLAGS="$(CXXFLAGS)" ./configure --prefix=/usr --with-numlib=native \
+       CXXFLAGS="$(CXXFLAGS)" dh_auto_configure -- --prefix=/usr 
--with-numlib=native \
        --enable-server --sysconfdir=/etc --disable-rpath
        CXXFLAGS="$(CXXFLAGS)" $(MAKE) sysconfdir=/etc
        make texdocs

Reply via email to