]> git.sesse.net Git - vlc/blob - debian/patches/20_no-wx-updates.dpatch
bc8ece2b8c0f5831089c7c66f08831de5eaadbb0
[vlc] / debian / patches / 20_no-wx-updates.dpatch
1 #! /bin/sh -e
2 ## 20_interfaces.dpatch by  <sam+deb@zoy.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
6
7 if [ $# -lt 1 ]; then
8     echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
9     exit 1
10 fi
11
12 [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13 patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
14
15 case "$1" in
16     -patch) patch -p1 ${patch_opts} < $0;;
17     -unpatch) patch -R -p1 ${patch_opts} < $0;;
18     *)
19         echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
20         exit 1;;
21 esac
22
23 exit 0
24
25 @DPATCH@
26 --- vlc.orig/modules/gui/wxwidgets/interface.cpp
27 +++ vlc/modules/gui/wxwidgets/interface.cpp
28 @@ -603,8 +603,8 @@
29      /* Create the "Help" menu */
30      wxMenu *help_menu = new wxMenu;
31      help_menu->Append( About_Event, wxU(_("About...")) );
32 -    help_menu->AppendSeparator();
33 -    help_menu->Append( UpdateVLC_Event, wxU(_("Check for Updates...")) );
34 +//    help_menu->AppendSeparator();
35 +//    help_menu->Append( UpdateVLC_Event, wxU(_("Check for Updates...")) );
36
37      /* Append the freshly created menus to the menu bar... */
38      wxMenuBar *menubar = new wxMenuBar();