Fixed build problem on NetBSD 4.0_RC1 (TRUE, FALSE are already defined).
This commit is contained in:
parent
56036a8032
commit
811834c8cf
2 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.6 2007/06/17 04:23:32 obache Exp $
|
||||
$NetBSD: distinfo,v 1.7 2007/09/15 11:39:16 obache Exp $
|
||||
|
||||
SHA1 (dtcpclient-20060526.tar.gz) = bcafcfbc90a64dbb8f9f3104ebcacd43a3222aa7
|
||||
RMD160 (dtcpclient-20060526.tar.gz) = 60c4d85cb71af8514cf3ab50dcc4a5bb47994e4b
|
||||
Size (dtcpclient-20060526.tar.gz) = 13571 bytes
|
||||
SHA1 (patch-aa) = 4a3700c367d0fd0b3d5ad9db8f43ace6a1d13915
|
||||
SHA1 (patch-ab) = 235e037b7fee523e3039ed94497136885eb43277
|
||||
SHA1 (patch-ac) = 9381b548d5602509317ff363e8166c5833dd990c
|
||||
SHA1 (patch-ac) = d98e45c284143bc0790685cb9cb743cd0833a0af
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: patch-ac,v 1.3 2007/06/17 04:23:32 obache Exp $
|
||||
$NetBSD: patch-ac,v 1.4 2007/09/15 11:39:16 obache Exp $
|
||||
|
||||
--- dtcpclient.c.orig 2006-05-25 16:36:21.000000000 +0000
|
||||
+++ dtcpclient.c
|
||||
@@ -72,9 +72,9 @@
|
||||
@@ -72,10 +72,12 @@
|
||||
#define PREFIX "/usr/local"
|
||||
#endif
|
||||
|
||||
|
@ -13,9 +13,12 @@ $NetBSD: patch-ac,v 1.3 2007/06/17 04:23:32 obache Exp $
|
|||
+#define PASSWDFILE SYSCONFDIR "/dtcpclient.auth"
|
||||
+#define SCRIPTFLIE PREFIX "/sbin/dtcpclient-script"
|
||||
|
||||
+#undef FALSE
|
||||
+#undef TRUE
|
||||
typedef enum {
|
||||
FALSE = 0,
|
||||
@@ -173,9 +173,9 @@ authenticate(char *user, char *challenge
|
||||
TRUE = 1
|
||||
@@ -173,9 +175,9 @@ authenticate(char *user, char *challenge
|
||||
int i;
|
||||
|
||||
MD5Init(&ctx);
|
||||
|
|
Loading…
Reference in a new issue