1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: resnapper FTBFS due to mismathing headers in linux-libc-dev
The headers in linux-libc-dev are different in powerpc/ppc64el compared
to other archs, they seems to be missing include clauses to the
header under the asm-generic/ directory.
This patch works around that by explicitly including both headers under
asm-generic.
Note that the include of arm/termbits.h had to be removed because it
causes yet another conflict, this time due to the redefinition of types
termios and ktermios, which also only affects powepc/ppc64el.
Author: Tiago Stürmer Daitx <tiago.daitx@canonical.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810907
Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100
Forwarded: not-needed
Last-Update: 2016-09-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: repsnapper-2.5a5/src/printer/custom_baud.cpp
===================================================================
--- repsnapper-2.5a5.orig/src/printer/custom_baud.cpp
+++ repsnapper-2.5a5/src/printer/custom_baud.cpp
@@ -6,7 +6,8 @@
#include <cstdlib>
#include <fcntl.h>
#include <sys/ioctl.h>
-#include <asm/termbits.h>
+#include <asm-generic/ioctls.h>
+#include <asm-generic/termbits.h>
#endif
bool set_custom_baudrate( int device_fd, int baudrate ) {
|