diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-08-02 15:28:43 +0200 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-08-02 15:28:43 +0200 |
commit | 8f577467afa6b9fc268009f3c22f42c675379af3 (patch) | |
tree | 2f3835e319fa21264ed6bfb02c0eb89e08f67c01 | |
parent | 020e8e5beaa5f78263f5341f8b85e072d2c25587 (diff) |
debian: patch for kfreebsd builds
-rw-r--r-- | debian/patches/04-fix-missing-IUCLC.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
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 |