diff options
Diffstat (limited to 'ham/dpbox/patches/patch-ap')
-rw-r--r-- | ham/dpbox/patches/patch-ap | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ham/dpbox/patches/patch-ap b/ham/dpbox/patches/patch-ap new file mode 100644 index 00000000000..616f79bd923 --- /dev/null +++ b/ham/dpbox/patches/patch-ap @@ -0,0 +1,40 @@ +$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 |