NetBSD Problem Report #33792

From dauphin@enst.fr  Thu Jun 22 08:06:15 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 427F763B8B4
	for <gnats-bugs@gnats.netbsd.org>; Thu, 22 Jun 2006 08:06:15 +0000 (UTC)
Message-Id: <1150963572.10869@bi.enst.fr>
Date: Thu, 22 Jun 2006 10:06:12 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: multimedia/mpeg4ip gcc3.4.3 Solaris10
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33792
>Category:       pkg
>Synopsis:       multimedia/mpeg4ip gcc3.4.3 Solaris10
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 22 08:10:00 +0000 2006
>Closed-Date:    Thu Feb 07 15:25:21 +0000 2013
>Last-Modified:  Thu Feb 07 15:25:21 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


 g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/pkg/obj/multimedia/mpeg4ip/work/.buildlink/include -DGLX_GLXEXT_LEGACY -D_REENTRANT -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -O -DMPEG4IP -I/pkg/obj/multimedia/mpeg4ip/work/.buildlink/include/SDL -D_GNU_SOURCE=1 -MT config_opts.lo -MD -MP -MF .deps/config_opts.Tpo -c config_opts.cpp  -fPIC -DPIC -o .libs/config_opts.o
config_opts.cpp: In function `option* create_long_opts_from_config(CConfigSet*, option*, uint32_t, uint32_t)':
config_opts.cpp:25: error: invalid conversion from `const char*' to `char*'
*** Error code 1

Stop.
bmake: stopped in /pkg/obj/multimedia/mpeg4ip/work/mpeg4ip-1.5/lib/utils
*** Error code 1



>How-To-Repeat:


bmake


>Fix:


???


>Release-Note:

>Audit-Trail:
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33792: multimedia/mpeg4ip gcc3.4.3 Solaris10
Date: Thu, 22 Jun 2006 14:09:26 +0200 (CEST)

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/plain; charset=us-ascii
 Content-MD5: 17mBWtRT3/rwnJigvkKKNQ==



 > >Synopsis:       multimedia/mpeg4ip gcc3.4.3 Solaris10
 > 
 > 
 > >Fix:
 > 

 Fix for Solaris see Attachments

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/x-sun-Makefile; name=Makefile; charset=us-ascii; x-unix-mode=0644
 Content-Description: Makefile
 Content-MD5: biywTHfcr84I/VbUJUNWDA==

 # $NetBSD: Makefile,v 1.8 2006/06/12 16:28:12 wiz Exp $

 DISTNAME=		mpeg4ip-1.5
 PKGREVISION=		2
 CATEGORIES=		multimedia
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=mpeg4ip/}

 MAINTAINER=		pkgsrc-users@NetBSD.org
 HOMEPAGE=		http://mpeg4ip.sourceforge.net/
 COMMENT=		Tools for streaming video and audio

 CONFLICTS+=		faad2<2.0nb6

 USE_LANGUAGES=		c c++
 USE_PKGLOCALEDIR=	yes
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	bootstrap
 LIBTOOL_OVERRIDE=	libtool */libtool */*/libtool */*/*/libtool

 CFLAGS.SunOS+=		-DHAVE_INET_NTOP

 .include "../../devel/SDL/buildlink3.mk"
 .include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/plain; name=patch-da; charset=us-ascii; x-unix-mode=0644
 Content-Description: patch-da
 Content-MD5: mGwcZenotqbVDcRrtN0Rtw==

 --- lib/utils/config_opts.cpp.orig	Tue May  4 20:53:09 2004
 +++ lib/utils/config_opts.cpp	Thu Jun 22 11:48:28 2006
 @@ -22,7 +22,7 @@
    memset(long_options, 0, opts_size);

    for (ix = 0; ix < max_vars; ix++) {
 -    long_options[ix].name = pConfig->GetNameFromIndex(ix);
 +    long_options[ix].name = (char*) pConfig->GetNameFromIndex(ix);
      long_options[ix].has_arg = pConfig->GetTypeFromIndex(ix) == CONFIG_TYPE_BOOL ? 2 : 1;
      long_options[ix].val = base_offset + ix;
    }

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/plain; name=patch-db; charset=us-ascii; x-unix-mode=0644
 Content-Description: patch-db
 Content-MD5: orjLqrDjVySNwHSWcIfKQQ==

 --- lib/rtp/rtp.c.orig	Tue Mar 21 00:08:24 2006
 +++ lib/rtp/rtp.c	Thu Jun 22 12:19:44 2006
 @@ -74,6 +74,8 @@
   */
  #define MAX_ENCRYPTION_PAD 16

 +#define MAX(a,b) ((a) > (b) ? (a) : (b))
 +
  static int rijndael_initialize(struct rtp *session, u_char *hash, int hash_len);

  static int rijndael_decrypt(void *ifptr, uint8_t *data,

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/plain; name=patch-dc; charset=us-ascii; x-unix-mode=0644
 Content-Description: patch-dc
 Content-MD5: UuSO4fHmnKEqpN80pBVg+A==

 --- common/video/iso-mpeg4/include/PEZW_zerotree.hpp.orig	Thu Jun 22 12:39:14 2006
 +++ common/video/iso-mpeg4/include/PEZW_zerotree.hpp	Thu Jun 22 12:46:41 2006
 @@ -78,7 +78,12 @@

  /* for internal use only, not sent as zerotree symbols  */
  #define DZ     4               /* descendant of a ZTRV */
 -/*#define DS     4               /* descendant of a ZTRS */
 +/*#define DS     4            */   /* descendant of a ZTRS */
 +/* in Solaris i386 DS is define as :
 +   The names and offsets defined here are specified by i386 ABI suppl.
 +   in /usr/include/sys/regset.h
 +   and conflict with this def.
 +*/
  #undef DS
  #define SKIP   13			/* out of shape */						
  #define SKPZTR 14			/* out of shape and zero tree root */	

 --Nest_of_Vipers_477_000
 Content-Type: TEXT/plain; name=patch-dd; charset=us-ascii; x-unix-mode=0644
 Content-Description: patch-dd
 Content-MD5: RGgJUi/jBQY4kYtsOH0Yig==

 --- common/video/iso-mpeg4/src/vtc_ztq_QMInit.cpp.orig	Wed May  4 21:56:01 2005
 +++ common/video/iso-mpeg4/src/vtc_ztq_QMInit.cpp	Thu Jun 22 12:54:40 2006
 @@ -78,7 +78,8 @@
      {
        noteError("Can't allocate memory for prevQList.");
        err = -1;
 -      goto ERR;
 +/* ERR is still define in Solaris */
 +      goto TheERR;
      }

    /* allocatate memory for prevQList2 */
 @@ -88,7 +89,7 @@
      {
        noteError("Can't allocate memory for prevQList.");
        err = -1;
 -      goto ERR;
 +      goto TheERR;
      }

    /* allocatate memory for prevQList */
 @@ -98,10 +99,10 @@
      {
        noteError("Can't allocate memory for scaleLev.");
        err = -1;
 -      goto ERR;
 +      goto TheERR;
      }

 -ERR:
 +TheERR:
    return err;
  }


 --Nest_of_Vipers_477_000--

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Sat, 24 Jun 2006 06:08:22 +0000
Responsible-Changed-Why:
Solaris-specific problem.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 15:25:21 +0000
State-Changed-Why:
I don't see a need to keep this PR around any longer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.