[libnet-arp-perl] 04/11: Drop debian/patches/bsd-missing-includes.patch, merged upstream.

gregor herrmann gregoa at debian.org
Sat Oct 18 20:39:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libnet-arp-perl.

commit a59dde62d8126ed37d527748e95fead557124dbb
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Oct 18 22:28:20 2014 +0200

    Drop debian/patches/bsd-missing-includes.patch, merged upstream.
---
 debian/patches/bsd-missing-includes.patch | 47 -------------------------------
 debian/patches/series                     |  1 -
 2 files changed, 48 deletions(-)

diff --git a/debian/patches/bsd-missing-includes.patch b/debian/patches/bsd-missing-includes.patch
deleted file mode 100644
index c7afa55..0000000
--- a/debian/patches/bsd-missing-includes.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Description: missing #include's on BSD
- net/if_arp.h uses uint64_t but does not include stdint.h itself, probably to
- avoid header pollution. The patch adds the missing include, replacing
- <sys/types.h>. Without it we aren't able to build the package of kfreebsd
- (that's Debian fith FreeBSD kernel) because of:
-   /usr/include/net/if_arp.h:130:2: error: unknown type name 'uint64_t'
- <stdio.h> is added because of the usage of sprintf()
- <string.h> is added because of the usage of strncpy()/malloc()/free()/strlen()
- <stdlib.h> is added because of the usage of exit()
- Without these gcc complains about incompatible implicit declaration of the
- built-in functions.
-Author: Damyan Ivanov <dmn at debian.org>
-Bug-Debian: https://bugs.debian.org/758283
-Forwarded: https://rt.cpan.org/Ticket/Display.html?id=98169
-Bug: https://rt.cpan.org/Ticket/Display.html?id=98169
-
---- a/arp_lookup_bsd.c
-+++ b/arp_lookup_bsd.c
-@@ -22,13 +22,16 @@ See the GNU General Public License for m
- #include <sys/socket.h>
- #include <net/if_dl.h>
- #include <net/route.h>
-+#include <stdint.h>
- #include <net/if_arp.h>
- #include <net/if.h>
- #include <netinet/in.h>
- #include <netinet/if_ether.h>
- #include <arpa/inet.h>
- #include <sys/sysctl.h>
--#include <sys/types.h>
-+#include <stdio.h>
-+#include <string.h>
-+#include <stdlib.h>
- #include "arp.h"
- 
- #define ROUNDUP(a) \
---- a/send_packet_bsd.c
-+++ b/send_packet_bsd.c
-@@ -24,6 +24,8 @@ See the GNU General Public License for m
- #include <fcntl.h>
- #include <net/bpf.h>
- #include <net/if.h>
-+#include <string.h>
-+#include <stdio.h>
- #include "arp.h"
- 
- int send_packet_bsd(const char *dev, u_char *packet, u_int packetsize)
diff --git a/debian/patches/series b/debian/patches/series
index 4f2db20..7ba7a93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 20skip_send_packet_test.patch
-bsd-missing-includes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-arp-perl.git



More information about the Pkg-perl-cvs-commits mailing list