[DRE-commits] [ruby-sigar] 01/01: acknowledge NMU. Thanks Anibal Monsalve Salazar
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Apr 17 15:21:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-sigar.
commit 36e555449c548294558bb842b8dfb228748ff916
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Apr 17 17:20:52 2014 +0200
acknowledge NMU. Thanks Anibal Monsalve Salazar
---
debian/changelog | 9 +++++++
debian/patches/mips-TIOCGETC-undeclared.patch | 37 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 47 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4dde8a9..a048905 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-sigar (0.7.2-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Define TIOCGETC
+ Patch by Dejan Latinovic
+ Closes: #742017
+
+ -- Anibal Monsalve Salazar <anibal at debian.org> Wed, 16 Apr 2014 01:11:13 +0100
+
ruby-sigar (0.7.2-3) unstable; urgency=low
* Bump gem2deb build dep to 0.7.4~
diff --git a/debian/patches/mips-TIOCGETC-undeclared.patch b/debian/patches/mips-TIOCGETC-undeclared.patch
new file mode 100644
index 0000000..43e1a87
--- /dev/null
+++ b/debian/patches/mips-TIOCGETC-undeclared.patch
@@ -0,0 +1,37 @@
+From: Dejan Latinovic <Dejan.Latinovic at imgtec.com>
+Date: Mon, 17 Mar 2014 19:23:47 +0100
+Description: define TIOCGETC
+ On MIPS archs TIOCGETP is defined in:
+ /usr/include/mips-linux-gnu/asm/ioctls.h,
+ but TIOCGETC is not.
+ .
+ Based on powerpc and alpha architectures,
+ I created a patch that fixes this issue for mips/mipsel.
+Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742017
+
+diff -uNr a/src/sigar_getline.c b/src/sigar_getline.c
+--- a/src/sigar_getline.c 2012-04-11 05:46:09.000000000 +0100
++++ b/src/sigar_getline.c 2014-04-16 01:06:13.829243757 +0100
+@@ -360,9 +360,12 @@ static void search_forw(int s);
+ #if defined(__linux__) && defined(__alpha__)
+ # define R__ALPHALINUX // = linux on Alpha
+ #endif
++#if defined(__linux__) && defined(__mips__)
++# define R__MIPSLINUX // = linux on MIPS
++#endif
+
+ #if defined(TIOCGETP) && !defined(__sgi) && !defined(R__MKLINUX) && \
+- !defined(R__ALPHALINUX) /* use BSD interface if possible */
++ !defined(R__ALPHALINUX) &&!defined(R__MIPSLINUX) /* use BSD interface if possible */
+ #include <sgtty.h>
+ static struct sgttyb new_tty, old_tty;
+ static struct tchars tch;
+@@ -371,7 +374,7 @@ static struct ltchars ltch;
+ #ifdef SIGTSTP /* need POSIX interface to handle SUSP */
+ #include <termios.h>
+ #if defined(__sun) || defined(__sgi) || defined(R__MKLINUX) || \
+- defined(R__ALPHALINUX)
++ defined(R__ALPHALINUX) || defined(R__MIPSLINUX)
+ #undef TIOCGETP /* Solaris and SGI define TIOCGETP in <termios.h> */
+ #undef TIOCSETP
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0556507
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+mips-TIOCGETC-undeclared.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sigar.git
More information about the Pkg-ruby-extras-commits
mailing list