* [gentoo-commits] gentoo-x86 commit in net-misc/mosh/files: mosh-1.2-shared-skalibs-fix-configure.patch mosh-1.2-shared-skalibs.patch
@ 2012-05-01 9:04 99% Michael Weber (xmw)
0 siblings, 0 replies; 1+ results
From: Michael Weber (xmw) @ 2012-05-01 9:04 UTC (permalink / raw
To: gentoo-commits
xmw 12/05/01 09:04:27
Added: mosh-1.2-shared-skalibs-fix-configure.patch
mosh-1.2-shared-skalibs.patch
Log:
Fix prefix build.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/mosh/files/mosh-1.2-shared-skalibs-fix-configure.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/files/mosh-1.2-shared-skalibs-fix-configure.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/files/mosh-1.2-shared-skalibs-fix-configure.patch?rev=1.1&content-type=text/plain
Index: mosh-1.2-shared-skalibs-fix-configure.patch
===================================================================
--- mosh-1.2/configure
+++ mosh-1.2/configure
@@ -6147,6 +6147,7 @@
;
return 0;
}
+char const * PROG = "mosh-test";
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_stddjb_main=yes
1.1 net-misc/mosh/files/mosh-1.2-shared-skalibs.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/files/mosh-1.2-shared-skalibs.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/mosh/files/mosh-1.2-shared-skalibs.patch?rev=1.1&content-type=text/plain
Index: mosh-1.2-shared-skalibs.patch
===================================================================
--- mosh-1.2/configure.ac
+++ mosh-1.2/configure.ac
@@ -163,7 +163,7 @@
[with_skalibs=$withval
AS_IF([test x"$withval" != xyes],
[SKALIBS_CPPFLAGS="-I$withval/include"
- SKALIBS_LDFLAGS="-L$withval/lib"])],
+ SKALIBS_LDFLAGS="-L$withval/lib -lrt"])],
[with_skalibs=no])
AC_ARG_WITH([skalibs-include],
[AS_HELP_STRING([--with-skalibs-include=DIR],
@@ -172,7 +172,7 @@
AC_ARG_WITH([skalibs-libdir],
[AS_HELP_STRING([--with-skalibs-libdir=DIR],
[specify exact library dir for skalibs libraries])],
- [SKALIBS_LDFLAGS="-L$withval"])
+ [SKALIBS_LDFLAGS="-L$withval -lrt"])
STDDJB_CPPFLAGS=""
STDDJB_LDFLAGS=""
@@ -360,9 +360,6 @@
AC_CONFIG_FILES([
Makefile
- third/Makefile
- third/libstddjb/Makefile
- third/poll/Makefile
src/Makefile
src/crypto/Makefile
src/frontend/Makefile
--- mosh-1.2/src/frontend/mosh-server.cc
+++ mosh-1.2/src/frontend/mosh-server.cc
@@ -750,3 +750,5 @@
struct stat buf;
return (0 == lstat( ".hushlogin", &buf ));
}
+
+char const * PROG = "mosh-server" ;
--- mosh-1.2/src/frontend/mosh-client.cc
+++ mosh-1.2/src/frontend/mosh-client.cc
@@ -140,3 +140,5 @@
return 0;
}
+
+char const * PROG = "mosh-client" ;
--- mosh-1.2/src/examples/termemu.cc
+++ mosh-1.2/src/examples/termemu.cc
@@ -324,3 +324,5 @@
swrite( STDOUT_FILENO, Terminal::Emulator::close().c_str() );
}
+
+char const * PROG = "termemu" ;
--- mosh-1.2/Makefile.am
+++ mosh-1.2/Makefile.am
@@ -1,3 +1,3 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = third src scripts man
+SUBDIRS = src scripts man
EXTRA_DIST = autogen.sh ocb-license.html README.md
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-05-01 9:04 99% [gentoo-commits] gentoo-x86 commit in net-misc/mosh/files: mosh-1.2-shared-skalibs-fix-configure.patch mosh-1.2-shared-skalibs.patch Michael Weber (xmw)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox