pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kde-workspace4 gcc6 fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ded661c58f5
branches:  trunk
changeset: 349786:2ded661c58f5
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jul 16 00:47:00 2016 +0000

description:
gcc6 fixes

diffstat:

 x11/kde-workspace4/distinfo                                                   |   6 +-
 x11/kde-workspace4/patches/patch-kcontrol_randr_randroutput.cpp               |  30 ++++++++++
 x11/kde-workspace4/patches/patch-kwin_glxbackend.cpp                          |  18 ++++-
 x11/kde-workspace4/patches/patch-libs_kephal_service_xrandr12_randroutput.cpp |  15 +++++
 4 files changed, 63 insertions(+), 6 deletions(-)

diffs (118 lines):

diff -r 0832139ce143 -r 2ded661c58f5 x11/kde-workspace4/distinfo
--- a/x11/kde-workspace4/distinfo       Sat Jul 16 00:37:44 2016 +0000
+++ b/x11/kde-workspace4/distinfo       Sat Jul 16 00:47:00 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2016/01/11 00:00:28 markd Exp $
+$NetBSD: distinfo,v 1.17 2016/07/16 00:47:00 markd Exp $
 
 SHA1 (Daemon.README) = eb1e6af52adc02ded77af17e8953134b7e60d23b
 RMD160 (Daemon.README) = 39edd92ed4314397080f32a8caff0ac3f716ecf4
@@ -17,6 +17,7 @@
 SHA512 (kde-workspace-4.11.22.tar.xz) = 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95
 Size (kde-workspace-4.11.22.tar.xz) = 13553668 bytes
 SHA1 (patch-kcontrol_keyboard_xkb_rules.cpp) = e4569e0671c55e990cbc0913e5abaead046a8e71
+SHA1 (patch-kcontrol_randr_randroutput.cpp) = 6f9e6f18007023941018d2088a585c2ab30a7299
 SHA1 (patch-kdm_config.def) = ac0907cc59c5f0976cdbe152bb7fb0a4592bbe84
 SHA1 (patch-kdm_kcm_main.cpp) = bb692c83fa189342105744cc9c3c180b970571b7
 SHA1 (patch-kdm_kfrontend_CMakeLists.txt) = 0b0c541c7305d31e01a45f0a6a7f5ddb2d2e57fe
@@ -33,9 +34,10 @@
 SHA1 (patch-ksysguard_ksysguardd_NetBSD_ProcessList.c) = 0921fe9569bd54f5e381ebead738b95e431bb1d5
 SHA1 (patch-ksysguard_ksysguardd_Solaris_LoadAvg.c) = bc3c434d09485cdf03a357ab5621271adcc3627b
 SHA1 (patch-kwin_effects_mousemark_mousemark.cpp) = 4b6625f9bebf6bd2c6057d7045d9ce6af3103578
-SHA1 (patch-kwin_glxbackend.cpp) = a5e954a70e943a2d40d35f8a49b611b03d072af6
+SHA1 (patch-kwin_glxbackend.cpp) = c0e1c43cfb832cdc966156c54e5e12d78e78e7ab
 SHA1 (patch-kwin_killer_killer.cpp) = b64133ee8b96e4275ed1cbe68a64630e08f77154
 SHA1 (patch-kwin_scene_opengl.cpp) = 53de757225b74ddf85609b2ec920659964940e59
+SHA1 (patch-libs_kephal_service_xrandr12_randroutput.cpp) = 03fc906e4ec34b31d9237ea27e7c94f3cfd4213b
 SHA1 (patch-libs_ksysguard_ksgrd_SensorManager.cpp) = 5fa92fa4876514198813f900f71f3364794b8248
 SHA1 (patch-libs_ksysguard_processcore_CMakeLists.txt) = 61b886388aa5d0831581eacb7db79de0ae5eaf80
 SHA1 (patch-libs_ksysguard_processcore_processes.cpp) = 8bfcc8b7e91eafd6b444f4103d3860fb6434a535
diff -r 0832139ce143 -r 2ded661c58f5 x11/kde-workspace4/patches/patch-kcontrol_randr_randroutput.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kde-workspace4/patches/patch-kcontrol_randr_randroutput.cpp   Sat Jul 16 00:47:00 2016 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-kcontrol_randr_randroutput.cpp,v 1.1 2016/07/16 00:47:00 markd Exp $
+
+fixes for gcc6 from opensuse
+
+--- kcontrol/randr/randroutput.cpp.orig        2015-08-12 07:03:15.000000000 +0000
++++ kcontrol/randr/randroutput.cpp
+@@ -202,12 +202,12 @@ void RandROutput::handleEvent(XRROutputC
+               m_connected = (event->connection == RR_Connected);
+               loadSettings(false);
+               if (!m_connected && currentCrtc != None)
+-                      setCrtc(None);
++                      setCrtc(NULL);
+       }
+ 
+       // check if we are still connected, if not, release the crtc connection
+       if(!m_connected && m_crtc->isValid())
+-              setCrtc(None);
++              setCrtc(NULL);
+ 
+       if(changed)
+               emit outputChanged(m_id, changed);
+@@ -267,7 +267,7 @@ ModeList RandROutput::modes() const
+ RandRMode RandROutput::mode() const
+ {
+       if (!isConnected())
+-              return None;
++              return NULL;
+ 
+       if (!m_crtc)
+               return RandRMode();
diff -r 0832139ce143 -r 2ded661c58f5 x11/kde-workspace4/patches/patch-kwin_glxbackend.cpp
--- a/x11/kde-workspace4/patches/patch-kwin_glxbackend.cpp      Sat Jul 16 00:37:44 2016 +0000
+++ b/x11/kde-workspace4/patches/patch-kwin_glxbackend.cpp      Sat Jul 16 00:47:00 2016 +0000
@@ -1,10 +1,20 @@
-$NetBSD: patch-kwin_glxbackend.cpp,v 1.1 2013/12/12 11:09:28 markd Exp $
+$NetBSD: patch-kwin_glxbackend.cpp,v 1.2 2016/07/16 00:47:00 markd Exp $
 
+fixes for gcc6 from opensuse
 Don't fail build with old MesaLib 
 
---- kwin/glxbackend.cpp.orig   2013-09-26 19:18:26.000000000 +0000
+--- kwin/glxbackend.cpp.orig   2015-08-12 07:03:15.000000000 +0000
 +++ kwin/glxbackend.cpp
-@@ -152,6 +152,7 @@ bool GlxBackend::initRenderingContext()
+@@ -45,7 +45,7 @@ GlxBackend::GlxBackend()
+     , window(None)
+     , fbconfig(NULL)
+     , glxWindow(None)
+-    , ctx(None)
++    , ctx(NULL)
+     , m_bufferAge(0)
+     , haveSwapInterval(false)
+ {
+@@ -164,6 +164,7 @@ bool GlxBackend::initRenderingContext()
  {
      bool direct = options->isGlDirect();
  
@@ -12,7 +22,7 @@
      // Use glXCreateContextAttribsARB() when it's available
      if (glXCreateContextAttribsARB) {
          const int attribs_31_core_robustness[] = {
-@@ -197,6 +198,7 @@ bool GlxBackend::initRenderingContext()
+@@ -209,6 +210,7 @@ bool GlxBackend::initRenderingContext()
          if (!ctx)
              ctx = glXCreateContextAttribsARB(display(), fbconfig, 0, direct, attribs_legacy);
      }
diff -r 0832139ce143 -r 2ded661c58f5 x11/kde-workspace4/patches/patch-libs_kephal_service_xrandr12_randroutput.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kde-workspace4/patches/patch-libs_kephal_service_xrandr12_randroutput.cpp     Sat Jul 16 00:47:00 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libs_kephal_service_xrandr12_randroutput.cpp,v 1.1 2016/07/16 00:47:00 markd Exp $
+
+gcc6 fixes from opensuse
+
+--- libs/kephal/service/xrandr12/randroutput.cpp.orig  2015-08-12 07:03:15.000000000 +0000
++++ libs/kephal/service/xrandr12/randroutput.cpp
+@@ -227,7 +227,7 @@ ModeList RandROutput::modes() const
+ RandRMode RandROutput::mode() const
+ {
+     if (!isConnected())
+-        return None;
++        return NULL;
+ 
+     if (!m_crtc)
+         return RandRMode();



Home | Main Index | Thread Index | Old Index