Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272713 Details for
Bug 366599
net-libs/libssh2-1.2.8: autotools scripts don't set the VERSION correctly (breaks app-emulation/libvirt)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Upstream patch to fix VERSION bug in autotools scripts
libssh2-1.2.8-r1-version-bug.patch (text/plain), 1.19 KB, created by
Stratos Psomadakis (RETIRED)
on 2011-05-10 08:28:32 UTC
(
hide
)
Description:
Upstream patch to fix VERSION bug in autotools scripts
Filename:
MIME Type:
Creator:
Stratos Psomadakis (RETIRED)
Created:
2011-05-10 08:28:32 UTC
Size:
1.19 KB
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 9bdf3b9..46c6cfa 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -15,12 +15,14 @@ if test "x$SED" = "xsed-was-not-found-by-configure"; then > fi > > dnl figure out the libssh2 version >-VERSION=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h` >+LIBSSH2VER=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h` > AM_INIT_AUTOMAKE > AC_MSG_CHECKING([libssh2 version]) >-AC_MSG_RESULT($VERSION) >+AC_MSG_RESULT($LIBSSH2VER) > >-AB_VERSION=$VERSION >+AC_SUBST(LIBSSH2VER) >+ >+AB_VERSION=$LIBSSH2VER > > AB_INIT > >@@ -289,7 +291,7 @@ AC_OUTPUT > > AC_MSG_NOTICE([summary of build options: > >- version: ${VERSION} >+ version: ${LIBSSH2VER} > Host type: ${host} > Install prefix: ${prefix} > Compiler: ${CC} >diff --git a/libssh2.pc.in b/libssh2.pc.in >index 013e6bf..eaef88b 100644 >--- a/libssh2.pc.in >+++ b/libssh2.pc.in >@@ -10,7 +10,7 @@ includedir=@includedir@ > Name: libssh2 > URL: http://www.libssh2.org/ > Description: Library for SSH based connunication >-Version: @VERSION@ >+Version: @LIBSSH2VER@ > Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@ > Libs.private: @LIBS@ > Cflags: -I${includedir}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 366599
:
272645
| 272713 |
272715