From owner-freebsd-ports Tue Jun 15 22:50: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 191D114D4D for ; Tue, 15 Jun 1999 22:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA99101; Tue, 15 Jun 1999 22:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from tla.org (unknown [199.97.241.133]) by hub.freebsd.org (Postfix) with ESMTP id 1500D14D60 for ; Tue, 15 Jun 1999 22:40:19 -0700 (PDT) (envelope-from ji@tla.org) Received: (from ji@localhost) by tla.org (8.9.3/8.8.5) id BAA13915; Wed, 16 Jun 1999 01:40:19 -0400 (EDT) Message-Id: <199906160540.BAA13915@tla.org> Date: Wed, 16 Jun 1999 01:40:19 -0400 (EDT) From: ji@research.att.com Reply-To: ji@research.att.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12234: imlib-1.9.4/gdk_imlib/rend.c syntax error Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12234 >Category: ports >Synopsis: imlib-1.9.4/gdk_imlib/rend.c has syntax errors >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 15 22:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: John "Heldenprogrammer" Ioannidis >Release: FreeBSD 3.2-RELEASE i386 >Organization: AT&T Labs - Research >Environment: FreeBSD 3.2, freshly cvsup'ed source and ports trees. Some of the gtk/gdk packages installed from the CD; enough for the port to start compiling. >Description: Here are the last few lines of the build: /bin/sh /usr/local/bin/libtool --mode=compile cc -DDJPEG_PROG=\"/usr/local/bin/djpeg\" -DCJPEG_PROG=\"/usr/local/bin/cjpeg\" -DCONVERT_PATH=\"/usr/local/bin\" -DNETPBM_PATH=\"/usr/X11R6/bin\" -DSYSTEM_IMRC=\"/usr/X11R6/etc/imlib/imrc\" -DIMLIB_LIB=\""/usr/X11R6/lib"\" -I. -I. -I.. -I./.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/giflib -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -O -pipe -c rend.c rm -f .libs/rend.lo cc -DDJPEG_PROG=\"/usr/local/bin/djpeg\" -DCJPEG_PROG=\"/usr/local/bin/cjpeg\" -DCONVERT_PATH=\"/usr/local/bin\" -DNETPBM_PATH=\"/usr/X11R6/bin\" -DSYSTEM_IMRC=\"/usr/X11R6/etc/imlib/imrc\" -DIMLIB_LIB=\"/usr/X11R6/lib\" -I. -I. -I.. -I./.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/giflib -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -O -pipe -c -fPIC -DPIC rend.c -o .libs/rend.lo rend.c: In function `gdk_imlib_pixmap_foreign_new': rend.c:23: structure has no member named `colormap' rend.c:24: structure has no member named `children' *** Error code 1 Stop. And here are the offending lines from the source (rend.c) 7 GdkPixmap * 8 gdk_imlib_pixmap_foreign_new(gint width, gint height, 9 gint depth, Pixmap pmap) 10 { 11 GdkPixmap *pixmap; 12 GdkWindowPrivate *private; 13 GdkWindowPrivate *window_private; 14 15 private = g_new0(GdkWindowPrivate, 1); 16 pixmap = (GdkPixmap *) private; 17 18 window_private = (GdkWindowPrivate *) id->x.gdk_win; 19 20 private->xdisplay = window_private->xdisplay; 21 private->window_type = GDK_WINDOW_PIXMAP; 22 private->xwindow = pmap; 23 private->colormap = id->x.gdk_cmap; 24 private->children = NULL; 25 private->parent = NULL; 26 private->x = 0; 27 private->y = 0; 28 private->width = width; 29 private->height = height; 30 private->resize_count = 0; 31 private->ref_count = 1; 32 private->destroyed = 0; >How-To-Repeat: go to /usr/ports/graphics/imlib and type make! >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message