diff options
author | adam <adam> | 2004-03-05 14:46:23 +0000 |
---|---|---|
committer | adam <adam> | 2004-03-05 14:46:23 +0000 |
commit | 364529e7e3a602d152a3edd5dfb170349b2d5ad1 (patch) | |
tree | 3bffd173f68c492d3e7ce7699b652a53dd225054 /math/cln/patches | |
parent | b5034dd463a1163933f09574ee268deb813c5e11 (diff) | |
download | pkgsrc-364529e7e3a602d152a3edd5dfb170349b2d5ad1.tar.gz |
CLN - Class Library for Numbers is a C++ library providing the following
features:
* Rich set of number classes
* Elementary, logical, transcendental functions
* C++ as implementation language brings efficiency, type safety,
and algebraic syntax
* Memory efficiency
* Speed efficiency
* Interoperability
Diffstat (limited to 'math/cln/patches')
-rw-r--r-- | math/cln/patches/patch-aa | 22 | ||||
-rw-r--r-- | math/cln/patches/patch-ab | 36 | ||||
-rw-r--r-- | math/cln/patches/patch-ac | 21 |
3 files changed, 79 insertions, 0 deletions
diff --git a/math/cln/patches/patch-aa b/math/cln/patches/patch-aa new file mode 100644 index 00000000000..39eed5e0b15 --- /dev/null +++ b/math/cln/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $ + +--- src/base/random/cl_random_from.cc.orig 2003-12-29 19:04:08.000000000 +0000 ++++ src/base/random/cl_random_from.cc +@@ -12,7 +12,7 @@ + #include "cl_base_config.h" + #include "cl_low.h" + +-#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) ++#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) || defined(__NetBSD__) + + #include <sys/types.h> + #include <unistd.h> // declares getpid() +@@ -64,7 +64,7 @@ random_state::random_state () + { + var uint32 seed_hi; + var uint32 seed_lo; +-#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) ++#if defined(unix) || defined(__unix) || defined(_AIX) || defined(sinix) || (defined(__MACH__) && defined(__APPLE__)) || (defined(_WIN32) && defined(__GNUC__)) || defined(__BEOS__) || defined(__NetBSD__) + seed_lo = ::get_seed(); + seed_hi = (rand() // zufällige 31 Bit (bei UNIX_BSD) bzw. 16 Bit (bei UNIX_SYSV) + << 8) ^ (uintL)(getpid()); // ca. 8 Bit von der Process ID diff --git a/math/cln/patches/patch-ab b/math/cln/patches/patch-ab new file mode 100644 index 00000000000..063aba52d67 --- /dev/null +++ b/math/cln/patches/patch-ab @@ -0,0 +1,36 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $ + +--- doc/Makefile.in.orig 2003-11-17 13:22:06.000000000 +0100 ++++ doc/Makefile.in +@@ -12,7 +12,7 @@ exec_prefix = @exec_prefix@ + datadir = @datadir@ + infodir = @infodir@ + mandir = @mandir@ +-htmldir = $(datadir)/html ++htmldir = $(datadir)/doc/html/cln + dvidir = $(datadir)/dvi + DESTDIR = + +@@ -42,7 +42,7 @@ SHELL = /bin/sh + + VPATH = $(srcdir) + +-all : info dvi ps html ++all : info html + + + info : $(srcdir)/$(PACKAGE).info +@@ -82,13 +82,11 @@ $(PACKAGE)_toc.html : $(srcdir)/$(PACKAG + install : all installdirs force + $(INSTALL_DATA) $(srcdir)/$(PACKAGE).info $(DESTDIR)$(infodir)/$(PACKAGE).info + $(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir) +- $(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi + + installdirs : force + $(MKDIR) $(DESTDIR)$(datadir) + $(MKDIR) $(DESTDIR)$(infodir) + $(MKDIR) $(DESTDIR)$(htmldir) +- $(MKDIR) $(DESTDIR)$(dvidir) + + uninstall : force + $(RM) $(DESTDIR)$(infodir)/$(PACKAGE).info diff --git a/math/cln/patches/patch-ac b/math/cln/patches/patch-ac new file mode 100644 index 00000000000..cad90e56d99 --- /dev/null +++ b/math/cln/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/03/05 14:46:23 adam Exp $ + +--- Makefile.in.orig 2003-11-21 20:48:52.000000000 +0000 ++++ Makefile.in +@@ -21,6 +21,7 @@ MKDIR = mkdir -p + @SET_MAKE@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_DATA = @INSTALL_DATA@ + UNINSTALL_PROGRAM = @UNINSTALL_PROGRAM@ + +@@ -33,7 +34,7 @@ all : force + + install : installdirs force + cd @subdir@; $(MAKE) install +- $(INSTALL_PROGRAM) cln-config $(DESTDIR)$(bindir)/cln-config ++ $(INSTALL_SCRIPT) cln-config $(DESTDIR)$(bindir)/cln-config + $(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1 + $(INSTALL_DATA) cln.m4 $(DESTDIR)$(datadir)/aclocal/cln.m4 + $(INSTALL_DATA) cln.pc $(DESTDIR)$(libdir)/pkgconfig/cln.pc |