summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorryoon <ryoon>2012-12-31 23:36:47 +0000
committerryoon <ryoon>2012-12-31 23:36:47 +0000
commit02b814b782210b6fb3d5dc09835b223b902d5b4b (patch)
tree655680ebe0d5abbcedbbc68e702224e849a726b7 /net
parentdc86da4d99044b0f49cef8e6a598317e29ca0789 (diff)
downloadpkgsrc-02b814b782210b6fb3d5dc09835b223b902d5b4b.tar.gz
Fix build on Linux (CentOS 6.3).
Add workaround not to try toinclude util.h on Linux. Configure should handle util.h properly.
Diffstat (limited to 'net')
-rw-r--r--net/vinagre/distinfo4
-rw-r--r--net/vinagre/patches/patch-vinagre_pty__open.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/vinagre/distinfo b/net/vinagre/distinfo
index e9e6b498873..df3c0417559 100644
--- a/net/vinagre/distinfo
+++ b/net/vinagre/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2012/11/30 16:02:32 ryoon Exp $
+$NetBSD: distinfo,v 1.9 2012/12/31 23:36:47 ryoon Exp $
SHA1 (vinagre-3.6.2.tar.xz) = 380f7f7197d062f4db78365ab1b8e3115476e3a2
RMD160 (vinagre-3.6.2.tar.xz) = 091c45059f778dd9342a9488318a2fe9da43ee24
Size (vinagre-3.6.2.tar.xz) = 2497324 bytes
SHA1 (patch-configure) = d9622874fbeba6705c1dcbbf01aed7a6588afce0
-SHA1 (patch-vinagre_pty__open.c) = 6ae023039419d18ef9d47e82a8c692d2cd11ab84
+SHA1 (patch-vinagre_pty__open.c) = dfc8bd7235a65353b506ee6acf726cb15706c5d3
diff --git a/net/vinagre/patches/patch-vinagre_pty__open.c b/net/vinagre/patches/patch-vinagre_pty__open.c
index 584cbac65de..5bc83f7f352 100644
--- a/net/vinagre/patches/patch-vinagre_pty__open.c
+++ b/net/vinagre/patches/patch-vinagre_pty__open.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-vinagre_pty__open.c,v 1.1 2012/11/30 16:02:32 ryoon Exp $
+$NetBSD: patch-vinagre_pty__open.c,v 1.2 2012/12/31 23:36:47 ryoon Exp $
--- vinagre/pty_open.c.orig 2011-12-03 07:23:20.000000000 +0000
+++ vinagre/pty_open.c
@@ -16,7 +16,7 @@ $NetBSD: patch-vinagre_pty__open.c,v 1.1 2012/11/30 16:02:32 ryoon Exp $
#include <utmp.h>
#endif
-#ifdef HAVE_UTIL_H
-+#ifdef HAVE_LOGIN_TTY
++#if defined(HAVE_LOGIN_TTY) && !defined(__linux)
#include <util.h>
#endif
#include <glib.h>