Don't use shebang in vncserver script.

This commit is contained in:
Tim Waugh 2013-07-24 12:24:13 +01:00
parent cde0eb1edf
commit 04fed602af
2 changed files with 17 additions and 1 deletions

9
tigervnc-shebang.patch Normal file
View 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.

View File

@ -1,6 +1,6 @@
Name: tigervnc
Version: 1.3.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A TigerVNC remote display system
Group: User Interface/Desktops
@ -45,6 +45,7 @@ Patch5: tigervnc-inetd-nowait.patch
Patch6: tigervnc-setcursor-crash.patch
Patch7: tigervnc-manpages.patch
Patch8: tigervnc-getmaster.patch
Patch9: tigervnc-shebang.patch
%description
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).
%patch8 -p1 -b .getmaster
# Don't use shebang in vncserver script.
%patch9 -p1 -b .shebang
%build
%ifarch sparcv9 sparc64 s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
@ -331,6 +335,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%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
- Renumbered patches.
- libvnc.so: don't use unexported GetMaster function (bug #744881 again).