aboutsummaryrefslogtreecommitdiff
path: root/x11/xbelld/files/patch-xbelld.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xbelld/files/patch-xbelld.c')
-rw-r--r--x11/xbelld/files/patch-xbelld.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/x11/xbelld/files/patch-xbelld.c b/x11/xbelld/files/patch-xbelld.c
index f8c701fc1a08..8538173ebd68 100644
--- a/x11/xbelld/files/patch-xbelld.c
+++ b/x11/xbelld/files/patch-xbelld.c
@@ -1,5 +1,5 @@
---- xbelld.c.orig 2002-10-26 20:28:36.000000000 -0400
-+++ xbelld.c 2014-08-16 14:07:14.000000000 -0400
+--- xbelld.c.orig 2002-10-27 00:28:36 UTC
++++ xbelld.c
@@ -60,8 +60,7 @@
#include <dirent.h>
@@ -10,7 +10,7 @@
#endif /* !lint */
#define XskRFilename "XskRFilename"
-@@ -268,7 +267,7 @@
+@@ -268,7 +267,7 @@ _hash_nfind(struct hash *hp,
u_int i;
if (!hp->h_size)
@@ -19,7 +19,16 @@
i = hp->h_hash(data) % hp->h_size;
if (!TAILQ_EMPTY(&(hp->h_buckets[i])))
{
-@@ -914,7 +913,7 @@
+@@ -805,7 +804,7 @@ _play(struct sound_desc *sdp, float per)
+ }
+
+ static void
+-_cb_bell(XETC *tc, XETrapDatum *data, XPointer *unused)
++_cb_bell(XETC *tc, XETrapDatum *data, unsigned char *unused)
+ {
+ xBellReq *breq = (xBellReq *)&(data->u.req);
+ struct client_desc cd, *cdp;
+@@ -914,7 +913,7 @@ _rescan(void)
close(dfd);
for (nent = 0, dep = (struct dirent *)dbuf;
(char *)dep - dbuf < nb;
@@ -28,7 +37,7 @@
;
_hash_resize(&(_bd.bd_sndhash), nent * 2);
if (_bd.bd_defsnd)
-@@ -924,7 +923,7 @@
+@@ -924,7 +923,7 @@ _rescan(void)
}
for (dep = (struct dirent *)dbuf;
(char *)dep - dbuf < nb;