NetBSD Problem Report #38863
From martin@duskware.de Thu Jun 5 07:34:55 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 340B663BBCF
for <gnats-bugs@gnats.netbsd.org>; Thu, 5 Jun 2008 07:34:55 +0000 (UTC)
Message-Id: <20080605061126.3743A63BA89@narn.NetBSD.org>
Date: Thu, 5 Jun 2008 06:11:26 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: netbsd-bugs-owner@NetBSD.org
Subject: graphics/libggi doesn't compile in DragonFly and FreeBSD
X-Send-Pr-Version: www-1.0
>Number: 38863
>Category: pkg
>Synopsis: graphics/libggi doesn't compile in DragonFly and FreeBSD
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: dfly-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 05 07:35:00 +0000 2008
>Closed-Date: Sun Jul 13 15:01:29 +0000 2008
>Last-Modified: Sun Jul 13 15:05:02 +0000 2008
>Originator: Hasso Tepper
>Release: DragonFly
>Organization:
>Environment:
DragonFly
>Description:
if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -D_REENTRANT -D_THREAD_SAFE -MT visual.lo -MD -MP -MF ".deps/visual.Tpo" -c -o visual.lo visual.c; then mv -f ".deps/visual.Tpo" ".deps/visual.Plo"; else rm -f ".deps/visual.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/scratch/graphics/libggi/work/.buildlink/include -O2 -D_REENTRANT -D_THREAD_SAFE -MT visual.lo -MD -MP -MF .deps/visual.Tpo -c visual.c -fPIC -DPIC -o .libs/visual.o visual.c: In function 'GGIopen': visual.c:213: error: invalid lvalue in assignment *** Error
code 1
Other platforms are not affected because vgl is compiled only in FreeBSD and DragonFly.
>How-To-Repeat:
>Fix:
The patch to fix the problem is available at
http://leaf.dragonflybsd.org/~hasso/pkgsrc-graphics-libggi.patch
The patch is from upstream CVS:
http://ggi.cvs.sourceforge.net/ggi/ggi-core/libggi/display/vgl/visual.c?r1=1.12&r2=1.13
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Tue, 10 Jun 2008 02:33:09 +0000
Responsible-Changed-Why:
DragonFly (and FreeBSD) problem.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 13 Jul 2008 15:01:29 +0000
State-Changed-Why:
Patch applied. Thanks!
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38863 CVS commit: pkgsrc/graphics/libggi
Date: Sun, 13 Jul 2008 15:00:48 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Sun Jul 13 15:00:48 UTC 2008
Modified Files:
pkgsrc/graphics/libggi: distinfo
Added Files:
pkgsrc/graphics/libggi/patches: patch-ae
Log Message:
Add patch to fix build failure in FreeBSD and DragonFly specific code.
Patch provided by Hasso Tepper in PR 38863 and alread fixed in upsteram.
http://ggi.cvs.sourceforge.net/ggi/ggi-core/libggi/display/vgl/visual.c?r1=1.12&r2=1.13
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/graphics/libggi/distinfo
cvs rdiff -r0 -r1.3 pkgsrc/graphics/libggi/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.