pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/irrtoolset-nox11/patches new version, new patches:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce06378d2c8b
branches:  trunk
changeset: 528987:ce06378d2c8b
user:      spz <spz%pkgsrc.org@localhost>
date:      Tue May 22 12:17:30 2007 +0000

description:
new version, new patches: upstream adopted a bunch of ours, but gcc found
new things to bitch about

diffstat:

 net/irrtoolset-nox11/patches/patch-aa |   17 -
 net/irrtoolset-nox11/patches/patch-ab |   37 -
 net/irrtoolset-nox11/patches/patch-ac |   76 ---
 net/irrtoolset-nox11/patches/patch-ad |   36 -
 net/irrtoolset-nox11/patches/patch-ae |   22 -
 net/irrtoolset-nox11/patches/patch-af |   25 -
 net/irrtoolset-nox11/patches/patch-ag |   98 ----
 net/irrtoolset-nox11/patches/patch-ah |   25 -
 net/irrtoolset-nox11/patches/patch-ai |   54 --
 net/irrtoolset-nox11/patches/patch-aj |   13 -
 net/irrtoolset-nox11/patches/patch-ak |  201 ---------
 net/irrtoolset-nox11/patches/patch-al |   22 -
 net/irrtoolset-nox11/patches/patch-am |   95 ----
 net/irrtoolset-nox11/patches/patch-an |   95 ----
 net/irrtoolset-nox11/patches/patch-ao |   17 -
 net/irrtoolset-nox11/patches/patch-ap |   16 -
 net/irrtoolset-nox11/patches/patch-aq |   13 -
 net/irrtoolset-nox11/patches/patch-ar |   13 -
 net/irrtoolset-nox11/patches/patch-as |   29 -
 net/irrtoolset-nox11/patches/patch-at |   13 -
 net/irrtoolset-nox11/patches/patch-bj |   18 +-
 net/irrtoolset-nox11/patches/patch-bk |   28 +-
 net/irrtoolset-nox11/patches/patch-bt |   26 +-
 net/irrtoolset-nox11/patches/patch-bw |   13 -
 net/irrtoolset-nox11/patches/patch-bx |   36 -
 net/irrtoolset-nox11/patches/patch-by |   17 -
 net/irrtoolset-nox11/patches/patch-bz |  724 ----------------------------------
 net/irrtoolset-nox11/patches/patch-ca |   87 ----
 net/irrtoolset-nox11/patches/patch-cb |   13 -
 net/irrtoolset-nox11/patches/patch-cf |  191 --------
 net/irrtoolset-nox11/patches/patch-cg |  233 ----------
 net/irrtoolset-nox11/patches/patch-ch |  301 --------------
 net/irrtoolset-nox11/patches/patch-ci |   91 ----
 net/irrtoolset-nox11/patches/patch-cj |   50 --
 net/irrtoolset-nox11/patches/patch-ck |   28 -
 net/irrtoolset-nox11/patches/patch-cl |   17 -
 net/irrtoolset-nox11/patches/patch-cm |   50 --
 net/irrtoolset-nox11/patches/patch-cn |   13 -
 net/irrtoolset-nox11/patches/patch-co |   25 +
 net/irrtoolset-nox11/patches/patch-cp |   22 +
 net/irrtoolset-nox11/patches/patch-cq |   12 +
 net/irrtoolset-nox11/patches/patch-cr |   21 +
 net/irrtoolset-nox11/patches/patch-cs |   14 +
 43 files changed, 111 insertions(+), 2836 deletions(-)

diffs (truncated from 3141 to 300 lines):

diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-aa
--- a/net/irrtoolset-nox11/patches/patch-aa     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/config.h.in.orig    2002-04-09 13:48:44.000000000 +0200
-+++ src/config.h.in
-@@ -224,4 +224,11 @@
- #include <typeinfo>
- #endif /* __cplusplus */
- 
-+#ifndef __P
-+# if defined __cplusplus || defined __STDC__
-+#  define __P(args) args
-+# else
-+#  define __P(args) ()
-+# endif
-+#endif
- #endif   /* CONFIG_H */
-
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-ab
--- a/net/irrtoolset-nox11/patches/patch-ab     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/Core/gnu/ACG.h.orig    2002-03-27 12:32:59.000000000 +0100
-+++ src/Core/gnu/ACG.h
-@@ -42,26 +42,26 @@ Foundation, 59 Temple Place - Suite 330,
- 
- class ACG : public RNG {
- 
--    _G_uint32_t initialSeed;  // used to reset generator
-+    uint32_t initialSeed;     // used to reset generator
-     int initialTableEntry;
- 
--    _G_uint32_t *state;
--    _G_uint32_t *auxState;
-+    uint32_t *state;
-+    uint32_t *auxState;
-     short stateSize;
-     short auxSize;
--    _G_uint32_t lcgRecurr;
-+    uint32_t lcgRecurr;
-     short j;
-     short k;
- 
- protected:
- 
- public:
--    ACG(_G_uint32_t seed = 0, int size = 55);
-+    ACG(uint32_t seed = 0, int size = 55);
-     virtual ~ACG();
-     //
-     // Return a long-words word of random bits
-     //
--    virtual _G_uint32_t asLong();
-+    virtual uint32_t asLong();
-     virtual void reset();
- };
- 
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-ac
--- a/net/irrtoolset-nox11/patches/patch-ac     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/Core/gnu/MLCG.h.orig   2002-03-27 12:32:59.000000000 +0100
-+++ src/Core/gnu/MLCG.h
-@@ -29,55 +29,55 @@ Foundation, 59 Temple Place - Suite 330,
- //
- 
- class MLCG : public RNG {
--    _G_int32_t initialSeedOne;
--    _G_int32_t initialSeedTwo;
--    _G_int32_t seedOne;
--    _G_int32_t seedTwo;
-+    int32_t initialSeedOne;
-+    int32_t initialSeedTwo;
-+    int32_t seedOne;
-+    int32_t seedTwo;
- 
- protected:
- 
- public:
--    MLCG(_G_int32_t seed1 = 0, _G_int32_t seed2 = 1);
-+    MLCG(int32_t seed1 = 0, int32_t seed2 = 1);
-     //
-     // Return a long-words word of random bits
-     //
--    virtual _G_uint32_t asLong();
-+    virtual uint32_t asLong();
-     virtual void reset();
--    _G_int32_t seed1();
--    void seed1(_G_int32_t);
--    _G_int32_t seed2();
--    void seed2(_G_int32_t);
--    void reseed(_G_int32_t, _G_int32_t);
-+    int32_t seed1();
-+    void seed1(int32_t);
-+    int32_t seed2();
-+    void seed2(int32_t);
-+    void reseed(int32_t, int32_t);
- };
- 
--inline _G_int32_t
-+inline int32_t
- MLCG::seed1()
- {
-     return(seedOne);
- }
- 
- inline void
--MLCG::seed1(_G_int32_t s)
-+MLCG::seed1(int32_t s)
- {
-     initialSeedOne = s;
-     reset();
- }
- 
--inline _G_int32_t
-+inline int32_t
- MLCG::seed2()
- {
-     return(seedTwo);
- }
- 
- inline void
--MLCG::seed2(_G_int32_t s)
-+MLCG::seed2(int32_t s)
- {
-     initialSeedTwo = s;
-     reset();
- }
- 
- inline void
--MLCG::reseed(_G_int32_t s1, _G_int32_t s2)
-+MLCG::reseed(int32_t s1, int32_t s2)
- {
-     initialSeedOne = s1;
-     initialSeedTwo = s2;
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-ad
--- a/net/irrtoolset-nox11/patches/patch-ad     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/Core/gnu/RNG.h.orig    2002-03-27 12:32:59.000000000 +0100
-+++ src/Core/gnu/RNG.h
-@@ -21,18 +21,19 @@ Foundation, 59 Temple Place - Suite 330,
- #pragma interface
- #endif
- 
-+#include <sys/types.h>
- #include <assert.h>
- #include <math.h>
--#include <_G_config.h>
-+#include <config.h>
- 
- union PrivateRNGSingleType {                  // used to access floats as unsigneds
-     float s;
--    _G_uint32_t u;
-+    uint32_t u;
- };
- 
- union PrivateRNGDoubleType {                  // used to access doubles as unsigneds
-     double d;
--    _G_uint32_t u[2];
-+    uint32_t u[2];
- };
- 
- //
-@@ -46,7 +47,7 @@ public:
-     //
-     // Return a long-words word of random bits
-     //
--    virtual _G_uint32_t asLong() = 0;
-+    virtual uint32_t asLong() = 0;
-     virtual void reset() = 0;
-     //
-     // Return random bits converted to either a float or a double
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-ae
--- a/net/irrtoolset-nox11/patches/patch-ae     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/Core/gnu/std.h.orig    2002-03-27 12:32:59.000000000 +0100
-+++ src/Core/gnu/std.h
-@@ -19,7 +19,7 @@ Foundation, 59 Temple Place - Suite 330,
- #ifndef _std_h
- #define _std_h 1
- 
--#include <_G_config.h>
-+#include <config.h>
- #include <cstddef>
- #include <cstdlib>
- #include <cstring>
-@@ -31,7 +31,7 @@ Foundation, 59 Temple Place - Suite 330,
- 
- extern "C" {
- #ifndef HAVE_STRINGS_H
--int strcasecmp _G_ARGS((const char*, const char*));
-+int strcasecmp __P((const char*, const char*));
- #endif // HAVE_STRINGS_H
- }
- 
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-af
--- a/net/irrtoolset-nox11/patches/patch-af     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-af,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/rpsl/gnu/std.h.orig    2002-03-27 12:33:00.000000000 +0100
-+++ src/rpsl/gnu/std.h
-@@ -19,7 +19,7 @@ Foundation, 59 Temple Place - Suite 330,
- #ifndef _std_h
- #define _std_h 1
- 
--#include <_G_config.h>
-+#include <config.h>
- #include <cstddef>
- #include <cstdlib>
- #include <cstring>
-@@ -28,8 +28,10 @@ Foundation, 59 Temple Place - Suite 330,
- #include <cerrno>
- #include <fcntl.h>
- 
-+#ifndef HAVE_STRINGS_H
- extern "C" {
--int strcasecmp _G_ARGS((const char*, const char*));
-+int strcasecmp __P((const char*, const char*));
- }
-+#endif // HAVE_STRINGS_H
- 
- #endif 
diff -r f287e52d1c2c -r ce06378d2c8b net/irrtoolset-nox11/patches/patch-ag
--- a/net/irrtoolset-nox11/patches/patch-ag     Tue May 22 11:26:13 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
-
---- src/Core/gnu/ACG.cc.orig   2002-03-27 12:32:59.000000000 +0100
-+++ src/Core/gnu/ACG.cc
-@@ -123,7 +123,7 @@ static int randomStateTable[][3] = {
- //
- 
- #define RANDOM_PERM_SIZE 64
--_G_uint32_t randomPermutations[RANDOM_PERM_SIZE] = {
-+uint32_t randomPermutations[RANDOM_PERM_SIZE] = {
- 0xffffffff, 0x00000000,  0x00000000,  0x00000000,  // 3210
- 0x0000ffff, 0x00ff0000,  0x00000000,  0xff000000,  // 2310
- 0xff0000ff, 0x0000ff00,  0x00000000,  0x00ff0000,  // 3120
-@@ -149,7 +149,7 @@ _G_uint32_t randomPermutations[RANDOM_PE
- //    SEED_TABLE_SIZE must be a power of 2
- //
- #define SEED_TABLE_SIZE 32
--static _G_uint32_t seedTable[SEED_TABLE_SIZE] = {
-+static uint32_t seedTable[SEED_TABLE_SIZE] = {
- 0xbdcc47e5, 0x54aea45d, 0xec0df859, 0xda84637b,
- 0xc8c6cb4f, 0x35574b01, 0x28260b7d, 0x0d07fdbf,
- 0x9faaeeb0, 0x613dd169, 0x5ce2d818, 0x85b9e706,
-@@ -171,15 +171,15 @@ static _G_uint32_t seedTable[SEED_TABLE_
- // LC_C = result of a long trial & error series = 3907864577
- //
- 
--static const _G_uint32_t LC_A = 66049;
--static const _G_uint32_t LC_C = 3907864577u;
--static inline _G_uint32_t LCG(_G_uint32_t x)
-+static const uint32_t LC_A = 66049;
-+static const uint32_t LC_C = 3907864577u;
-+static inline uint32_t LCG(uint32_t x)
- {
-     return( x * LC_A + LC_C );
- }
- 
- 
--ACG::ACG(_G_uint32_t seed, int size)
-+ACG::ACG(uint32_t seed, int size)
- {
-     register int l;
-     initialSeed = seed;
-@@ -205,7 +205,7 @@ ACG::ACG(_G_uint32_t seed, int size)
-     //        Allocate the state table & the auxillary table in a single malloc
-     //
-     
--    state = new _G_uint32_t[stateSize + auxSize];
-+    state = new uint32_t[stateSize + auxSize];
-     auxState = &state[stateSize];
- 
-     reset();
-@@ -217,7 +217,7 @@ ACG::ACG(_G_uint32_t seed, int size)
- void
- ACG::reset()
- {
--    register _G_uint32_t u;
-+    register uint32_t u;
- 
-     if (initialSeed < SEED_TABLE_SIZE) {



Home | Main Index | Thread Index | Old Index