Your message dated Wed, 13 Dec 2006 17:43:24 -0200
with message-id <[EMAIL PROTECTED]>
and subject line (no subject)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libudns-dev
Version: 0.0.8-1
Severity: important
Tags: patch

Including udns.h in a C++ source results in the following error, caused
by using the reserved word class in the C header file. Patch included below.

  /usr/include/udns.h:700: error: expected primary-expression before
  ‘enum’

--- udns.h.orig 2005-09-12 14:09:10.000000000 +0200
+++ udns.h      2006-11-26 14:04:18.000000000 +0100
@@ -693,11 +693,11 @@
 UDNS_DATA_API extern const struct dns_nameval dns_rcodetab[];
 UDNS_API int
 dns_findname(const struct dns_nameval *nv, const char *name);
-#define dns_findclassname(class) dns_findname(dns_classtab, (class))
+#define dns_findclassname(cls) dns_findname(dns_classtab, (cls))
 #define dns_findtypename(type) dns_findname(dns_typetab, (type))
 #define dns_findrcodename(rcode) dns_findname(dns_rcodetab, (rcode))

-UDNS_API const char *dns_classname(enum dns_class class);
+UDNS_API const char *dns_classname(enum dns_class cls);
 UDNS_API const char *dns_typename(enum dns_type type);
 UDNS_API const char *dns_rcodename(enum dns_rcode rcode);
 const char *_dns_format_code(char *buf, const char *prefix, int code);

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (750, 'testing'), (671, 'stable'), (500, 'testing'), (30, 
'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-vserver-k7
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages libudns-dev depends on:
ii  libudns0                      0.0.8-1    async-capable DNS stub resolver li

libudns-dev recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Format: 1.7
Date: Mon, 11 Dec 2006 20:50:35 -0200
Source: udns
Binary: libudns0 udns-utils libudns-dev
Architecture: source amd64
Version: 0.0.8-2
Distribution: unstable
Urgency: low
Maintainer: Thadeu Lima de Souza Cascardo <[EMAIL PROTECTED]>
Changed-By: Thadeu Lima de Souza Cascardo <[EMAIL PROTECTED]>
Description: 
 libudns-dev - async-capable DNS stub resolver library, development files
 libudns0   - async-capable DNS stub resolver library
 udns-utils - Several DNS-related utilities built on top of udns library
Changes: 
 udns (0.0.8-2) unstable; urgency=low
 .
   * Applied patch by Mikael Magnusson, to allow udns to be used in C++
     programs. Should use dpatch and report upstream. Closes #400476
Files: 
 8cedaf31b0d50f0b00cd2a6cd1e2effd 362 libs optional udns_0.0.8-2.dsc
 2764240789c35a1b2e4e7a9622917246 4130 libs optional udns_0.0.8-2.diff.gz
 a085b959c30afc228bc1c5234a343df0 23854 libs optional libudns0_0.0.8-2_amd64.deb
 18af7cb01923096d655250e1fb7b3161 49136 libdevel optional 
libudns-dev_0.0.8-2_amd64.deb
 0b754942dc54fb7d34031e3287c55132 23528 net optional 
udns-utils_0.0.8-2_amd64.deb

--- End Message ---

Reply via email to