summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2018-11-29 21:40:43 +0100
committerFrançois Andriot <[email protected]>2018-11-29 21:40:43 +0100
commita39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590 (patch)
tree6bfbfb710705498132cedeb52e9459701f0ce223 /redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch
parente0e9cbe466c1488a245ba028645a6f897b9ea02c (diff)
downloadtde-packaging-a39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590.tar.gz
tde-packaging-a39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590.zip
RPM: remove obsolete patches
Diffstat (limited to 'redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch')
-rw-r--r--redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch b/redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch
deleted file mode 100644
index 0c93c416a..000000000
--- a/redhat/dependencies/qt3/patches/obsolete/qt-x11-free-3.3.7-arm.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- qt-x11-free-3.3.7/src/tools/qglobal.h.orig 2007-04-24 09:02:36.000000000 -0400
-+++ qt-x11-free-3.3.7/src/tools/qglobal.h 2007-04-24 09:03:02.000000000 -0400
-@@ -315,9 +315,9 @@
- QString bloat. However, gcc 3.4 doesn't allow us to create references to
- members of a packed struct. (Pointers are OK, because then you
- supposedly know what you are doing.) */
--# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
-+# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP) && !defined(__ARM_EABI__)
- # define Q_PACKED __attribute__ ((packed))
--# if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
-+# if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
- # define Q_NO_PACKED_REFERENCE
- # endif
- # endif
---- qt-x11-free-3.3.7/src/tools/qstring.h.orig 2007-04-24 09:03:11.000000000 -0400
-+++ qt-x11-free-3.3.7/src/tools/qstring.h 2007-04-24 09:03:27.000000000 -0400
-@@ -194,7 +194,7 @@
- char latin1() const { return ucs > 0xff ? 0 : (char) ucs; }
- ushort unicode() const { return ucs; }
- #ifdef Q_NO_PACKED_REFERENCE
-- ushort &unicode() { return *(&ucs); }
-+ ushort &unicode() { return *((ushort *)&ucs); }
- #else
- ushort &unicode() { return ucs; }
- #endif