~ubuntu-branches/ubuntu/precise/vlc/precise-proposed

« back to all changes in this revision

Viewing changes to contrib/src/qt4/mingw32.patch

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-03-24 01:33:03 UTC
  • mfrom: (1.1.46) (3.5.39 sid)
  • Revision ID: package-import@ubuntu.com-20120324013303-km51kpl9kixydb8g
Really add the preinst from Didier Raboud to vlc to drop it's doc directory
before unpacking a symlink to vlc-nox's over it. (Closes: #613121, #662217)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Remove me after qt4 4.8.0
 
2
--- qt-everywhere-opensource-src-4.7.4.orig/src/corelib/tools/qlocale.cpp       2012-01-19 23:34:18.000000000 +0100
 
3
+++ qt-everywhere-opensource-src-4.7.4/src/corelib/tools/qlocale.cpp    2012-01-19 23:37:41.000000000 +0100
 
4
@@ -6614,6 +6614,14 @@
 
5
  *           calculation.
 
6
  */
 
7
 
 
8
+#if defined(Q_OS_WIN) && defined (Q_CC_GNU) && !defined(_clear87) // See QTBUG-7576
 
9
+extern "C" {
 
10
+__attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _control87 (unsigned int unNew, unsigned int unMask);
 
11
+__attribute__ ((dllimport)) unsigned int __cdecl __MINGW_NOTHROW _clearfp (void);  /* Clear the FPU status word */
 
12
+#  define _clear87 _clearfp
 
13
+}
 
14
+#endif
 
15
+
 
16
 
 
17
 /* This actually sometimes returns a pointer to a string literal
 
18
    cast to a char*. Do NOT try to modify the return value. */