Don't use shebang in vncserver script.
This commit is contained in:
parent
cde0eb1edf
commit
04fed602af
9
tigervnc-shebang.patch
Normal file
9
tigervnc-shebang.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -up tigervnc-1.3.0/unix/vncserver.shebang tigervnc-1.3.0/unix/vncserver
|
||||||
|
--- tigervnc-1.3.0/unix/vncserver.shebang 2013-07-24 12:22:34.962158378 +0100
|
||||||
|
+++ tigervnc-1.3.0/unix/vncserver 2013-07-24 12:22:41.593188190 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env perl
|
||||||
|
+#!/usr/bin/perl
|
||||||
|
#
|
||||||
|
# Copyright (C) 2009-2010 D. R. Commander. All Rights Reserved.
|
||||||
|
# Copyright (C) 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
|
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -45,6 +45,7 @@ Patch5: tigervnc-inetd-nowait.patch
|
|||||||
Patch6: tigervnc-setcursor-crash.patch
|
Patch6: tigervnc-setcursor-crash.patch
|
||||||
Patch7: tigervnc-manpages.patch
|
Patch7: tigervnc-manpages.patch
|
||||||
Patch8: tigervnc-getmaster.patch
|
Patch8: tigervnc-getmaster.patch
|
||||||
|
Patch9: tigervnc-shebang.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Network Computing (VNC) is a remote display system which
|
Virtual Network Computing (VNC) is a remote display system which
|
||||||
@ -164,6 +165,9 @@ popd
|
|||||||
# libvnc.so: don't use unexpected GetMaster function (bug #744881 again).
|
# libvnc.so: don't use unexpected GetMaster function (bug #744881 again).
|
||||||
%patch8 -p1 -b .getmaster
|
%patch8 -p1 -b .getmaster
|
||||||
|
|
||||||
|
# Don't use shebang in vncserver script.
|
||||||
|
%patch9 -p1 -b .shebang
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch sparcv9 sparc64 s390 s390x
|
%ifarch sparcv9 sparc64 s390 s390x
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
@ -331,6 +335,9 @@ fi
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 24 2013 Tim Waugh <twaugh@redhat.com> 1.3.0-3
|
||||||
|
- Don't use shebang in vncserver script.
|
||||||
|
|
||||||
* Fri Jul 12 2013 Tim Waugh <twaugh@redhat.com> 1.3.0-2
|
* Fri Jul 12 2013 Tim Waugh <twaugh@redhat.com> 1.3.0-2
|
||||||
- Renumbered patches.
|
- Renumbered patches.
|
||||||
- libvnc.so: don't use unexported GetMaster function (bug #744881 again).
|
- libvnc.so: don't use unexported GetMaster function (bug #744881 again).
|
||||||
|
Loading…
Reference in New Issue
Block a user