[152950] trunk/dports/www/webkit2-gtk-devel/files

jeremyhu at macports.org jeremyhu at macports.org
Wed Sep 21 00:36:24 PDT 2016


Revision: 152950
          https://trac.macports.org/changeset/152950
Author:   jeremyhu at macports.org
Date:     2016-09-21 00:36:24 -0700 (Wed, 21 Sep 2016)
Log Message:
-----------
webkit-gtk-devel: Minor changes to buildfix patches

Modified Paths:
--------------
    trunk/dports/www/webkit2-gtk-devel/files/PR-162261.patch
    trunk/dports/www/webkit2-gtk-devel/files/PR-162302.patch

Modified: trunk/dports/www/webkit2-gtk-devel/files/PR-162261.patch
===================================================================
--- trunk/dports/www/webkit2-gtk-devel/files/PR-162261.patch	2016-09-21 07:29:22 UTC (rev 152949)
+++ trunk/dports/www/webkit2-gtk-devel/files/PR-162261.patch	2016-09-21 07:36:24 UTC (rev 152950)
@@ -1,26 +1,24 @@
 diff --git a/Source/WebCore/platform/PlatformPasteboard.h b/Source/WebCore/platform/PlatformPasteboard.h
-index 695bc0e..529ba13 100644
+index 695bc0e..1bfdfa4 100644
 --- Source/WebCore/platform/PlatformPasteboard.h
 +++ Source/WebCore/platform/PlatformPasteboard.h
-@@ -26,6 +26,8 @@
+@@ -26,6 +26,7 @@
  #ifndef PlatformPasteboard_h
  #define PlatformPasteboard_h
  
 +#include <functional>
-+
  #include <wtf/Forward.h>
  #include <wtf/RefCounted.h>
  #include <wtf/RetainPtr.h>
 diff --git a/Source/WebCore/platform/gtk/PasteboardHelper.h b/Source/WebCore/platform/gtk/PasteboardHelper.h
-index b15fbef..f98230d 100644
+index b15fbef..3f3c8da 100644
 --- Source/WebCore/platform/gtk/PasteboardHelper.h
 +++ Source/WebCore/platform/gtk/PasteboardHelper.h
-@@ -25,6 +25,8 @@
- #ifndef PasteboardHelper_h
+@@ -26,6 +26,7 @@
  #define PasteboardHelper_h
  
-+#include <functional>
-+
  #include "GRefPtrGtk.h"
++#include <functional>
  #include <wtf/Noncopyable.h>
  #include <wtf/Vector.h>
+ #include <wtf/glib/GRefPtr.h>

Modified: trunk/dports/www/webkit2-gtk-devel/files/PR-162302.patch
===================================================================
--- trunk/dports/www/webkit2-gtk-devel/files/PR-162302.patch	2016-09-21 07:29:22 UTC (rev 152949)
+++ trunk/dports/www/webkit2-gtk-devel/files/PR-162302.patch	2016-09-21 07:36:24 UTC (rev 152950)
@@ -1,19 +1,12 @@
 diff --git a/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp b/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp
-index 4fed6e9..34dfe25 100644
+index 4fed6e9..c58d835 100644
 --- Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp
 +++ Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp
-@@ -544,12 +544,12 @@ bool ScrollbarThemeGtk::paint(Scrollbar& scrollbar, GraphicsContext& graphicsCon
-     if (scrollbar.orientation() == VerticalScrollbar) {
-         if (rect.width() != preferredSize.width()) {
-             if (!scrollbarOnLeft)
--                contentsRect.move(std::abs(rect.width() - preferredSize.width()), 0);
-+                contentsRect.move(std::abs((double)(rect.width() - preferredSize.width())), 0);
-             contentsRect.setWidth(preferredSize.width());
-         }
-     } else {
-         if (rect.height() != preferredSize.height()) {
--            contentsRect.move(0, std::abs(rect.height() - preferredSize.height()));
-+            contentsRect.move(0, std::abs((double)(rect.height() - preferredSize.height())));
-             contentsRect.setHeight(preferredSize.height());
-         }
-     }
+@@ -33,6 +33,7 @@
+ #include "RenderThemeGadget.h"
+ #include "ScrollView.h"
+ #include "Scrollbar.h"
++#include <cstdlib>
+ #include <gtk/gtk.h>
+ 
+ namespace WebCore {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160921/692fa21f/attachment-0001.html>


More information about the macports-changes mailing list