[Tizen-submit] 22397: Changes to Tizen:Mobile/ppl

noreply at tizen.org noreply at tizen.org
Mon Mar 10 06:38:05 GMT 2014


Hi,
Junfeng Dong have made the following changes to ppl in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #22397

  submit:       Tizen:Mobile:build/ppl(cleanup) -> Tizen:Mobile


Message:
Submitter: Junfeng Dong <junfeng.dong at intel.com>
Comments: make compatible with gmp 5.1.0 and later.
Git project: platform/upstream/ppl
Tag: submit/tizen/20140310.064944
Commit: a0aad599d383f3ebfc6db0eef4101050cb00b9d5 Module: ppl/ppl

State:   new        2014-03-10T06:37:42 tizenrobot
Comment: <no comment>
new:
----
  0001-Module-ppl-ppl.patch

spec files:
-----------
--- ppl.spec
+++ ppl.spec
@@ -1,7 +1,7 @@
 Name:           ppl
+VCS:            platform/upstream/ppl#a0aad599d383f3ebfc6db0eef4101050cb00b9d5
 Version:        0.11.2
 Release:        0
-VCS:            platform/upstream/ppl#submit/tizen/20130912.090556-0-g45d013e7f198300c47d2db36b212d8e0f5bbd438
 License:        GPL-3.0+
 Summary:        The Parma Polyhedra Library
 Url:            http://www.cs.unipr.it/ppl/
@@ -9,6 +9,8 @@
 Source:         ppl-%{version}.tar.bz2
 Source1:        baselibs.conf
 Source1001: 	ppl.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-Module-ppl-ppl.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel >= 4.1.3
 
@@ -71,6 +73,8 @@
 
 %prep
 %setup -q -n ppl-%{version}
+# 0001-Module-ppl-ppl.patch
+%patch0 -p1
 cp %{SOURCE1001} .
 
 %build

other changes:
--------------

++++++ 0001-Module-ppl-ppl.patch (new)
--- 0001-Module-ppl-ppl.patch
+++ 0001-Module-ppl-ppl.patch
@@ -0,0 +1,66 @@
+From: Junfeng Dong <junfeng.dong at intel.com>
+Date: Wed, 15 Jan 2014 17:10:53 +0800
+Subject: Module: ppl/ppl
+
+Branch: master
+Commit: 9f843aecc23981aec6ed1eaa8be06e6786a47f0d
+URL:
+http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=9f843aecc23981aec6ed1eaa8be06e6786a47f0d
+
+Author: Roberto Bagnara <bagnara at cs.unipr.it>
+Date:   Wed Dec 19 08:42:19 2012 +0100
+
+GMP version 5.1.0 (and, presumably, later versions) defines
+std::numeric_limits.
+
+Change-Id: I0012c15f9cbe64c736ede1c99f83dc8d5911648a
+Signed-off-by: Junfeng Dong <junfeng.dong at intel.com>
+---
+ src/mp_std_bits.cc      |    6 ++++++
+ src/mp_std_bits.defs.hh |    5 +++++
+ 2 files changed, 11 insertions(+), 0 deletions(-)
+
+diff --git a/src/mp_std_bits.cc b/src/mp_std_bits.cc
+index d79dca8..e07714a 100644
+--- a/src/mp_std_bits.cc
++++ b/src/mp_std_bits.cc
+@@ -26,6 +26,9 @@ site: http://www.cs.unipr.it/ppl/ . */
+ #include <ppl-config.h>
+ #include "mp_std_bits.defs.hh"
+ 
++#if __GNU_MP_VERSION < 5 \
++  || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
++
+ const bool std::numeric_limits<mpz_class>::is_specialized;
+ const int std::numeric_limits<mpz_class>::digits;
+ const int std::numeric_limits<mpz_class>::digits10;
+@@ -71,3 +74,6 @@ const bool std::numeric_limits<mpq_class>::is_modulo;
+ const bool std::numeric_limits<mpq_class>::traps;
+ const bool std::numeric_limits<mpq_class>::tininess_before;
+ const std::float_round_style std::numeric_limits<mpq_class>::round_style;
++
++#endif //_GNU_MP_VERSION <5
++       // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list