pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/liblive Add DragonFly support. Fix compilation wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/094e59af495b
branches:  trunk
changeset: 510031:094e59af495b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 22 22:51:52 2006 +0000

description:
Add DragonFly support. Fix compilation with GCC 3.4: Publically declaring
a private type doesn't work.

diffstat:

 net/liblive/Makefile         |   3 ++-
 net/liblive/distinfo         |   3 ++-
 net/liblive/patches/patch-ad |  39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 2 deletions(-)

diffs (74 lines):

diff -r 4b78bbc4d197 -r 094e59af495b net/liblive/Makefile
--- a/net/liblive/Makefile      Wed Mar 22 22:50:31 2006 +0000
+++ b/net/liblive/Makefile      Wed Mar 22 22:51:52 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:20 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/03/22 22:51:52 joerg Exp $
 #
 
 DISTNAME=      live.2003.04.04
@@ -18,6 +18,7 @@
 
 do-configure:
        ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}
+       ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}/config.dragonfly
        cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
        ${RM} -f ${WRKSRC}/testProgs/qtParse
 
diff -r 4b78bbc4d197 -r 094e59af495b net/liblive/distinfo
--- a/net/liblive/distinfo      Wed Mar 22 22:50:31 2006 +0000
+++ b/net/liblive/distinfo      Wed Mar 22 22:51:52 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:13:52 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/03/22 22:51:52 joerg Exp $
 
 SHA1 (live.2003.04.04.tar.gz) = f5c7cffd92f5811c004c30e2b1f889f817539afb
 RMD160 (live.2003.04.04.tar.gz) = 645840b7c371609b4265005091d4d14e7bc995af
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = dd4a99f255200d89b3bc9c6e709c53d8e4817e5c
 SHA1 (patch-ab) = c1db6185f37f61bf1645d122fbd480c2f9502c79
 SHA1 (patch-ac) = 61b890142c0d8870a245de0d50a3762266419e8c
+SHA1 (patch-ad) = 791a7100cf383e9ad96445419157c9a8073be5a6
diff -r 4b78bbc4d197 -r 094e59af495b net/liblive/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/liblive/patches/patch-ad      Wed Mar 22 22:51:52 2006 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-ad,v 1.1 2006/03/22 22:51:52 joerg Exp $
+
+--- BasicUsageEnvironment/include/BasicHashTable.hh.orig       2006-03-22 22:39:07.000000000 +0000
++++ BasicUsageEnvironment/include/BasicHashTable.hh
+@@ -33,8 +33,16 @@ class BasicHashTable: public HashTable {
+ public:
+   BasicHashTable(int keyType);
+   virtual ~BasicHashTable();
+-  class TableEntry; // forward
+-  
++
++private:
++  class TableEntry {
++  public:
++    TableEntry* fNext;
++    char const* key;
++    void* value;
++  };
++
++public:
+   // Used to iterate through the members of the table:
+   class Iterator: public HashTable::Iterator {
+   public:
+@@ -57,14 +65,8 @@ private: // implementation of inherited 
+   // Returns 0 if not found
+   virtual Boolean IsEmpty() const;
+   
+-private:
+-  class TableEntry {
+-  public:
+-    TableEntry* fNext;
+-    char const* key;
+-    void* value;
+-  };
+ 
++private:
+   TableEntry* lookupKey(char const* key, unsigned& index) const;
+     // returns entry matching "key", or NULL if none
+   Boolean keyMatches(char const* key1, char const* key2) const;



Home | Main Index | Thread Index | Old Index