summaryrefslogtreecommitdiff
path: root/dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc')
-rw-r--r--dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc b/dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc
deleted file mode 100644
index ebc3dfa3df96..000000000000
--- a/dns/powerdns-devel/files/patch-pdns_pdns_recursor_cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- pdns/pdns_recursor.cc.orig Wed Jan 12 15:30:19 2005
-+++ pdns/pdns_recursor.cc Wed Jan 12 15:31:01 2005
-@@ -39,7 +39,7 @@
- #include <fstream>
- #include "recursor_cache.hh"
-
--#ifdef FreeBSD // see cvstrac ticket #26
-+#ifdef __FreeBSD__ // see cvstrac ticket #26
- #include <pthread.h>
- #include <semaphore.h>
- #endif
-@@ -48,7 +48,8 @@
-
- string s_programname="pdns_recursor";
-
--#if !WIN32 && !FreeBSD
-+#ifndef WIN32
-+#ifndef __FreeBSD__
- extern "C" {
- int sem_init(sem_t*, int, unsigned int){return 0;}
- int sem_wait(sem_t*){return 0;}
-@@ -61,6 +62,7 @@
- int pthread_mutex_unlock(pthread_mutex_t *mutex) { return 0; }
-
- }
-+#endif // __FreeBSD__
- #endif // WIN32
-
- StatBag S;