pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/xmill patch-a{d,e,f,g,h,i,j,k,l}: add class-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b097c96235c0
branches:  trunk
changeset: 462638:b097c96235c0
user:      rtr <rtr%pkgsrc.org@localhost>
date:      Tue Oct 07 03:45:13 2003 +0000

description:
patch-a{d,e,f,g,h,i,j,k,l}: add class-key to friend declarations.
patch-a{m,n}: whitespace fix to avoid cpp warnings.
Finally, make it use gmake nbmake isn't compatible anymore.

Should resolve pr pkg/23075.
Patches approved by Johnny C. Lam.

diffstat:

 archivers/xmill/Makefile         |   3 ++-
 archivers/xmill/distinfo         |  13 ++++++++++++-
 archivers/xmill/patches/patch-ad |  11 +++++++++++
 archivers/xmill/patches/patch-ae |  29 +++++++++++++++++++++++++++++
 archivers/xmill/patches/patch-af |  11 +++++++++++
 archivers/xmill/patches/patch-ag |  24 ++++++++++++++++++++++++
 archivers/xmill/patches/patch-ah |  11 +++++++++++
 archivers/xmill/patches/patch-ai |  20 ++++++++++++++++++++
 archivers/xmill/patches/patch-aj |  11 +++++++++++
 archivers/xmill/patches/patch-ak |  20 ++++++++++++++++++++
 archivers/xmill/patches/patch-al |  38 ++++++++++++++++++++++++++++++++++++++
 archivers/xmill/patches/patch-am |   8 ++++++++
 archivers/xmill/patches/patch-an |   8 ++++++++
 13 files changed, 205 insertions(+), 2 deletions(-)

diffs (275 lines):

diff -r a66498260362 -r b097c96235c0 archivers/xmill/Makefile
--- a/archivers/xmill/Makefile  Mon Oct 06 22:13:05 2003 +0000
+++ b/archivers/xmill/Makefile  Tue Oct 07 03:45:13 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/19 08:54:24 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/10/07 03:45:13 rtr Exp $
 
 DISTNAME=              xmill-0-7
 PKGNAME=               xmill-0.7
@@ -15,6 +15,7 @@
 
 EXTRACT_CMD=           ${LOCALBASE}/bin/unzip -aq ${DOWNLOADED_DISTFILE}
 
+USE_GMAKE=             #defined
 MAKEFILE=              makefile
 
 RESTRICTED=            "Redistribution not permitted"
diff -r a66498260362 -r b097c96235c0 archivers/xmill/distinfo
--- a/archivers/xmill/distinfo  Mon Oct 06 22:13:05 2003 +0000
+++ b/archivers/xmill/distinfo  Tue Oct 07 03:45:13 2003 +0000
@@ -1,7 +1,18 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/02/17 09:20:25 grant Exp $
+$NetBSD: distinfo,v 1.2 2003/10/07 03:45:13 rtr Exp $
 
 SHA1 (xmill-0-7.zip) = d4771e8fc860936e0d7360e5df4fce01152469c7
 Size (xmill-0-7.zip) = 1315864 bytes
 SHA1 (patch-aa) = 0c93f9dc66b283f9de7b12ad159023d94675126a
 SHA1 (patch-ab) = 1103d1d987fa070b80490e7a891a6869d32e7f0d
 SHA1 (patch-ac) = 33d8a8e1950de7e55bcdf579a2fbb3dc24709cc4
+SHA1 (patch-ad) = 13651a968e31e5aba1187e2cbb861812b8c288bc
+SHA1 (patch-ae) = 03dfca559d992b75d423bda40b8574d46c285c03
+SHA1 (patch-af) = 9e842cc608b9c111fc3235da1a6a3268ccf6f330
+SHA1 (patch-ag) = f9bbb4eb7970970dd88e7a13ba71798f1860da8a
+SHA1 (patch-ah) = 7428812657158714b6da2ff0fba34503fc1a477c
+SHA1 (patch-ai) = 6fedcc072a0b19dd98bd78126dda40b789cd889d
+SHA1 (patch-aj) = eda74f61fb265dfa33eba820aefa7c5b10259fd5
+SHA1 (patch-ak) = 5035bbf3f43886ae40b362658c5ce77cb413c613
+SHA1 (patch-al) = 47c9ab58135dacfe9a581ddd300363d907935189
+SHA1 (patch-am) = f1fdd4b0c06cc31526337d6c09e5fcc0d5166564
+SHA1 (patch-an) = c0dc3b3d58ebe018ca88611bd65198cb01bda1d9
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ad  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,11 @@
+--- src/ContMan.hpp.orig       2003-10-07 01:43:26.000000000 +1000
++++ src/ContMan.hpp    2003-10-07 01:44:19.000000000 +1000
+@@ -64,7 +64,7 @@
+    // The sequence of CompressContainers follow *directly* the container block object
+    // in memory.
+ {
+-   friend CompressContainerMan;
++   friend class CompressContainerMan;
+    CompressContainerBlock  *nextblock;       // The next container block in the list
+    unsigned short          contnum;          // Number of containers
+    unsigned short          userdatasize;     // The compressor associated with the container
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ae  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,29 @@
+--- src/UserCompress.hpp.orig  1999-11-24 16:32:52.000000000 +1100
++++ src/UserCompress.hpp       2003-10-07 02:11:37.000000000 +1000
+@@ -61,7 +61,7 @@
+    // This object is then registered and provides basic capabilities
+    // such as returning its name, instantiating compressor or decompressor
+ {
+-   friend CompressMan;
++   friend class CompressMan;
+ 
+    UserCompressorFactory   *next;   // The next factory in the list of compressor factories
+ 
+@@ -115,7 +115,7 @@
+ 
+ class UserCompressor
+ {
+-   friend CompressMan;
++   friend class CompressMan;
+ 
+ protected:
+    unsigned short    datasize;      // The memory space needed for representing the state
+@@ -182,7 +182,7 @@
+ 
+ class UserUncompressor
+ {
+-   friend CompressMan;
++   friend class CompressMan;
+ 
+ protected:
+    unsigned short    datasize;   // The size of the user compressor state space
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-af  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,11 @@
+--- src/PathDict.hpp.orig      2003-10-07 01:47:15.000000000 +1000
++++ src/PathDict.hpp   2003-10-07 01:47:28.000000000 +1000
+@@ -66,7 +66,7 @@
+ class PathDictNode
+    // Each node is represented by this structure
+ {
+-   friend PathDict;
++   friend class PathDict;
+ 
+    PathDictNode   *parent; // The parent node.
+                            // Is NULL for the super root node
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ag  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,24 @@
+--- src/FSM.hpp.orig   2003-10-07 01:48:36.000000000 +1000
++++ src/FSM.hpp        2003-10-07 01:49:08.000000000 +1000
+@@ -88,8 +88,8 @@
+ class FSMState
+    // Represents a state in the FSM
+ {
+-   friend FSM;
+-   friend FSMEdge;
++   friend class FSM;
++   friend class FSMEdge;
+    unsigned isfinal:1;        // Final state?
+    unsigned isaccepting:1;    // Determines whether the FSM in that (final) state
+                               // will definitely accept
+@@ -177,8 +177,8 @@
+ class FSMEdge
+    // Represents an edge in the FSM
+ {
+-   friend FSMState;
+-   friend FSM;
++   friend class FSMState;
++   friend class FSM;
+ 
+    unsigned type;          // Type of the edge (EDGETYPE_...)
+    FSMState *nextstate;    // The state that is reached by this edge
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ah  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,11 @@
+--- src/VPathExprMan.hpp.orig  2003-10-07 01:49:53.000000000 +1000
++++ src/VPathExprMan.hpp       2003-10-07 01:50:07.000000000 +1000
+@@ -44,7 +44,7 @@
+ class VPathExpr
+    // Represents a single container path expression
+ {
+-   friend VPathExprMan;
++   friend class VPathExprMan;
+ 
+    VPathExpr      *next;   // The next container path expression in the path manager
+ 
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ai  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,20 @@
+--- src/RepeatCompress.cpp.orig        1999-11-24 16:32:42.000000000 +1100
++++ src/RepeatCompress.cpp     2003-10-07 02:18:08.000000000 +1000
+@@ -174,7 +174,7 @@
+ 
+ class RepeatSepCompressor : public UserCompressor
+ {
+-   friend RepeatSepCompressorFactory;
++   friend class RepeatSepCompressorFactory;
+ protected:
+ 
+    RepeatSepCompressorInfo info;
+@@ -342,7 +342,7 @@
+ 
+ class RepeatSepUncompressor : public UserUncompressor
+ {
+-   friend RepeatSepCompressorFactory;
++   friend class RepeatSepCompressorFactory;
+ 
+    RepeatSepCompressorInfo info;
+ public:
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-aj  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,11 @@
+--- src/CurPath.hpp.orig       2003-10-07 01:52:10.000000000 +1000
++++ src/CurPath.hpp    2003-10-07 01:52:23.000000000 +1000
+@@ -49,7 +49,7 @@
+    // The iterator is used to iterate forward and backward within the
+    // the current path
+ {
+-   friend CurPath;
++   friend class CurPath;
+    CurPathLabelBlock *curblock;  // The current block
+    TLabelID          *curlabel;  // The current label (points into the current block)
+ 
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-ak  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,20 @@
+--- src/OrCompress.cpp.orig    1999-11-24 16:32:42.000000000 +1100
++++ src/OrCompress.cpp 2003-10-07 02:20:02.000000000 +1000
+@@ -111,7 +111,7 @@
+ class OrSepCompressor : public UserCompressor
+    // The compressor part of the Or-compressor,
+ {
+-   friend OrSepCompressorFactory;
++   friend class OrSepCompressorFactory;
+ protected:
+ 
+    OrSepCompressorInfo  info; // The parameters
+@@ -271,7 +271,7 @@
+ 
+ class OrSepUncompressor : public UserUncompressor
+ {
+-   friend OrSepCompressorFactory;
++   friend class OrSepCompressorFactory;
+    OrSepCompressorInfo  info;
+ 
+    void ComputeProperties()
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-al  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,38 @@
+--- src/DivCompress.cpp.orig   1999-11-24 16:32:42.000000000 +1100
++++ src/DivCompress.cpp        2003-10-07 02:21:00.000000000 +1000
+@@ -159,7 +159,7 @@
+ 
+ class DivSepCompressor : public UserCompressor
+ {
+-   friend DivSepCompressorFactory;
++   friend class DivSepCompressorFactory;
+ protected:
+ 
+    DivSepComprInfo info;   // The information about the subcompressors
+@@ -393,7 +393,7 @@
+ 
+ class DivSepUncompressor : public UserUncompressor
+ {
+-   friend DivSepCompressorFactory;
++   friend class DivSepCompressorFactory;
+ protected:
+ 
+    DivSepComprInfo info;
+@@ -545,7 +545,7 @@
+    // The compressor class is inherited from DivSepCompressor so that
+    // we can use 'ParseString'
+ {
+-   friend DivSepCompressorFactory;
++   friend class DivSepCompressorFactory;
+ 
+ public:
+    void ComputeProperties()
+@@ -657,7 +657,7 @@
+    // Note that the class is denoted from 'DivSepUncompressor' so that
+    // we can use the 'info' attribute
+ {
+-   friend DivSepCompressorFactory;
++   friend class DivSepCompressorFactory;
+ 
+ public:
+    void ComputeProperties()
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-am  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,8 @@
+--- src/FSM.cpp.orig   2003-10-07 01:55:11.000000000 +1000
++++ src/FSM.cpp        2003-10-07 01:55:25.000000000 +1000
+@@ -2044,3 +2044,4 @@
+ }
+ 
+ */
+\ No newline at end of file
++
diff -r a66498260362 -r b097c96235c0 archivers/xmill/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xmill/patches/patch-an  Tue Oct 07 03:45:13 2003 +0000
@@ -0,0 +1,8 @@
+--- src/Decode.cpp.orig        2003-10-07 02:21:58.000000000 +1000
++++ src/Decode.cpp     2003-10-07 02:22:05.000000000 +1000
+@@ -84,3 +84,4 @@
+ }
+ 
+ #endif
+\ No newline at end of file
++



Home | Main Index | Thread Index | Old Index