summaryrefslogtreecommitdiffstats
path: root/abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch')
-rw-r--r--abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch b/abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch
new file mode 100644
index 0000000..e0adde0
--- /dev/null
+++ b/abs/extra/xscreensaver/xscreensaver-5.18-sonar-compile.patch
@@ -0,0 +1,12 @@
+--- xscreensaver-5.18/hacks/glx/sonar-icmp.c.compile 2012-07-03 04:18:53.000000000 +0900
++++ xscreensaver-5.18/hacks/glx/sonar-icmp.c 2012-07-04 09:17:12.580996448 +0900
+@@ -591,7 +591,9 @@
+ fprintf (stderr, "%s: if: %4s: %s\n", progname,
+ ifa->ifa_name,
+ (ifa->ifa_addr->sa_family == AF_UNIX ? "local" :
++#ifdef AF_LINK
+ ifa->ifa_addr->sa_family == AF_LINK ? "link" :
++#endif
+ ifa->ifa_addr->sa_family == AF_INET6 ? "ipv6" :
+ "other"));
+ continue;