[packages/libstk] - enhanced boost patch to cover explicit operator bool in boost::optional - release .18

qboosh qboosh at pld-linux.org
Sat Apr 15 07:33:20 CEST 2017


commit ed2b19530855d695f745f3e27200695b89dc8c55
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 15 07:33:26 2017 +0200

    - enhanced boost patch to cover explicit operator bool in boost::optional
    - release .18

 libstk-boost.patch | 11 +++++++++++
 libstk.spec        |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libstk.spec b/libstk.spec
index bb05b9e..75efdc0 100644
--- a/libstk.spec
+++ b/libstk.spec
@@ -13,7 +13,7 @@
 %bcond_without	apidocs		# API/internal docs in HTML format
 #
 %define		snap	20070719
-%define		rel	17
+%define		rel	18
 Summary:	LibSTK - graphical widget set written in C++
 Summary(pl.UTF-8):	LibSTK - zbiór graficznych widgetów napisany w C++
 Name:		libstk
diff --git a/libstk-boost.patch b/libstk-boost.patch
index 918cba7..8c39536 100644
--- a/libstk-boost.patch
+++ b/libstk-boost.patch
@@ -330,3 +330,14 @@
              INFO("mouse button " << me->button() << " released");
              return;
              break; // mouse_up
+--- dvhart-libstk-6186fff/libstk/surface_dfb.cpp.orig	2017-04-14 23:11:37.470670093 +0200
++++ dvhart-libstk-6186fff/libstk/surface_dfb.cpp	2017-04-15 07:24:28.175274064 +0200
+@@ -25,7 +25,7 @@
+         DFBSurfaceDescription dsc;
+         memset(&dsc, 0, sizeof(dsc));
+ 
+-        bool rect_specified = rect;
++        bool rect_specified = bool(rect);
+         
+         dsc.flags = DSDESC_CAPS;
+         backend_handle = backend_dfb::get();
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libstk.git/commitdiff/ed2b19530855d695f745f3e27200695b89dc8c55



More information about the pld-cvs-commit mailing list