summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-03 01:06:49 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-03 01:06:49 +0000
commit879d9471d884219bba6c08d8951aae9a21629aed (patch)
treec27e1d43127bb0f9add11d58c3ed11e4da7a4aec /net
parentc635f71a5d0481d3faa3e5942fd2fb1a980b8d29 (diff)
downloadpkgsrc-879d9471d884219bba6c08d8951aae9a21629aed.tar.gz
Don't define bool.
Diffstat (limited to 'net')
-rw-r--r--net/pchar/distinfo6
-rw-r--r--net/pchar/patches/patch-aa12
-rw-r--r--net/pchar/patches/patch-ab16
-rw-r--r--net/pchar/patches/patch-pc.h16
4 files changed, 31 insertions, 19 deletions
diff --git a/net/pchar/distinfo b/net/pchar/distinfo
index 988b03dd670..dba56958aa3 100644
--- a/net/pchar/distinfo
+++ b/net/pchar/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2006/07/17 17:24:34 wiz Exp $
+$NetBSD: distinfo,v 1.8 2013/03/03 01:06:49 joerg Exp $
SHA1 (pchar-1.5.tar.gz) = 3e78505b881773d2a726b426c6023ee2519bed75
RMD160 (pchar-1.5.tar.gz) = b8e600b9c11cf7e584768c87aadeeb9d7b482949
Size (pchar-1.5.tar.gz) = 117678
-SHA1 (patch-aa) = f570ee77f4f29b84ba77784d5bafacf1ed252ea6
-SHA1 (patch-ab) = 4761fe0cc6380a21e76c2cfcc29970466a001a84
+SHA1 (patch-ab) = e298aec0ea18925f677da019bff8548fb5a2a96f
+SHA1 (patch-pc.h) = ca30eeef1f48b88dc9c36d22caa4f2edc29d093e
diff --git a/net/pchar/patches/patch-aa b/net/pchar/patches/patch-aa
index b73d8c04d89..e69de29bb2d 100644
--- a/net/pchar/patches/patch-aa
+++ b/net/pchar/patches/patch-aa
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2002/03/21 13:04:16 wiz Exp $
-
---- GetIfInfo.h.orig Wed May 10 22:54:05 2000
-+++ GetIfInfo.h
-@@ -5,6 +5,7 @@
- #ifndef GETIFINFO_H
- #define GETIFINFO_H
-
-+#include <inttypes.h>
- #include "Pctest.h"
-
- class GetIfInfo
diff --git a/net/pchar/patches/patch-ab b/net/pchar/patches/patch-ab
index 44a0d5cc00d..fee07c7856b 100644
--- a/net/pchar/patches/patch-ab
+++ b/net/pchar/patches/patch-ab
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.1 2006/07/17 17:24:35 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2013/03/03 01:06:51 joerg Exp $
---- GetIfInfo.h.orig 2006-07-17 15:13:30.000000000 +0900
-+++ GetIfInfo.h 2006-07-17 15:14:39.000000000 +0900
-@@ -18,7 +18,7 @@
+--- GetIfInfo.h.orig 2013-03-02 23:47:03.000000000 +0000
++++ GetIfInfo.h
+@@ -5,6 +5,7 @@
+ #ifndef GETIFINFO_H
+ #define GETIFINFO_H
+
++#include <inttypes.h>
+ #include "Pctest.h"
+
+ class GetIfInfo
+@@ -18,7 +18,7 @@ public:
bool IsValid(void);
const char * GetDescription(void) const;
diff --git a/net/pchar/patches/patch-pc.h b/net/pchar/patches/patch-pc.h
new file mode 100644
index 00000000000..02f1d8e03aa
--- /dev/null
+++ b/net/pchar/patches/patch-pc.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-pc.h,v 1.1 2013/03/03 01:06:51 joerg Exp $
+
+--- pc.h.orig 2013-03-02 23:49:59.000000000 +0000
++++ pc.h
+@@ -23,11 +23,6 @@
+ extern int DebugLevel;
+ #define IF_DEBUG(level, action) if (DebugLevel >= level) { action; }
+
+-// bool type might not be available everywhere
+-#if (SIZEOF_BOOL == 0)
+-typedef enum {false, true} bool;
+-#endif /* SIZEOF_BOOL */
+-
+ // Mode types
+ typedef enum {
+ ModeNone,