Date: Sat, 27 Nov 1999 15:16:39 +0800 (CST) From: "Alex D. Chen" <dhchen@ilh.dorm9.nccu.edu.tw> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/15110: ports/games/gnomegames build failure on -current Message-ID: <199911270716.PAA57013@ilh.dorm9.nccu.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 15110 >Category: ports >Synopsis: ports/games/gnomegames build failure on -current >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 26 23:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Alex D. Chen >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD ilh.dorm9.nccu.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sat Nov 27 06:48:47 CST 1999 root@:/usr/src/sys/compile/CANVAS i386 >Description: Due to lack of type-casting,ports/games/gnomegames build failure on -current Below is the error message: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/u sr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gtk12 -DGNOMEL OCALDIR=\""/usr/X11R6/share/gnome/local"\" -I/usr/local/include -I/usr/X11R6/i nclude/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib 12 -O2 -mpentiumpro -march=pentiumpro -pipe -c MCursor.cc MCursor.cc: In method Void MCursor::load(const char *, int)': MCursor.cc:12: ANSI C++ forbids implicit conversion from Void *' in argument pass ing MCursor.cc:21: ANSI C++ forbids implicit conversion from Void *' in argument pass ing gmake[1]: *** [MCursor.o] Error 1 gmake[1]: Leaving directory /usr/ports/games/gnomegames/work/gnome-games-1.0.51/xbill' gmake: *** [all-recursive] Error 1 >How-To-Repeat: cd /usr/ports/games/gnomegames;make >Fix: --- MCursor.cc.old Thu Jun 3 17:39:58 1999 +++ MCursor.cc Sat Nov 27 10:44:01 1999 @@ -9,7 +9,7 @@ sprintf (file, "%s/%s.xpm", dir, name); pixmap = gdk_pixmap_colormap_create_from_xpm(ui.display, ui.colormap, - &bitmap, NULL, file); + &bitmap, (GdkColor *)NULL, file); if (pixmap == NULL) { printf ("cannot open %s\n", file); exit(1); @@ -18,7 +18,7 @@ if (masked == SEP_MASK) { sprintf(file, "%s/%s_mask.xpm", dir, name); pixmap = gdk_pixmap_colormap_create_from_xpm(ui.display, ui.colormap, - &mask, NULL, file); + &mask, (GdkColor *)NULL, file); if (pixmap == NULL) { printf("cannot open %s\n", file); exit(1); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911270716.PAA57013>