summaryrefslogtreecommitdiff
path: root/devel/tvision/patches/patch-lib_colorsel_cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tvision/patches/patch-lib_colorsel_cc')
-rw-r--r--devel/tvision/patches/patch-lib_colorsel_cc22
1 files changed, 15 insertions, 7 deletions
diff --git a/devel/tvision/patches/patch-lib_colorsel_cc b/devel/tvision/patches/patch-lib_colorsel_cc
index 55f4e45c69d..d3e432da812 100644
--- a/devel/tvision/patches/patch-lib_colorsel_cc
+++ b/devel/tvision/patches/patch-lib_colorsel_cc
@@ -1,11 +1,19 @@
-$NetBSD: patch-lib_colorsel_cc,v 1.1 2012/06/28 05:35:33 dholland Exp $
+$NetBSD: patch-lib_colorsel_cc,v 1.1.32.1 2016/05/23 05:14:35 bsiegert Exp $
Silence gcc pointer cast warnings. These have been checked to be
harmless.
---- lib/colorsel.cc~ 2001-07-26 07:59:18.000000000 +0000
+--- lib/colorsel.cc.orig 2001-07-26 07:59:18.000000000 +0000
+++ lib/colorsel.cc
-@@ -210,9 +210,9 @@ void TColorSelector::handleEvent( TEvent
+@@ -30,6 +30,7 @@
+ #define Uses_ipstream
+ #include <tvision/tv.h>
+
++#include <inttypes.h>
+ #include <string.h>
+
+ static TColorIndex* colorIndexes = 0;
+@@ -210,9 +211,9 @@ void TColorSelector::handleEvent( TEvent
* SS: some non-portable code changed.
*/
if( selType == csBackground )
@@ -17,7 +25,7 @@ harmless.
drawView();
return ;
}
-@@ -278,7 +278,7 @@ void TMonoSelector::handleEvent( TEvent&
+@@ -278,7 +279,7 @@ void TMonoSelector::handleEvent( TEvent&
/*
* SS: some non-portable code changed.
*/
@@ -26,7 +34,7 @@ harmless.
drawView();
}
}
-@@ -357,12 +357,12 @@ void TColorDisplay::handleEvent( TEvent&
+@@ -357,12 +358,12 @@ void TColorDisplay::handleEvent( TEvent&
/*
* SS: some non-portable code changed.
*/
@@ -41,7 +49,7 @@ harmless.
drawView();
}
}
-@@ -507,7 +507,7 @@ void TColorGroupList::handleEvent(TEvent
+@@ -507,7 +508,7 @@ void TColorGroupList::handleEvent(TEvent
/*
* SS: some non-portable code changed.
*/
@@ -50,7 +58,7 @@ harmless.
}
void TColorGroupList::setGroupIndex(uchar groupNum, uchar itemNum)
-@@ -810,7 +810,7 @@ void TColorDialog::handleEvent( TEvent&
+@@ -810,7 +811,7 @@ void TColorDialog::handleEvent( TEvent&
/*
* SS: some non-portable code changed.
*/