From b4d5284a26d79c186777be451a565b97464f70ea Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Tue, 27 Nov 2012 12:14:07 +0100 Subject: update package qjson --- index.html | 2 +- src/qjson-1-static.patch | 48 +++--------------------------------------------- src/qjson.mk | 2 +- 3 files changed, 5 insertions(+), 47 deletions(-) diff --git a/index.html b/index.html index 6a35a11..f4e0536 100644 --- a/index.html +++ b/index.html @@ -1805,7 +1805,7 @@ USE_OSGPLUGIN(<plugin2>) qjson - 0.8.0 + 0.8.1 QJson diff --git a/src/qjson-1-static.patch b/src/qjson-1-static.patch index 77f54e5..54377a7 100644 --- a/src/qjson-1-static.patch +++ b/src/qjson-1-static.patch @@ -1,16 +1,16 @@ This file is part of MXE. See index.html for further information. -From 5c1a9928d925dacebb56f191fec349077c750dbf Mon Sep 17 00:00:00 2001 +From d456ebfe73b1a06beb8423c94f3b01edb6bc7507 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Fri, 23 Nov 2012 08:41:43 +0100 -Subject: [PATCH 1/2] build as static lib +Subject: [PATCH] build as static lib taken from: http://sourceforge.net/mailarchive/forum.php?thread_name=4E1DBC0D.10000%40jrit.at&forum_name=qjson-devel diff --git a/CMakeLists.txt b/CMakeLists.txt -index 07d84c6..3aee52d 100644 +index 13e65f1..99fd8e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,13 @@ SET(FRAMEWORK_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/Library/Frameworks" @@ -74,45 +74,3 @@ index 9a807b9..7e6646a 100644 -- 1.7.10.4 - -From dbe71952b8b91359172f7f253a7cc07c1e746443 Mon Sep 17 00:00:00 2001 -From: Flavio Castelli -Date: Thu, 22 Nov 2012 21:19:15 +0100 -Subject: [PATCH 2/2] Fix unsafe pointer usage in Serializer::serialize(). - -This fixes issue #3. -(cherry picked from commit 56701d72da8a57a64522ff455d7aa460033398a9) - -diff --git a/ChangeLog b/ChangeLog -index fa16030..6ae4d9d 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,7 @@ -+Thu Nov 22 21:20:11 CET 2012 Flavio Castelli -+ -+ * Fix unsafe pointer usage in Serializer::serialize() -+ - ---------------------------------------------------------------------- - Wed Nov 21 22:01:51 CET 2012 Flavio Castelli - -diff --git a/src/serializer.cpp b/src/serializer.cpp -index 4ff3d54..b88827d 100644 ---- a/src/serializer.cpp -+++ b/src/serializer.cpp -@@ -368,12 +368,12 @@ void Serializer::serialize( const QVariant& v, QIODevice* io, bool* ok) - - QByteArray Serializer::serialize( const QVariant &v, bool *ok) - { -+ bool _ok = true; - d->errorMessage.clear(); - - if (ok) { - *ok = true; - } else { -- bool _ok = true; - ok = &_ok; - } - --- -1.7.10.4 - diff --git a/src/qjson.mk b/src/qjson.mk index 363241d..c748b34 100644 --- a/src/qjson.mk +++ b/src/qjson.mk @@ -3,7 +3,7 @@ PKG := qjson $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 6a571194d24aed23f36642f5d24d97f6b1080d4a +$(PKG)_CHECKSUM := 197ccfd533f17bcf40428e68a82e6622047ed4ab $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) -- cgit v0.12