pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43728: Update libquantum to



>Number:         43728
>Category:       pkg
>Synopsis:       Update libquantum to
>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
>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@localhost:/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@localhost
 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)!. 



Home | Main Index | Thread Index | Old Index