Control: tags 1018212 + patch
Control: tags 1018212 + pending
X-Debbugs-CC: moel...@debian.org rodol...@damsy.net

Dear maintainer,

I've prepared an NMU for libspnav (versioned as 1.0-1.1) and
uploaded it to DELAYED/14. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru libspnav-1.0/debian/changelog libspnav-1.0/debian/changelog
--- libspnav-1.0/debian/changelog       2022-08-21 12:31:36.000000000 -0400
+++ libspnav-1.0/debian/changelog       2023-07-06 20:42:15.000000000 -0400
@@ -1,3 +1,17 @@
+libspnav (1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Steffen Moeller ]
+  * Added team as maintainer.
+  * Added myself as an uploader.
+
+  [ Boyuan Yang ]
+  * debian/patches/0003-Makefile.in-Also-link-math-library-lm.patch:
+    Add missing link to libm library. (Closes: #1018212)
+
+ -- Boyuan Yang <by...@debian.org>  Thu, 06 Jul 2023 20:42:15 -0400
+
 libspnav (1.0-1) unstable; urgency=medium
 
   * Introduced Team upload next to FreeCAD with the Science-Team.
diff -Nru libspnav-1.0/debian/control libspnav-1.0/debian/control
--- libspnav-1.0/debian/control 2022-08-21 12:31:36.000000000 -0400
+++ libspnav-1.0/debian/control 2023-07-06 20:36:39.000000000 -0400
@@ -1,7 +1,8 @@
 Source: libspnav
 Section: libs
 Priority: optional
-Maintainer: Rodolphe PELLOUX-PRAYER <rodol...@damsy.net>
+Maintainer: Debian Science Team
<debian-science-maintain...@lists.alioth.debian.org>
+Uploaders: Steffen Moeller <moel...@debian.org>, Rodolphe PELLOUX-PRAYER
<rodol...@damsy.net>
 Build-Depends: debhelper-compat (= 13), libx11-dev
 Standards-Version: 4.6.1
 Homepage: http://spacenav.sourceforge.net
diff -Nru libspnav-1.0/debian/patches/0003-Makefile.in-Also-link-math-library-
lm.patch libspnav-1.0/debian/patches/0003-Makefile.in-Also-link-math-library-
lm.patch
--- libspnav-1.0/debian/patches/0003-Makefile.in-Also-link-math-library-
lm.patch        1969-12-31 19:00:00.000000000 -0500
+++ libspnav-1.0/debian/patches/0003-Makefile.in-Also-link-math-library-
lm.patch        2023-07-06 20:41:02.000000000 -0400
@@ -0,0 +1,22 @@
+From: Boyuan Yang <by...@debian.org>
+Date: Thu, 6 Jul 2023 20:40:13 -0400
+Subject: Makefile.in: Also link math library -lm
+
+Bug-Debian: https://bugs.debian.org/1018212
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index f86a50c..2bfaec6 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,7 +11,7 @@ libpaths = -L/usr/local/lib -L/usr/X11R6/lib
+ CC ?= gcc
+ AR ?= ar
+ CFLAGS = $(opt) $(dbg) -std=c89 $(pic) -pedantic -Wall -fno-strict-aliasing
$(incpaths) $(user_cflags) `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --
get CPPFLAGS`
+-LDFLAGS = $(libpaths) $(user_ldflags) $(xlib) `dpkg-buildflags --get
LDFLAGS`
++LDFLAGS = $(libpaths) $(user_ldflags) $(xlib) -lm `dpkg-buildflags --get
LDFLAGS`
+ 
+ ifeq ($(shell uname -s), Darwin)
+       lib_so = libspnav.dylib
diff -Nru libspnav-1.0/debian/patches/series libspnav-
1.0/debian/patches/series
--- libspnav-1.0/debian/patches/series  2022-08-21 12:27:04.000000000 -0400
+++ libspnav-1.0/debian/patches/series  2023-07-06 20:41:02.000000000 -0400
@@ -1,2 +1,3 @@
 ldconfig-symlink-referencing-wrong-file.patch
 add-buildflags-to-makefile.patch
+0003-Makefile.in-Also-link-math-library-lm.patch

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to