-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Including <sys/termios.h> on FreeBSD throws a warning. This warning b…
…reaks the build. Patch fixes that.
- Loading branch information
rodent
committed
Mar 25, 2015
1 parent
8cffe78
commit 2d6ef54
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$NetBSD: distinfo,v 1.34 2015/03/08 17:57:42 imil Exp $ | ||
$NetBSD: distinfo,v 1.35 2015/03/25 02:10:01 rodent Exp $ | ||
|
||
SHA1 (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = 7c2256c6d3da3913735876ee98349714a3d3dd2e | ||
RMD160 (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = c458ec864925694790cb6202acc4c042d437b401 | ||
Size (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = 197231 bytes | ||
SHA1 (patch-external_progressmeter.h) = 76c272c68eab4769d02e21748037933e5cea6c38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$NetBSD: patch-external_progressmeter.h,v 1.1 2015/03/25 02:10:02 rodent Exp $ | ||
|
||
Including sys/termios.h on FreeBSD throws a warning and breaks the build. | ||
|
||
--- external/progressmeter.h.orig 2015-03-08 17:49:37.000000000 +0000 | ||
+++ external/progressmeter.h | ||
@@ -26,7 +26,7 @@ | ||
|
||
#include "config.h" | ||
|
||
-#ifdef HAVE_SYS_TERMIOS_H | ||
+#if defined(HAVE_SYS_TERMIOS_H) && !defined(__FreeBSD__) | ||
#include <sys/termios.h> | ||
#elif HAVE_TERMIOS_H | ||
#include <termios.h> |