NetBSD Problem Report #43728

From www@NetBSD.org  Mon Aug  9 23:15:45 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 65CB663B952
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  9 Aug 2010 23:15:45 +0000 (UTC)
Message-Id: <20100809231544.ABF2763B842@www.NetBSD.org>
Date: Mon,  9 Aug 2010 23:15:44 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update libquantum to 1.1.0
X-Send-Pr-Version: www-1.0

>Number:         43728
>Category:       pkg
>Synopsis:       Update libquantum to 1.1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 09 23:20:00 +0000 2010
>Closed-Date:    
>Last-Modified:  Sun Aug 15 12:21:31 +0000 2010
>Originator:     Derouiche
>Release:        NetBSD 5.0.2
>Organization:
Algerie Motors company
>Environment:
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
n/a
>How-To-Repeat:
n/a
>Fix:
$ diff -urN libquantum/Makefile.orig libquantum/Makefile
--- libquantum/Makefile.orig	2010-08-09 23:47:52.000000000 +0000
+++ libquantum/Makefile	2010-08-10 00:10:13.000000000 +0000
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile,v 1.1 2005/02/01 20:52:38 augustss Exp $
+# $NetBSD$
 #

-DISTNAME=	libquantum-0.2.4
+DISTNAME=	libquantum-1.1.0
 CATEGORIES=	misc
-MASTER_SITES=	http://www.enyo.de/libquantum/downloads/
+MASTER_SITES=	http://www.libquantum.de/files/

 MAINTAINER=	lennart@augustsson.net
 HOMEPAGE=	http://www.enyo.de/libquantum/
 COMMENT=	Quantum computing simulation library
+LICENSE=	gnu-gpl-v3

 PKG_DESTDIR_SUPPORT=	user-destdir

 GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes

 INSTALL_TARGET=	install quobtools_install

$ diff -urN libquantum/PLIST.orig libquantum/PLIST   
--- libquantum/PLIST.orig	2010-08-09 23:47:58.000000000 +0000
+++ libquantum/PLIST	2010-08-10 00:11:52.000000000 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2005/02/01 20:52:38 augustss Exp $
+@comment $NetBSD$
 bin/quobdump
 bin/quobprint
 include/quantum.h

$ diff -urN libquantum/patch.orig libquantum/patches/patch-aa  
--- libquantum/patch.orig	1970-01-01 00:00:00.000000000 +0000
+++ libquantum/patches/patch-aa	2010-08-10 00:03:37.000000000 +0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- measure.c.orig	2010-08-09 23:58:59.000000000 +0000
++++ measure.c	2010-08-10 00:01:16.000000000 +0000
+@@ -40,7 +40,7 @@
+ double 
+ quantum_frand()
+ {
+-  return (double) rand() / RAND_MAX;
++  return (double) random() / RAND_MAX;
+ }
+ 
+ /* Measure the contents of a quantum register */

---
Suggested create new category (example: science or physics)!. 

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 15 Aug 2010 07:21:10 +0000
Responsible-Changed-Why:
I'll try to update to 1.0.0, stable version.
1.1.0 is development version.


State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 15 Aug 2010 07:38:03 +0000
State-Changed-Why:
Updated to 1.0.0.
Do you really want development version 1.1.0?


From: kamel derouiche <kamelderouiche@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43728 (Update libquantum to 1.1.0)
Date: Sun, 15 Aug 2010 01:49:40 -0700 (PDT)

 > Do you really want development version 1.1.0?
  yes, 




Responsible-Changed-From-To: obache->pkg-manager
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 15 Aug 2010 12:21:31 +0000
Responsible-Changed-Why:
1.1.0 development release is not compatible with 1.0.0 stable release.
Maybe, 1.1.0 should be imported as new -devel package.
Back to default role.


State-Changed-From-To: feedback->open
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 15 Aug 2010 12:21:31 +0000
State-Changed-Why:


>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.