~ubuntu-branches/ubuntu/saucy/terminal.app/saucy

« back to all changes in this revision

Viewing changes to debian/patches/FTBFS-kFreeBSD

  • Committer: Package Import Robot
  • Author(s): Steve McIntyre
  • Date: 2012-10-13 12:04:51 UTC
  • Revision ID: package-import@ubuntu.com-20121013120451-vfr0ouekkbxf2w5f
Tags: 0.9.8-1+nmu1
* NMU
* Fix FTBFS on kFreeBSD. Closes: #681135. Thanks to Petr Salinger for
  the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix termio.h header inclusion for GNU/kFreeBSD
 
2
 .
 
3
   * Fix FTBFS on kFreeBSD. Closes: #681135
 
4
Author: Petr Salinger <Petr.Salinger@seznam.cz>
 
5
Bug-Debian: http://bugs.debian.org/681135
 
6
 
 
7
--- terminal.app-0.9.8.orig/TerminalView.m
 
8
+++ terminal.app-0.9.8/TerminalView.m
 
9
@@ -43,7 +43,7 @@ activated */
 
10
 #  include <termios.h>
 
11
 #  include <util.h>
 
12
 #  include <sys/ioctl.h>
 
13
-#elif defined (__GNU__)
 
14
+#elif defined (__GNU__) || defined (__GLIBC__)
 
15
 #else
 
16
 #  include <termio.h>
 
17
 #endif