r15080 - in /trunk/libnet-arp-perl/debian: changelog patches/10alignment-and-headers.patch
ntyni at users.alioth.debian.org
ntyni at users.alioth.debian.org
Sun Feb 17 21:36:09 UTC 2008
Author: ntyni
Date: Sun Feb 17 21:36:08 2008
New Revision: 15080
URL: http://svn.debian.org/wsvn/?sc=1&rev=15080
Log:
+ add some missing #includes in send_packet_linux.c.
Modified:
trunk/libnet-arp-perl/debian/changelog
trunk/libnet-arp-perl/debian/patches/10alignment-and-headers.patch
Modified: trunk/libnet-arp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/debian/changelog?rev=15080&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/changelog (original)
+++ trunk/libnet-arp-perl/debian/changelog Sun Feb 17 21:36:08 2008
@@ -24,7 +24,7 @@
* Fix remains of merging errors from integrating the new upstream release.
* Convert patch handling from dpatch to quilt.
* Update 10alignment-and-headers.patch for the new release.
- + add a missing '#include <arpa/inet.h>'.
+ + add some missing #includes in send_packet_linux.c.
+ add prototypes for the *_linux and *_bsd functions in arp.h.
* 30doc_note.patch: documentation addition converted to quilt.
Modified: trunk/libnet-arp-perl/debian/patches/10alignment-and-headers.patch
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/debian/patches/10alignment-and-headers.patch?rev=15080&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/patches/10alignment-and-headers.patch (original)
+++ trunk/libnet-arp-perl/debian/patches/10alignment-and-headers.patch Sun Feb 17 21:36:08 2008
@@ -77,7 +77,7 @@
int get_mac_linux(u_char *dev, char *mac)
--- libnet-arp-perl.orig/send_packet_linux.c
+++ libnet-arp-perl/send_packet_linux.c
-@@ -22,6 +22,10 @@
+@@ -22,6 +22,11 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -85,6 +85,7 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <arpa/inet.h>
++#include <unistd.h>
#include "arp.h"
int send_packet_linux(u_char *dev, u_char *packet, u_int packetsize)
More information about the Pkg-perl-cvs-commits
mailing list