Hi,

NMU patch below.

diff -u smtpfeed-1.19/debian/changelog smtpfeed-1.19/debian/changelog
--- smtpfeed-1.19/debian/changelog
+++ smtpfeed-1.19/debian/changelog
@@ -1,3 +1,10 @@
+smtpfeed (1.19-1.1) unstable; urgency=low
+
+  * 0-day BSP NMU.
+  * Apply patch by Andreas Jochens to build with gcc-4.0 (Closes: #298414).
+
+ -- Christoph Berg <[EMAIL PROTECTED]>  Fri, 28 Oct 2005 16:57:56 +0200
+
 smtpfeed (1.19-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- smtpfeed-1.19.orig/dns.c
+++ smtpfeed-1.19/dns.c
@@ -79,6 +79,13 @@
 # define RES_INSECURE1 0x00000400      /* type 1 security disabled */
 #endif
 
+static int query_domain();
+static int process_query();
+static int make_query();
+static void got_answer();
+static void remove_query();
+static struct mx* newmx(char *name, int pref, int weight, struct domain *dp, 
long opt);
+
 int
 pregetmx(dl)
 struct domain *dl;
@@ -87,7 +94,6 @@
        char **map_arg;
        long stime, etime;
        int n;
-       static int query_domain(), process_query();
 #ifdef INET6
        SockAddr dsin;  /* dummy */
 #endif
@@ -353,7 +359,6 @@
 int type;
 {
        struct dns_stat *qrp, **hashp;
-       static int make_query();
 
        qrp = hash_query_lookup(name, &hashp);
        if (qrp == NULL) {
@@ -396,7 +401,6 @@
        u_char buf[MAXPACKET];
        int n;
        struct query_chain *qchain;
-       static int process_query();
 
        switch (type) {
          case T_MX:
@@ -591,8 +595,6 @@
        char nbuf[MAXDNAME+1];
        struct dns_stat *qrp;
        int pending;
-       static void got_answer();
-       static void remove_query();
 
        if (sync == 0 && cnf.cquery_max != 0
         && query_chain_count >= cnf.cquery_max)
@@ -1764,7 +1766,6 @@
 #endif
                                        {
                                                struct mx *gwmxp;
-                                               static struct mx* newmx();
 
                                                if (cnf.debug & DEBUG_DNS)
                                                log(LOG_DEBUG, "setting 
protocol gateway as first MX");

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to