pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44329: dnssec-tools compilation fix on DragonFlyBSD



>Number:         44329
>Category:       pkg
>Synopsis:       dnssec-tools compilation fix on DragonFlyBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 05 16:30:00 +0000 2011
>Originator:     Ilia
>Release:        DragonFly 2.9.1
>Organization:
>Environment:
DragonFly 2.9-DEVELOPMENT DragonFly v2.9.1.370.g78775c-DEVELOPMENT #0: Sun Jan 
2 12:34:32 2011    root@:/usr/obj/usr/src/sys/GENERIC i386
>Description:
libtool: compile:  cc -O2 -Udragonfly -Ddragonfly=dragonfly -Udragonfly 
-I../include -c res_debug.c  -fPIC -DPIC -o .libs/res_debug.o
res_debug.c:425: error: conflicting types for '__p_class_syms'
/usr/include/resolv.h:321: error: previous declaration of '__p_class_syms' was 
here
res_debug.c:455: error: conflicting types for '__p_key_syms'
/usr/include/resolv.h:319: error: previous declaration of '__p_key_syms' was 
here
res_debug.c:464: error: conflicting types for '__p_cert_syms'
/usr/include/resolv.h:320: error: previous declaration of '__p_cert_syms' was 
here
res_debug.c:545: error: conflicting types for '__p_rcode_syms'
/usr/include/resolv.h:323: error: previous declaration of '__p_rcode_syms' was 
here
*** Error code 1
>How-To-Repeat:

>Fix:
--- distinfob   2011-01-05 17:00:25 -0600
+++ distinfo    2011-01-05 17:01:00 -0600
@@ -5,3 +5,4 @@
 Size (dnssec-tools-1.7.tar.gz) = 2151305 bytes
 SHA1 (patch-aa) = cf0f806152bf912d9e6d727f66bdb186ec2f55c7
 SHA1 (patch-ab) = 07b5a0dbbca1c41cbb30b19f5a94ec9f8c900c15
+SHA1 (patch-ac) = 18993b75d5f0abdb773dffd846c7930e730905b7


$NetBSD$

--- res_debug.orig      2011-01-05 22:49:54 +0000
+++ res_debug.c
@@ -406,7 +406,7 @@ p_fqname(const u_char * cp, const u_char
  * And, for once, solaris has a better header than the rest, and has const
  * char ptrs in res_sym.
  */
-#if (defined(__p_class_syms) || defined(sun) || defined(__FreeBSD__) || 
defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__))
+#if (defined(__p_class_syms) || defined(sun) || defined(__FreeBSD__) || 
defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || 
defined(__DragonFly__))
 #define RES_SYM_TYPE res_sym
 #else
 #define RES_SYM_TYPE res_sym_const



Home | Main Index | Thread Index | Old Index