[Debian-astro-commits] [x11iraf] 01/01: Include stdlib.h for strtol

Ole Streicher olebole at moszumanska.debian.org
Fri Dec 8 14:03:41 UTC 2017


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

olebole pushed a commit to branch master
in repository x11iraf.

commit a9881eef1d309fa47dd2ed49cf52be3480045a16
Author: Ole Streicher <olebole at debian.org>
Date:   Fri Dec 8 15:03:24 2017 +0100

    Include stdlib.h for strtol
---
 debian/patches/Include-stdlib.h-for-strtol.patch | 20 ++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/Include-stdlib.h-for-strtol.patch b/debian/patches/Include-stdlib.h-for-strtol.patch
new file mode 100644
index 0000000..1c69f19
--- /dev/null
+++ b/debian/patches/Include-stdlib.h-for-strtol.patch
@@ -0,0 +1,20 @@
+From: Ole Streicher <olebole at debian.org>
+Date: Fri, 8 Dec 2017 14:30:51 +0100
+Subject: Include stdlib.h for strtol
+
+---
+ obm/widget.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/obm/widget.c b/obm/widget.c
+index 0d60103..ec6387d 100644
+--- a/obm/widget.c
++++ b/obm/widget.c
+@@ -1,6 +1,7 @@
+ /* Copyright(c) 1993 Association of Universities for Research in Astronomy Inc.
+  */
+ 
++#include <stdlib.h>
+ #include <ObmP.h>
+ #include "widget.h"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index ed39908..9221a6a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ Include-install-directory.patch
 Fix-function-type-of-Create-functions-in-obm.patch
 Use-system-Tcl-library.patch
 Use-system-libs-when-possible.patch
+Include-stdlib.h-for-strtol.patch

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



More information about the Debian-astro-commits mailing list