Fri Apr 20 01:36:00 2018 UTC ()
fix for gcc 6
(christos)
diff -r1.33 -r1.34 pkgsrc/x11/efltk/Makefile
diff -r1.14 -r1.15 pkgsrc/x11/efltk/distinfo
diff -r0 -r1.1 pkgsrc/x11/efltk/patches/patch-src_core_Fl__Boxtype.cpp
diff -r0 -r1.1 pkgsrc/x11/efltk/patches/patch-src_core_headers_dingbats__.h
diff -r0 -r1.1 pkgsrc/x11/efltk/patches/patch-src_core_headers_symbol__.h
--- pkgsrc/x11/efltk/Makefile 2018/03/12 11:15:49 1.33
+++ pkgsrc/x11/efltk/Makefile 2018/04/20 01:36:00 1.34
| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.33 2018/03/12 11:15:49 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2018/04/20 01:36:00 christos Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= efltk-2.0.5 | | 4 | DISTNAME= efltk-2.0.5 |
5 | PKGREVISION= 21 | | 5 | PKGREVISION= 22 |
6 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ede/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ede/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://ede.sourceforge.net/ | | 11 | HOMEPAGE= http://ede.sourceforge.net/ |
12 | COMMENT= Extended Fast Light Toolkit | | 12 | COMMENT= Extended Fast Light Toolkit |
13 | LICENSE= gnu-lgpl-v2 # or later | | 13 | LICENSE= gnu-lgpl-v2 # or later |
14 | | | 14 | |
15 | WRKSRC= ${WRKDIR}/efltk | | 15 | WRKSRC= ${WRKDIR}/efltk |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | USE_PKGLOCALEDIR= yes | | 18 | USE_PKGLOCALEDIR= yes |
--- pkgsrc/x11/efltk/distinfo 2016/12/21 13:40:24 1.14
+++ pkgsrc/x11/efltk/distinfo 2018/04/20 01:36:00 1.15
| @@ -1,27 +1,30 @@ | | | @@ -1,27 +1,30 @@ |
1 | $NetBSD: distinfo,v 1.14 2016/12/21 13:40:24 joerg Exp $ | | 1 | $NetBSD: distinfo,v 1.15 2018/04/20 01:36:00 christos Exp $ |
2 | | | 2 | |
3 | SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99 | | 3 | SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99 |
4 | RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8 | | 4 | RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8 |
5 | SHA512 (efltk-2.0.5.tar.bz2) = 869f2d694a8ea4d4d3f3101be359f5a8027e604e662f4bc8ade128caa2e5d6e2dc51ad257243e0805f9381345b9247463a2bb718869bd101f16c43dde348345b | | 5 | SHA512 (efltk-2.0.5.tar.bz2) = 869f2d694a8ea4d4d3f3101be359f5a8027e604e662f4bc8ade128caa2e5d6e2dc51ad257243e0805f9381345b9247463a2bb718869bd101f16c43dde348345b |
6 | Size (efltk-2.0.5.tar.bz2) = 1241294 bytes | | 6 | Size (efltk-2.0.5.tar.bz2) = 1241294 bytes |
7 | SHA1 (patch-aa) = d87f595661c465fc315b643241b22ef65926906e | | 7 | SHA1 (patch-aa) = d87f595661c465fc315b643241b22ef65926906e |
8 | SHA1 (patch-ab) = f6b1fae6962b830ba16ddb5adbb5aec9193ebf59 | | 8 | SHA1 (patch-ab) = f6b1fae6962b830ba16ddb5adbb5aec9193ebf59 |
9 | SHA1 (patch-ac) = cf4474ff83f9630f6b310bc3df0fc16adaff7138 | | 9 | SHA1 (patch-ac) = cf4474ff83f9630f6b310bc3df0fc16adaff7138 |
10 | SHA1 (patch-ad) = 41911884bc0eaa6a4de869b90d62c9ee27d1908b | | 10 | SHA1 (patch-ad) = 41911884bc0eaa6a4de869b90d62c9ee27d1908b |
11 | SHA1 (patch-ae) = 45f32b9d098736443a3d9b405b6fe17da624d9fc | | 11 | SHA1 (patch-ae) = 45f32b9d098736443a3d9b405b6fe17da624d9fc |
12 | SHA1 (patch-af) = 2fe44ea57e0579dcfa43ba597e52161c70f67efd | | 12 | SHA1 (patch-af) = 2fe44ea57e0579dcfa43ba597e52161c70f67efd |
13 | SHA1 (patch-ag) = 29799b2b0aeffbca82dbc98cb1e06eb62a7e595a | | 13 | SHA1 (patch-ag) = 29799b2b0aeffbca82dbc98cb1e06eb62a7e595a |
14 | SHA1 (patch-ah) = 32768bef3acc3e19b151fbfb87ad63d34cd2ec09 | | 14 | SHA1 (patch-ah) = 32768bef3acc3e19b151fbfb87ad63d34cd2ec09 |
15 | SHA1 (patch-configure_in) = 4d5fad7b0b89e80f6a4e4958a3bdc3c6de572bd5 | | 15 | SHA1 (patch-configure_in) = 4d5fad7b0b89e80f6a4e4958a3bdc3c6de572bd5 |
16 | SHA1 (patch-efltk_Fl__Flags_h) = 589ea469042b1271cc9591680f55db6858025db2 | | 16 | SHA1 (patch-efltk_Fl__Flags_h) = 589ea469042b1271cc9591680f55db6858025db2 |
17 | SHA1 (patch-efltk_Fl__Int__List_h) = 8883eb41310736fae2a4a7d90119284d14ebe2fe | | 17 | SHA1 (patch-efltk_Fl__Int__List_h) = 8883eb41310736fae2a4a7d90119284d14ebe2fe |
18 | SHA1 (patch-efltk_Fl__Text__Buffer.h) = 16eb6b48d0f06ac0f2074a0b61a782db7757663e | | 18 | SHA1 (patch-efltk_Fl__Text__Buffer.h) = 16eb6b48d0f06ac0f2074a0b61a782db7757663e |
19 | SHA1 (patch-efltk_Fl__Widget_h) = a35acb6f3af14bd2fabbe1c67b92e80fe561a366 | | 19 | SHA1 (patch-efltk_Fl__Widget_h) = a35acb6f3af14bd2fabbe1c67b92e80fe561a366 |
20 | SHA1 (patch-efltk_Fl__Window.h) = b97f04435b88e05ec4f642b0615575cf8d279dd7 | | 20 | SHA1 (patch-efltk_Fl__Window.h) = b97f04435b88e05ec4f642b0615575cf8d279dd7 |
21 | SHA1 (patch-efltk_db_Fl__Params_h) = 9bb8574d1558f6ca753e0d9845b6fdaebeac38b4 | | 21 | SHA1 (patch-efltk_db_Fl__Params_h) = 9bb8574d1558f6ca753e0d9845b6fdaebeac38b4 |
| | | 22 | SHA1 (patch-src_core_Fl__Boxtype.cpp) = 3b5cabf9bef56a7da453e0d8c35175b734f3132d |
22 | SHA1 (patch-src_core_filename_list.cpp) = 5c4bc4cac3c0d440b493e4da365a925bdf6a49e7 | | 23 | SHA1 (patch-src_core_filename_list.cpp) = 5c4bc4cac3c0d440b493e4da365a925bdf6a49e7 |
23 | SHA1 (patch-src_core_fl__draw__pixmap_cpp) = cd31ac6d730b257bb3e76c9525ad92f9ea0fa3aa | | 24 | SHA1 (patch-src_core_fl__draw__pixmap_cpp) = cd31ac6d730b257bb3e76c9525ad92f9ea0fa3aa |
| | | 25 | SHA1 (patch-src_core_headers_dingbats__.h) = 95e2e0d37a932631baed7d367f126035562ad60f |
| | | 26 | SHA1 (patch-src_core_headers_symbol__.h) = b7587560f17cfbc687ebf9bd4c493d1a5efd42da |
24 | SHA1 (patch-src_images_Fl__Png.cpp) = 0c2d3bf30a5542274048784aaf32256cc5466dea | | 27 | SHA1 (patch-src_images_Fl__Png.cpp) = 0c2d3bf30a5542274048784aaf32256cc5466dea |
25 | SHA1 (patch-src_widgets_Fl__Calendar_cpp) = fb44e30fbed6a48ccd0d07348440df503a7e945e | | 28 | SHA1 (patch-src_widgets_Fl__Calendar_cpp) = fb44e30fbed6a48ccd0d07348440df503a7e945e |
26 | SHA1 (patch-src_widgets_Fl__Input_cpp) = d1f30bf63ef2000a6b676d5a6205d93ddf1347f3 | | 29 | SHA1 (patch-src_widgets_Fl__Input_cpp) = d1f30bf63ef2000a6b676d5a6205d93ddf1347f3 |
27 | SHA1 (patch-src_widgets_Fl__Text__Editor_cpp) = 6dc9f71019612cbac0fe5fffe0388069d8d23e3b | | 30 | SHA1 (patch-src_widgets_Fl__Text__Editor_cpp) = 6dc9f71019612cbac0fe5fffe0388069d8d23e3b |
$NetBSD: patch-src_core_Fl__Boxtype.cpp,v 1.1 2018/04/20 01:36:00 christos Exp $
Avoid gcc-6 narrowing warnings
--- src/core/Fl_Boxtype.cpp.orig 2003-04-24 09:58:36.000000000 -0400
+++ src/core/Fl_Boxtype.cpp 2018-04-19 21:28:39.973007945 -0400
@@ -49,14 +49,14 @@
#ifndef _WIN32
// X version uses stipple pattern because there seem to be too many
// servers with bugs when drawing dotted lines:
- static const char pattern[] = {0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA};
+ static const unsigned char pattern[] = {0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA};
static Pixmap evenstipple, oddstipple;
if (!evenstipple)
{
// Init stipple bitmaps
Window root = RootWindow(fl_display, fl_screen);
- evenstipple = XCreateBitmapFromData(fl_display, root, pattern, 8, 8);
- oddstipple = XCreateBitmapFromData(fl_display, root, pattern+1, 8, 8);
+ evenstipple = XCreateBitmapFromData(fl_display, root, (const char *)pattern, 8, 8);
+ oddstipple = XCreateBitmapFromData(fl_display, root, (const char *)pattern+1, 8, 8);
}
int xx = x; int yy = y; fl_transform(xx,yy);
XSetStipple(fl_display, fl_gc, (xx+yy-x-y)&1 ? oddstipple : evenstipple);
$NetBSD: patch-src_core_headers_dingbats__.h,v 1.1 2018/04/20 01:36:00 christos Exp $
Avoid gcc-6 narrowing warnings
--- src/core/headers/dingbats_.h.orig 2003-01-01 21:37:15.000000000 -0500
+++ src/core/headers/dingbats_.h 2018-04-19 21:26:44.519960223 -0400
@@ -1,6 +1,6 @@
/* dingbats */
-static const char unicode_to_dingbats_1b_0020[] = {
+static const unsigned char unicode_to_dingbats_1b_0020[] = {
/* U+0020 */ 0x20,
0x00,
0x00,
@@ -132,14 +132,14 @@
/* U+00A0 */ 0x20,
};
-static const char unicode_to_dingbats_1b_2192[] = {
+static const unsigned char unicode_to_dingbats_1b_2192[] = {
/* U+2192 */ 0xD5,
0x00,
/* U+2194 */ 0xD6,
/* U+2195 */ 0xD7,
};
-static const char unicode_to_dingbats_1b_2460[] = {
+static const unsigned char unicode_to_dingbats_1b_2460[] = {
/* U+2460 */ 0xAC,
/* U+2461 */ 0xAD,
/* U+2462 */ 0xAE,
@@ -152,7 +152,7 @@
/* U+2469 */ 0xB5,
};
-static const char unicode_to_dingbats_1b_25A0[] = {
+static const unsigned char unicode_to_dingbats_1b_25A0[] = {
/* U+25A0 */ 0x6E,
0x00,
0x00,
@@ -354,7 +354,7 @@
/* U+2666 */ 0xA9,
};
-static const char unicode_to_dingbats_1b_2701[] = {
+static const unsigned char unicode_to_dingbats_1b_2701[] = {
/* U+2701 */ 0x21,
/* U+2702 */ 0x22,
/* U+2703 */ 0x23,
@@ -547,7 +547,7 @@
/* U+27BE */ 0xFE,
};
-static const char unicode_to_dingbats_1b_F8D7[] = {
+static const unsigned char unicode_to_dingbats_1b_F8D7[] = {
/* U+F8D7 */ 0x80,
/* U+F8D8 */ 0x81,
/* U+F8D9 */ 0x82,
$NetBSD: patch-src_core_headers_symbol__.h,v 1.1 2018/04/20 01:36:00 christos Exp $
Avoid gcc-6 narrowing warnings
--- src/core/headers/symbol_.h.orig 2003-01-01 21:37:15.000000000 -0500
+++ src/core/headers/symbol_.h 2018-04-19 21:27:17.409980104 -0400
@@ -1,6 +1,6 @@
/* symbol */
-static const char unicode_to_symbol_1b_0020[] = {
+static const unsigned char unicode_to_symbol_1b_0020[] = {
/* U+0020 */ 0x20,
/* U+0021 */ 0x21,
0x00,
@@ -219,11 +219,11 @@
/* U+00F7 */ 0xB8,
};
-static const char unicode_to_symbol_1b_0192[] = {
+static const unsigned char unicode_to_symbol_1b_0192[] = {
/* U+0192 */ 0xA6,
};
-static const char unicode_to_symbol_1b_0391[] = {
+static const unsigned char unicode_to_symbol_1b_0391[] = {
/* U+0391 */ 0x41,
/* U+0392 */ 0x42,
/* U+0393 */ 0x47,
@@ -296,7 +296,7 @@
/* U+03D6 */ 0x76,
};
-static const char unicode_to_symbol_1b_2022[] = {
+static const unsigned char unicode_to_symbol_1b_2022[] = {
/* U+2022 */ 0xB7,
0x00,
0x00,
@@ -1076,11 +1076,11 @@
/* U+232A */ 0xF1,
};
-static const char unicode_to_symbol_1b_25CA[] = {
+static const unsigned char unicode_to_symbol_1b_25CA[] = {
/* U+25CA */ 0xE0,
};
-static const char unicode_to_symbol_1b_2660[] = {
+static const unsigned char unicode_to_symbol_1b_2660[] = {
/* U+2660 */ 0xAA,
0x00,
0x00,
@@ -1090,13 +1090,13 @@
/* U+2666 */ 0xA8,
};
-static const char unicode_to_symbol_1b_F6D9[] = {
+static const unsigned char unicode_to_symbol_1b_F6D9[] = {
/* U+F6D9 */ 0xD3,
/* U+F6DA */ 0xD2,
/* U+F6DB */ 0xD4,
};
-static const char unicode_to_symbol_1b_F8E5[] = {
+static const unsigned char unicode_to_symbol_1b_F8E5[] = {
/* U+F8E5 */ 0x60,
/* U+F8E6 */ 0xBD,
/* U+F8E7 */ 0xBE,