commit ecfb9b506bdee3e9a07cb7b4f6a28952ad0d510d
Author: Jakub Bogusz <[email protected]>
Date:   Mon Jul 10 16:47:48 2017 +0200

    - added noLlibdir patch (avoid /usr/lib* in `libvncserver-config --libs` 
output); release 3

 libvncserver-noLlibdir.patch | 12 ++++++++++++
 libvncserver.spec            |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libvncserver.spec b/libvncserver.spec
index b6ecbe6..a8a73f9 100644
--- a/libvncserver.spec
+++ b/libvncserver.spec
@@ -6,13 +6,14 @@ Summary:      LibVNCServer - a for easy implementation of 
VNC/RDP server
 Summary(pl.UTF-8):     LibVNCServer - biblioteka do łatwego implementowania 
serwera VNC/RDP
 Name:          libvncserver
 Version:       0.9.11
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Libraries
 #Source0Download: https://github.com/LibVNC/libvncserver/releases
 Source0:       
https://github.com/LibVNC/libvncserver/archive/LibVNCServer-%{version}.tar.gz
 # Source0-md5: 7f06104d5c009813e95142932c4ddb06
 Patch0:                %{name}-linux.patch
+Patch1:                %{name}-noLlibdir.patch
 URL:           https://github.com/LibVNC/libvncserver/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -104,6 +105,7 @@ Statyczne biblioteki LibVNCServer.
 %prep
 %setup -q -n libvncserver-LibVNCServer-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/libvncserver-noLlibdir.patch b/libvncserver-noLlibdir.patch
new file mode 100644
index 0000000..cd6e126
--- /dev/null
+++ b/libvncserver-noLlibdir.patch
@@ -0,0 +1,12 @@
+--- libvncserver-LibVNCServer-0.9.11/libvncserver-config.in.orig       
2016-12-30 14:01:28.000000000 +0100
++++ libvncserver-LibVNCServer-0.9.11/libvncserver-config.in    2017-07-10 
16:41:58.569474193 +0200
+@@ -57,6 +57,9 @@
+     --libs)
+       libs=""
+       for dir in $libdir; do
++        if [ "$dir" = "@libdir@" ]; then
++          continue
++        fi
+         libs="$libs -L$dir"
+         if [ "`uname`" = "SunOS" ]; then
+           # why only Solaris??
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvncserver.git/commitdiff/ecfb9b506bdee3e9a07cb7b4f6a28952ad0d510d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to