[packages/openssh] update x11.pc hack for ac

glen glen at pld-linux.org
Tue May 13 16:40:14 CEST 2014


commit 8f8ef1ebbaa6ca2ecd53ca923a3ad73fb19db13b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue May 13 17:39:45 2014 +0300

    update x11.pc hack for ac

 openssh.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openssh.spec b/openssh.spec
index d7b5036..ac6ed1c 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -543,7 +543,7 @@ openldap-a.
 
 %if "%{pld_release}" == "ac"
 # fix for missing x11.pc
-%{__sed} -i -e '/pkg-config/s/ x11//' contrib/Makefile
+%{__sed} -i -e 's/\(`$(PKG_CONFIG) --libs gtk+-2.0\) x11`/\1` -lX11/' contrib/Makefile
 %endif
 
 # hack since arc4random from openbsd-compat needs symbols from libssh and vice versa
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/621739ab2a22c5136a198a0a5e2dada6391f137f



More information about the pld-cvs-commit mailing list