[polyml] 12/13: Cast NOFLSH to unsigned

James Clarke jrtc27-guest at moszumanska.debian.org
Sat Mar 12 20:28:25 UTC 2016


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

jrtc27-guest pushed a commit to branch master
in repository polyml.

commit 6345254d23399d69c9fb0bb4d119b8a1068b5707
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Sat Mar 12 17:17:14 2016 +0000

    Cast NOFLSH to unsigned
---
 debian/changelog                    |  2 ++
 debian/patches/noflsh-unsigned.diff | 16 ++++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6acf449..0e5dc26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ polyml (5.6-3) UNRELEASED; urgency=low
     - maxpathlen.diff: Remove all use of MAXPATHLEN
     - mips64.diff: Add support for mips64/mips64el
     - noexec-stack-gnu.diff: Mark stack as non-executable on all GNU systems
+    - noflsh-unsigned.diff: Cast NOFLSH to unsigned (fixes a warning on the
+    Hurd)
     - source-date-epoch.diff: Use SOURCE_DATE_EPOCH instead of current time if
     it is defined
     - x32.diff: Add support for x32
diff --git a/debian/patches/noflsh-unsigned.diff b/debian/patches/noflsh-unsigned.diff
new file mode 100644
index 0000000..1269290
--- /dev/null
+++ b/debian/patches/noflsh-unsigned.diff
@@ -0,0 +1,16 @@
+Description: Cast NOFLSH to unsigned
+Author: James Clarke <jrtc27 at jrtc27.com>
+Forwarded: https://github.com/polyml/polyml/pull/40
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/libpolyml/unix_specific.cpp
++++ b/libpolyml/unix_specific.cpp
+@@ -285,7 +285,7 @@
+     ICANON,
+     IEXTEN,
+     ISIG,
+-    NOFLSH,
++    (unsigned)NOFLSH,
+     TOSTOP, /* 115 */
+ 
+     /* TTY: Speeds. */
diff --git a/debian/patches/series b/debian/patches/series
index 74c0ca5..df67ccd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@ maxpathlen.diff
 noexec-stack-gnu.diff
 source-date-epoch.diff
 bss-ioarea.diff
+noflsh-unsigned.diff

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



More information about the debian-science-commits mailing list