[Debian-astro-commits] [iraf] 02/02: Don't link to librt

Ole Streicher olebole at moszumanska.debian.org
Thu Dec 14 08:30:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch master
in repository iraf.

commit cdfd9c25d73dfc17d2ce2167e94b0b931aecaccd
Author: Ole Streicher <olebole at debian.org>
Date:   Thu Dec 14 08:39:06 2017 +0100

    Don't link to librt
---
 debian/patches/Don-t-link-to-librt.patch | 22 ++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/Don-t-link-to-librt.patch b/debian/patches/Don-t-link-to-librt.patch
new file mode 100644
index 0000000..c92221f
--- /dev/null
+++ b/debian/patches/Don-t-link-to-librt.patch
@@ -0,0 +1,22 @@
+From: Ole Streicher <olebole at debian.org>
+Date: Thu, 14 Dec 2017 08:38:34 +0100
+Subject: Don't link to librt
+
+Directly linking to this library is not needed anymore.
+---
+ unix/boot/spp/xc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/unix/boot/spp/xc.c b/unix/boot/spp/xc.c
+index 3677418..b244d7d 100644
+--- a/unix/boot/spp/xc.c
++++ b/unix/boot/spp/xc.c
+@@ -80,7 +80,7 @@ char *fortlib[] = { "-lf2c",			/*  0  (host progs) */
+ 		    "-lexpat",			/*  4  */
+ #if defined (__linux__) || defined (__gnu_hurd__)
+ 		    "-lpthread",		/*  5  */
+-		    "-lrt",			/*  6  */
++		    "",			        /*  6  */
+ #else
+ 		    "",				/*  5  */
+ 		    "",				/*  6  */		    
diff --git a/debian/patches/series b/debian/patches/series
index e0f63da..4aeb2f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ Separate-NOAO-and-dev-packages.patch
 Propagate-CFLAGS-and-debug-flag-to-xc.patch
 Skip-source-dependent-tests.patch
 Add-new-architectures.patch
+Don-t-link-to-librt.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/iraf.git



More information about the Debian-astro-commits mailing list