gsrc-commit
[Top][All Lists]
Advanced

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

[Gsrc-commit] /srv/bzr/gsrc/trunk r1984: update gnucap to 0.35 and fix b


From: Brandon Invergo
Subject: [Gsrc-commit] /srv/bzr/gsrc/trunk r1984: update gnucap to 0.35 and fix build
Date: Tue, 19 Mar 2013 00:11:14 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 1984
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Tue 2013-03-19 00:11:14 +0100
message:
  update gnucap to 0.35 and fix build
added:
  gnu/gnucap/files/
  gnu/gnucap/files/gnucap-0.35-fix-build.diff
modified:
  gnu/gnucap/Makefile
  gnu/gnucap/sha256sums
=== modified file 'gnu/gnucap/Makefile'
--- a/gnu/gnucap/Makefile       2013-01-20 15:27:06 +0000
+++ b/gnu/gnucap/Makefile       2013-03-18 23:11:14 +0000
@@ -1,24 +1,27 @@
 NAME = Gnucap
 GARNAME = gnucap
-GARVERSION = 0.31
-HOME_URL = http://www.gnu.org/software/gnucap/
+GARVERSION = 0.35
+HOME_URL = http://www.gnucap.org/
 DESCRIPTION = Gnu Circuit Analysis Package
+define BLURB
+ Gnucap is a circuit analysis package.  It offers a general purpose
+ circuit simulator and can perform DC and transient analyses, fourier
+ analysis and AC analysis.  The engine is designed to do true mixed-
+ mode simulation.
+endef
 
 ######################################################################
 
-MASTER_SITES = $(MASTER_GNU)
-MASTER_SUBDIR = $(GARNAME)/
+MASTER_SITES = http://www.gnucap.org/
+MASTER_SUBDIR = archive/
 DISTFILES = $(DISTNAME).tar.gz
 SIGFILES = 
+PATCHFILES = $(DISTNAME)-fix-build.diff
 
 BUILDDEPS = 
 LIBDEPS = 
 
 ######################################################################
 
-ifeq ($(FORCE_BUILD),y)
-       include ../../gar.lib/auto.mk
-else
-       include ../../gar.lib/broken.mk
-endif
+include ../../gar.lib/auto.mk
 include config.mk

=== added directory 'gnu/gnucap/files'
=== added file 'gnu/gnucap/files/gnucap-0.35-fix-build.diff'
--- a/gnu/gnucap/files/gnucap-0.35-fix-build.diff       1970-01-01 00:00:00 
+0000
+++ b/gnu/gnucap/files/gnucap-0.35-fix-build.diff       2013-03-18 23:11:14 
+0000
@@ -0,0 +1,103 @@
+This patch accounts for several compilation failures due to not explicitly 
+including the <cstring> header.
+
+Binary files tmp/gnucap-0.35/man/gnucap-man.pdf and 
work/gnucap-0.35/man/gnucap-man.pdf differ
+diff -x config.log -x config.status -ru work/gnucap-0.35/modelgen/ap.h 
work/gnucap-0.35/modelgen/ap.h
+--- work/gnucap-0.35/modelgen/ap.h     2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/modelgen/ap.h     2013-03-19 00:01:08.674239783 +0100
+@@ -25,6 +25,7 @@
+ #ifndef AP_H
+ #define AP_H
+ #include "md.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ enum AP_MOD{
+   mNONE,      /* nothing special */
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/ap.h 
work/gnucap-0.35/src/ap.h
+--- work/gnucap-0.35/src/ap.h  2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/ap.h  2013-03-19 00:02:52.137578847 +0100
+@@ -25,6 +25,7 @@
+ #ifndef AP_H
+ #define AP_H
+ #include "md.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ enum AP_MOD{
+   mNONE,      /* nothing special */
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/e_base.h 
work/gnucap-0.35/src/e_base.h
+--- work/gnucap-0.35/src/e_base.h      2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/e_base.h      2013-03-19 00:03:31.267581016 +0100
+@@ -28,6 +28,7 @@
+ #include "u_opt.h"
+ #include "u_status.h"
+ #include "m_matrix.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ // this file
+ class CKT_BASE;
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/io_findf.cc 
work/gnucap-0.35/src/io_findf.cc
+--- work/gnucap-0.35/src/io_findf.cc   2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/io_findf.cc   2013-03-19 00:05:01.130919322 +0100
+@@ -33,6 +33,7 @@
+  */
+ //testing=script,sparse 2006.07.17
+ #include "l_lib.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ std::string findfile(const std::string& filename, const std::string& path,
+                    int mode)
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/io_getln.cc 
work/gnucap-0.35/src/io_getln.cc
+--- work/gnucap-0.35/src/io_getln.cc   2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/io_getln.cc   2013-03-19 00:05:19.867587037 +0100
+@@ -28,6 +28,7 @@
+  */
+ //testing=script 2006.07.17
+ #include "l_lib.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ std::string getlines(FILE *fileptr)
+ {
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/io_out.cc 
work/gnucap-0.35/src/io_out.cc
+--- work/gnucap-0.35/src/io_out.cc     2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/io_out.cc     2013-03-19 00:05:32.847587754 +0100
+@@ -32,6 +32,7 @@
+  */
+ //testing=script,sparse 2006.07.17
+ #include "u_opt.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+       const char* octal(int x);
+ //    OMSTREAM & OMSTREAM::tab(int count)
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/l_ftos.cc 
work/gnucap-0.35/src/l_ftos.cc
+--- work/gnucap-0.35/src/l_ftos.cc     2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/l_ftos.cc     2013-03-19 00:05:45.147588436 +0100
+@@ -39,6 +39,7 @@
+ //testing=script 2005.10.11
+ #include "l_lib.h"
+ #include "constant.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+       char*   ftos(double,int,int,int);
+ /*--------------------------------------------------------------------------*/
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/l_timer.cc 
work/gnucap-0.35/src/l_timer.cc
+--- work/gnucap-0.35/src/l_timer.cc    2006-08-28 08:15:43.000000000 +0200
++++ work/gnucap-0.35/src/l_timer.cc    2013-03-19 00:05:57.440922452 +0100
+@@ -23,6 +23,7 @@
+  */
+ //testing=script,sparse 2006.07.13
+ #include "l_timer.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+ //            TIMER::TIMER();
+ //            TIMER::TIMER(const char*);
+diff -x config.log -x config.status -ru work/gnucap-0.35/src/main.cc 
work/gnucap-0.35/src/main.cc
+--- work/gnucap-0.35/src/main.cc       2006-09-20 19:18:52.000000000 +0200
++++ work/gnucap-0.35/src/main.cc       2013-03-19 00:04:14.770916764 +0100
+@@ -28,6 +28,7 @@
+ #include "declare.h"  /* lots */
+ #include "u_opt.h"
+ #include "l_jmpbuf.h"
++#include <cstring>
+ /*--------------------------------------------------------------------------*/
+       int     main(int,const char*[]);
+ static        void    sign_on(void);

=== modified file 'gnu/gnucap/sha256sums'
--- a/gnu/gnucap/sha256sums     2010-06-11 09:39:08 +0000
+++ b/gnu/gnucap/sha256sums     2013-03-18 23:11:14 +0000
@@ -1,1 +1,2 @@
-d8a6f170e1c748cfe6a4cd72cadd1bd3c9b86a5ded9a8fc88ef01153678458a5  
download/gnucap-0.31.tar.gz
+820bd9e32be5b1a4422744c19b371616ace70f48f00768b8afe373f9ded1516b  
download/gnucap-0.35.tar.gz
+0a6aa82b643401f3971050461d933ebbc9954e467061ed8f930dc346d88844c6  
download/gnucap-0.35-fix-build.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]