]> git.pld-linux.org Git - packages/libvncserver.git/commitdiff
- added noLlibdir patch (avoid /usr/lib* in `libvncserver-config --libs` output)... auto/th/libvncserver-0.9.11-3
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Jul 2017 14:47:48 +0000 (16:47 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Jul 2017 14:47:48 +0000 (16:47 +0200)
libvncserver-noLlibdir.patch [new file with mode: 0644]
libvncserver.spec

diff --git a/libvncserver-noLlibdir.patch b/libvncserver-noLlibdir.patch
new file mode 100644 (file)
index 0000000..cd6e126
--- /dev/null
@@ -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??
index b6ecbe61ec1d107d2e10b427f143c865d3931aa4..a8a73f9e97f77868a9d49320955cd72aae0ca123 100644 (file)
@@ -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}
This page took 0.097005 seconds and 4 git commands to generate.