diff options
author | kevlo <kevlo@FreeBSD.org> | 2013-11-26 10:16:54 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2013-11-26 10:16:54 +0800 |
commit | 17b15ee259c11071b260899c4a6c8e10a693289b (patch) | |
tree | edb0573ef5b535bf26d2d606d3274222ba66f9f4 /sysutils | |
parent | 3bd4592732ae671956a7521cd42d3d250e516a87 (diff) | |
download | freebsd-ports-gnome-17b15ee259c11071b260899c4a6c8e10a693289b.tar.gz freebsd-ports-gnome-17b15ee259c11071b260899c4a6c8e10a693289b.tar.zst freebsd-ports-gnome-17b15ee259c11071b260899c4a6c8e10a693289b.zip |
- Fix hang on reading config [1]
- support STAGE
PR: ports/184015 [1]
Submitted by: Henry Hu <henry.hu.sh at gmail dot com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/synergy/Makefile | 8 | ||||
-rw-r--r-- | sysutils/synergy/files/patch-CConfig.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile index 5c9bcc5ed2f7..4e3d2e67c7e3 100644 --- a/sysutils/synergy/Makefile +++ b/sysutils/synergy/Makefile @@ -2,6 +2,7 @@ PORTNAME= synergy PORTVERSION= 1.3.8 +PORTREVISION= 1 DISTVERSIONSUFFIX= -Source CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE @@ -23,15 +24,14 @@ PLIST_FILES= bin/synergys bin/synergyc PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \ synergy.conf.example-advanced -NO_STAGE= yes do-install: .for f in synergys synergyc - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin .endfor .if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .endif diff --git a/sysutils/synergy/files/patch-CConfig.cpp b/sysutils/synergy/files/patch-CConfig.cpp index 985bdf499b31..e9ba4102d999 100644 --- a/sysutils/synergy/files/patch-CConfig.cpp +++ b/sysutils/synergy/files/patch-CConfig.cpp @@ -1,5 +1,5 @@ --- src/lib/server/CConfig.cpp.orig 2011-01-21 11:51:35.000000000 +0800 -+++ src/lib/server/CConfig.cpp 2013-09-12 17:23:04.000000000 +0800 ++++ src/lib/server/CConfig.cpp 2013-11-26 10:00:44.000000000 +0800 @@ -1908,9 +1908,9 @@ return m_line; } @@ -8,7 +8,7 @@ +CConfigReadContext::operator bool() const { - return m_stream; -+ return !m_stream.bad(); ++ return m_stream.good(); } bool |