Hi,

Attached is the diff for my linux-atm 2.4.1-17.1 NMU.
diff -u linux-atm-2.4.1/debian/patches/00list 
linux-atm-2.4.1/debian/patches/00list
--- linux-atm-2.4.1/debian/patches/00list
+++ linux-atm-2.4.1/debian/patches/00list
@@ -1,0 +2 @@
+20_missing_includes
diff -u linux-atm-2.4.1/debian/changelog linux-atm-2.4.1/debian/changelog
--- linux-atm-2.4.1/debian/changelog
+++ linux-atm-2.4.1/debian/changelog
@@ -1,3 +1,11 @@
+linux-atm (2.4.1-17.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add patches/20_missing_includes.dpatch to add missing #include
+    <linux/types.h> needed with last linux-libc-dev (Closes: #428943).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Thu, 19 Jul 2007 01:40:09 +0200
+
 linux-atm (2.4.1-17) unstable; urgency=low
 
   * Fix build problem with gcc 4.0 (Closes: )
only in patch2:
unchanged:
--- linux-atm-2.4.1.orig/debian/patches/20_missing_includes.dpatch
+++ linux-atm-2.4.1/debian/patches/20_missing_includes.dpatch
@@ -0,0 +1,106 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_missing_includes.dpatch by Pierre Habouzit <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad linux-atm-2.4.1~/src/arpd/arp.c linux-atm-2.4.1/src/arpd/arp.c
+--- linux-atm-2.4.1~/src/arpd/arp.c    2001-09-03 20:41:05.000000000 +0200
++++ linux-atm-2.4.1/src/arpd/arp.c     2007-07-19 01:38:37.000000000 +0200
+@@ -16,6 +16,7 @@
+ #include <sys/socket.h> /* for linux/if_arp.h */
+ #include <netinet/in.h> /* for ntohs, etc. */
+ #define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
++#include <linux/types.h>
+ #include <linux/if_arp.h>
+ #include <linux/if_ether.h>
+ #include <atm.h>
+diff -urNad linux-atm-2.4.1~/src/arpd/io.c linux-atm-2.4.1/src/arpd/io.c
+--- linux-atm-2.4.1~/src/arpd/io.c     2001-09-03 20:41:05.000000000 +0200
++++ linux-atm-2.4.1/src/arpd/io.c      2007-07-19 01:38:37.000000000 +0200
+@@ -19,6 +19,7 @@
+ #include <net/if.h>
+ #include <netinet/in.h>
+ #include <atm.h>
++#include <linux/types.h>
+ #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
+ #include <linux/atmarp.h>
+ #define _LINUX_NETDEVICE_H /* glibc2 */
+diff -urNad linux-atm-2.4.1~/src/arpd/itf.c linux-atm-2.4.1/src/arpd/itf.c
+--- linux-atm-2.4.1~/src/arpd/itf.c    2001-09-03 20:41:05.000000000 +0200
++++ linux-atm-2.4.1/src/arpd/itf.c     2007-07-19 01:38:37.000000000 +0200
+@@ -10,6 +10,7 @@
+ #include <stdint.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <linux/types.h>
+ #include <linux/atmclip.h>
+ #include <sys/socket.h>
+ #define _LINUX_NETDEVICE_H /* glibc2 */
+diff -urNad linux-atm-2.4.1~/src/mpoad/io.c linux-atm-2.4.1/src/mpoad/io.c
+--- linux-atm-2.4.1~/src/mpoad/io.c    2001-09-03 20:41:06.000000000 +0200
++++ linux-atm-2.4.1/src/mpoad/io.c     2007-07-19 01:38:37.000000000 +0200
+@@ -19,6 +19,7 @@
+ _syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
+ #endif
+ #include <atm.h>
++#include <linux/types.h>
+ #include <linux/atmioc.h>
+ #include <linux/atmmpc.h>
+ #include <sys/types.h>
+diff -urNad linux-atm-2.4.1~/src/mpoad/k_interf.c 
linux-atm-2.4.1/src/mpoad/k_interf.c
+--- linux-atm-2.4.1~/src/mpoad/k_interf.c      2001-09-03 20:41:06.000000000 
+0200
++++ linux-atm-2.4.1/src/mpoad/k_interf.c       2007-07-19 01:38:37.000000000 
+0200
+@@ -9,6 +9,7 @@
+ #include <sys/param.h> /* for OPEN_MAX   */
+ #include <stdint.h>
+ #include <netinet/in.h> /* for ntohl()    */
++#include <linux/types.h>
+ #include <linux/atmmpc.h>
+ #include <atm.h>
+ #include "k_interf.h"
+diff -urNad linux-atm-2.4.1~/src/mpoad/lecs.c linux-atm-2.4.1/src/mpoad/lecs.c
+--- linux-atm-2.4.1~/src/mpoad/lecs.c  2001-09-03 20:41:06.000000000 +0200
++++ linux-atm-2.4.1/src/mpoad/lecs.c   2007-07-19 01:39:04.000000000 +0200
+@@ -11,6 +11,7 @@
+ #include <errno.h>
+ #include <atm.h>
+ #include <atmsap.h>
++#include <linux/types.h>
+ #include <linux/atmmpc.h>   /* for MPOA Device type TLV */
+ #include "lecs.h"
+ #include "k_interf.h"
+diff -urNad linux-atm-2.4.1~/src/mpoad/main.c linux-atm-2.4.1/src/mpoad/main.c
+--- linux-atm-2.4.1~/src/mpoad/main.c  2001-09-03 20:41:06.000000000 +0200
++++ linux-atm-2.4.1/src/mpoad/main.c   2007-07-19 01:38:37.000000000 +0200
+@@ -9,6 +9,7 @@
+ #include <time.h>
+ #include <sys/ioctl.h>
+ #include <atm.h>
++#include <linux/types.h>
+ #include <linux/atmdev.h>
+ #include <linux/atmmpc.h>
+ #include <sys/socket.h>
+diff -urNad linux-atm-2.4.1~/src/mpoad/p_factory.c 
linux-atm-2.4.1/src/mpoad/p_factory.c
+--- linux-atm-2.4.1~/src/mpoad/p_factory.c     2007-07-19 01:22:42.000000000 
+0200
++++ linux-atm-2.4.1/src/mpoad/p_factory.c      2007-07-19 01:38:37.000000000 
+0200
+@@ -5,6 +5,7 @@
+ #include <sys/types.h>
+ #include <stdint.h>
+ #include <netinet/in.h>
++#include <linux/types.h>
+ #include <linux/atmmpc.h>
+ #include <sys/socket.h>
+ #include <unistd.h>
+diff -urNad linux-atm-2.4.1~/src/mpoad/p_recogn.c 
linux-atm-2.4.1/src/mpoad/p_recogn.c
+--- linux-atm-2.4.1~/src/mpoad/p_recogn.c      2001-09-03 20:41:06.000000000 
+0200
++++ linux-atm-2.4.1/src/mpoad/p_recogn.c       2007-07-19 01:39:12.000000000 
+0200
+@@ -7,6 +7,7 @@
+ #include <stdlib.h>
+ #include <sys/time.h>
+ #include <atm.h>
++#include <linux/types.h>
+ #include <linux/atmmpc.h>
+ #include <netinet/in.h>
+ #include <limits.h> /* For UINT_MAX */

Attachment: pgpO8QFdrig68.pgp
Description: PGP signature



Reply via email to