40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
$NetBSD: patch-ap,v 1.1 2006/01/24 22:27:07 joerg Exp $
|
|
|
|
--- main.c.orig 2006-01-24 22:13:19.000000000 +0000
|
|
+++ main.c
|
|
@@ -22,10 +22,13 @@
|
|
#ifdef __NetBSD__
|
|
#undef IFACE_DEBUG
|
|
#endif
|
|
+#ifdef __DragonFly__
|
|
+#undef IFACE_DEBUG
|
|
+#endif
|
|
|
|
#define MAIN_G
|
|
|
|
-#if defined(__linux__) || defined(__NetBSD__)
|
|
+#if defined(__linux__) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <fcntl.h>
|
|
@@ -2921,6 +2924,11 @@ char *argv[];
|
|
dp_vnr, dp_vnr_sub, dp_date);
|
|
#define __dp_version_done
|
|
#endif
|
|
+#ifdef __DragonFly__
|
|
+ printf("DigiPoint Box v%s%s %s (DragonFly) successfully started\n",
|
|
+ dp_vnr, dp_vnr_sub, dp_date);
|
|
+#define __dp_version_done
|
|
+#endif
|
|
#ifdef __linux__
|
|
printf("DigiPoint Box v%s%s %s (Linux) successfully started\n",
|
|
dp_vnr, dp_vnr_sub, dp_date);
|
|
@@ -3082,7 +3090,7 @@ char *argv[];
|
|
exit_proc();
|
|
if (dpbox_debug == 2)
|
|
fclose(error_fp);
|
|
-#if defined(__linux__) || defined(__NetBSD__)
|
|
+#if defined(__linux__) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
delete_dirlist();
|
|
unlink(serv_addr.sun_path);
|
|
#endif
|