[Pkg-running-devel] [antpm] 01/01: debian: patch for kfreebsd builds

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Sat Aug 2 13:31:24 UTC 2014


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

ralovich-guest pushed a commit to branch master
in repository antpm.

commit 8f577467afa6b9fc268009f3c22f42c675379af3
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Sat Aug 2 15:28:43 2014 +0200

    debian: patch for kfreebsd builds
---
 debian/patches/04-fix-missing-IUCLC.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/04-fix-missing-IUCLC.patch b/debian/patches/04-fix-missing-IUCLC.patch
new file mode 100644
index 0000000..69f5f5b
--- /dev/null
+++ b/debian/patches/04-fix-missing-IUCLC.patch
@@ -0,0 +1,25 @@
+--- a/src/SerialTty.cpp
++++ b/src/SerialTty.cpp
+@@ -41,6 +41,9 @@
+ #include "common.hpp"
+ #include "DeviceSettings.hpp"
+ 
++#ifndef IUCLC
++# define IUCLC 0
++#endif
+ 
+ namespace fs = boost::filesystem;
+ using namespace std;
+--- a/src/gant/antlib.c
++++ b/src/gant/antlib.c
+@@ -20,6 +20,10 @@
+ #define MAXCHAN 32
+ #define BSIZE 8*10000
+ 
++#ifndef IUCLC
++# define IUCLC 0
++#endif
++
+ #define uchar unsigned char
+ 
+ #define hexval(c) ((c >= '0' && c <= '9') ? (c-'0') : ((c&0xdf)-'A'+10))
diff --git a/debian/patches/series b/debian/patches/series
index 8f15f63..c572640 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+04-fix-missing-IUCLC.patch
 01-include-cstdint
 02-try-fixing-FTBFS-under-hurd-i386-kfreebsd-amd64-kfre
 03-gant-try-fixing-FTBFS-under-hurd-i386

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list