[mmapper] Updated the mirrored textures patch for Qt >= 4.8

Kalev Lember kalev at fedoraproject.org
Fri Jul 22 16:03:17 UTC 2011


commit eff0fb5a80f7b35701a51900a3c908a90d57902c
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Fri Jul 22 18:55:29 2011 +0300

    Updated the mirrored textures patch for Qt >= 4.8

 mmapper-2.1.0-mirrored_textures.patch |    2 +-
 mmapper.spec                          |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mmapper-2.1.0-mirrored_textures.patch b/mmapper-2.1.0-mirrored_textures.patch
index e93f99c..4fa4a86 100644
--- a/mmapper-2.1.0-mirrored_textures.patch
+++ b/mmapper-2.1.0-mirrored_textures.patch
@@ -6,7 +6,7 @@ Index: src/display/mapcanvas.cpp
      m_room_gllist = glGenLists(1);
      glNewList(m_room_gllist, GL_COMPILE);
      glBegin(GL_QUADS);
-+#if QT_VERSION < 0x040600
++#if (QT_VERSION < 0x040700 || QT_VERSION >= 0x040800)
      glTexCoord2d(0, 1);
      glVertex3d(0.0, 0.0, 0.0);
      glTexCoord2d(0, 0);
diff --git a/mmapper.spec b/mmapper.spec
index 3731d43..63082f9 100644
--- a/mmapper.spec
+++ b/mmapper.spec
@@ -1,6 +1,6 @@
 Name:           mmapper
 Version:        2.1.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Graphical MUME mapper
 
 Group:          Amusements/Games
@@ -80,6 +80,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Jul 22 2011 Kalev Lember <kalevlember at gmail.com> - 2.1.0-4
+- Updated the mirrored textures patch for Qt >= 4.8
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list