~ubuntu-branches/ubuntu/jaunty/moon/jaunty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/moon_fix_gdk_pointer_size.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-04-23 09:44:15 UTC
  • Revision ID: james.westby@ubuntu.com-20090423094415-h8juj8xdcaqc808c
Tags: 1.0.1-0ubuntu1.1
* debian/patches/moon_fix_gdk_pointer_size.dpatch:
  + Minor fix from Moonlight trunk to fix browser crashes with fullscreen
    controls on 64-bit platforms such as amd64, caused by missing GDK
    definitions. Thanks to Rolf Kvinge, Chris Toshok and Geoff Norton.
    (LP: #365442)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## moon_fix_gdk_pointer_size.dpatch by Jo Shields <directhex@apebox.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Ensure that windowless.h loads glib.h, to ensure that 
 
6
## DP: GLIB_SIZEOF_VOID_P is defined correctly on 64-bit platforms. This
 
7
## DP: fixes a crashing bug when viewing fullscreen Silverlight sites
 
8
 
 
9
@DPATCH@
 
10
diff -urNad moon-1.0.1~/plugin/windowless.h moon-1.0.1/plugin/windowless.h
 
11
--- moon-1.0.1~/plugin/windowless.h     2009-04-22 21:36:12.000000000 +0100
 
12
+++ moon-1.0.1/plugin/windowless.h      2009-04-22 21:36:56.000000000 +0100
 
13
@@ -14,6 +14,8 @@
 
14
 #ifndef __MOON_WINDOWLESS__
 
15
 #define __MOON_WINDOWLESS__
 
16
 
 
17
+#include <glib.h>
 
18
+#include "moonlight.h"
 
19
 #include "runtime.h"
 
20
 #include "plugin.h"
 
21