summarylogtreecommitdiffstats
path: root/ssmping_x86_64.patch
diff options
context:
space:
mode:
authorMatthias Schiffer2015-06-22 21:32:04 +0200
committerMatthias Schiffer2015-06-22 21:32:04 +0200
commitc911ab87928dad8e1dd5890fc13cd1a2d4ab0045 (patch)
treee97fc80bccdc5b0d8602528dc505b0909b15c334 /ssmping_x86_64.patch
downloadaur-ssmping.tar.gz
ssmping 0.9.1-3
Diffstat (limited to 'ssmping_x86_64.patch')
-rw-r--r--ssmping_x86_64.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ssmping_x86_64.patch b/ssmping_x86_64.patch
new file mode 100644
index 000000000000..0522f93a84b5
--- /dev/null
+++ b/ssmping_x86_64.patch
@@ -0,0 +1,20 @@
+--- ssmping-0.9.1.orig/ssmping.c 2008-02-18 14:41:50.000000000 +0100
++++ ssmping-0.9.1/ssmping.c 2010-02-19 01:07:59.000000000 +0100
+@@ -11,6 +11,8 @@
+ * copyright notice and this permission notice appear in all copies.
+ */
+
++#define _GNU_SOURCE 1
++
+ #include "ssmping.h"
+
+ extern int optind;
+@@ -22,7 +24,7 @@
+ uint16_t size;
+ uint32_t intface;
+ struct sockaddr_storage name, ucaddr, mcaddr, grpaddr;
+- size_t namelen;
++ socklen_t namelen;
+ #ifdef WIN32
+ WORD wVersionRequested;
+ WSADATA wsaData;