The following patch was uploaded to DELAYED/7-day as an NMU for this
RC bug.


Regards,
Roger


diff -urN netkit-base-0.10.original/debian/changelog 
netkit-base-0.10/debian/changelog
--- netkit-base-0.10.original/debian/changelog  2005-07-09 21:04:04.000000000 
+0100
+++ netkit-base-0.10/debian/changelog   2005-07-09 21:11:18.081936392 +0100
@@ -1,3 +1,11 @@
+netkit-base (0.10-10.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch from Andreas Jochens to fix FTBFS with GCC 4.0
+    (closes: #282744).
+
+ -- Roger Leigh <[EMAIL PROTECTED]>  Sat,  9 Jul 2005 21:10:10 +0100
+
 netkit-base (0.10-10.1) unstable; urgency=low
 
   * Non-maintainer upload
Binary files netkit-base-0.10.original/inetd/daemon.o and 
netkit-base-0.10/inetd/daemon.o differ
Binary files netkit-base-0.10.original/inetd/inetd and 
netkit-base-0.10/inetd/inetd differ
diff -urN netkit-base-0.10.original/inetd/inetd.c netkit-base-0.10/inetd/inetd.c
--- netkit-base-0.10.original/inetd/inetd.c     2005-07-09 21:04:04.000000000 
+0100
+++ netkit-base-0.10/inetd/inetd.c      2005-07-09 21:07:25.934228208 +0100
@@ -689,7 +689,7 @@
                            continue;  /* to while (... getconfigent()...) */
                        }
 
-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;}
+#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;}
 
                        sigprocmask(SIG_BLOCK, &emptymask, &oldmask);
                        /*
diff -urN netkit-base-0.10.original/rpcgen/rpc_cout.c 
netkit-base-0.10/rpcgen/rpc_cout.c
--- netkit-base-0.10.original/rpcgen/rpc_cout.c 1997-03-08 12:34:16.000000000 
+0000
+++ netkit-base-0.10/rpcgen/rpc_cout.c  2005-07-09 21:08:47.588814824 +0100
@@ -102,7 +102,7 @@
                emit_typedef(def);
                break;
        default:
-         /* can't happen */
+               break; /* can't happen */
        }
        print_trailer();
 }
@@ -657,7 +657,7 @@
     f_print(fout,"\t\t   }\n\t\t };\n");
 
   default:
-    /* ?... do nothing I guess */
+    break; /* ?... do nothing I guess */
   }
 }
 
diff -urN netkit-base-0.10.original/rpcgen/rpc_hout.c 
netkit-base-0.10/rpcgen/rpc_hout.c
--- netkit-base-0.10.original/rpcgen/rpc_hout.c 1996-12-29 21:24:54.000000000 
+0000
+++ netkit-base-0.10/rpcgen/rpc_hout.c  2005-07-09 21:09:14.113782416 +0100
@@ -107,7 +107,7 @@
                pprogramdef(def);
                break;
          default:
-           /* ?... shouldn't happen I guess */
+           break; /* ?... shouldn't happen I guess */
        }
 }
 


-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to