svn commit: r533977 - head/x11-wm/afterstep/files
Dirk Meyer
dinoex at FreeBSD.org
Mon May 4 19:45:09 UTC 2020
Author: dinoex
Date: Mon May 4 19:45:07 2020
New Revision: 533977
URL: https://svnweb.freebsd.org/changeset/ports/533977
Log:
- fix warnings
Added:
head/x11-wm/afterstep/files/patch-Audio.c (contents, props changed)
head/x11-wm/afterstep/files/patch-Auto.c (contents, props changed)
head/x11-wm/afterstep/files/patch-Pager.c (contents, props changed)
head/x11-wm/afterstep/files/patch-ReadPacket.c (contents, props changed)
head/x11-wm/afterstep/files/patch-SendInfo.c (contents, props changed)
head/x11-wm/afterstep/files/patch-SendText.c (contents, props changed)
Modified:
head/x11-wm/afterstep/files/patch-icons.c
Added: head/x11-wm/afterstep/files/patch-Audio.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-Audio.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,11 @@
+--- modules/Audio/Audio.c.orig 1997-04-19 20:36:39 UTC
++++ modules/Audio/Audio.c
+@@ -477,7 +477,7 @@ int audio_play(short sound)
+
+ if (sound_table[sound])
+ {
+- memset(buf,NULL,BUFSIZE);
++ memset(buf,0,BUFSIZE);
+
+ /*
+ * Don't use audio_play_dir if it's NULL or if the sound file
Added: head/x11-wm/afterstep/files/patch-Auto.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-Auto.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,11 @@
+--- modules/Auto/Auto.c.orig 1996-08-21 14:23:30 UTC
++++ modules/Auto/Auto.c
+@@ -59,7 +59,7 @@ void DeadPipe(int nonsense);
+ * main - start of module
+ *
+ ***********************************************************************/
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ FILE *file;
+ char mask_mesg[80];
Added: head/x11-wm/afterstep/files/patch-Pager.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-Pager.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,20 @@
+--- modules/Pager/Pager.c.orig 1996-08-21 14:23:33 UTC
++++ modules/Pager/Pager.c
+@@ -85,7 +85,7 @@ int StickyIcons = 0;
+ * main - start of module
+ *
+ ***********************************************************************/
+-void main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ char *temp, *s, *cptr;
+ char *display_name = NULL;
+@@ -751,7 +751,7 @@ int My_XNextEvent(Display *dpy, XEvent *event)
+
+ if(FD_ISSET(fd[1], &in_fdset))
+ {
+- if(count = ReadASPacket(fd[1],header,&body) > 0)
++ if((count = ReadASPacket(fd[1],header,&body)) > 0)
+ {
+ process_message(header[1],body);
+ free(body);
Added: head/x11-wm/afterstep/files/patch-ReadPacket.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-ReadPacket.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,11 @@
+--- lib/ReadPacket.c.orig 1996-08-21 14:23:34 UTC
++++ lib/ReadPacket.c
+@@ -9,7 +9,7 @@
+ * unsigned long header[3];
+ * unsigned long *body;
+ * int fd[2];
+- * void DeadPipe(int nonsense); /* Called if the pipe is no longer open
++ * void DeadPipe(int nonsense); // Called if the pipe is no longer open
+ *
+ * ReadASPacket(fd[1],header, &body);
+ *
Added: head/x11-wm/afterstep/files/patch-SendInfo.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-SendInfo.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,9 @@
+--- lib/SendInfo.c.orig 1996-08-21 14:23:34 UTC
++++ lib/SendInfo.c
+@@ -1,5 +1,6 @@
+ #include <stdio.h>
+ #include <ctype.h>
++#include <string.h>
+
+ /***********************************************************************
+ *
Added: head/x11-wm/afterstep/files/patch-SendText.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/afterstep/files/patch-SendText.c Mon May 4 19:45:07 2020 (r533977)
@@ -0,0 +1,10 @@
+--- lib/SendText.c.orig 1996-08-21 14:23:34 UTC
++++ lib/SendText.c
+@@ -1,5 +1,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
++#include <string.h>
++
+ /************************************************************************
+ *
+ * Sends arbitrary text to afterstep
Modified: head/x11-wm/afterstep/files/patch-icons.c
==============================================================================
--- head/x11-wm/afterstep/files/patch-icons.c Mon May 4 19:42:37 2020 (r533976)
+++ head/x11-wm/afterstep/files/patch-icons.c Mon May 4 19:45:07 2020 (r533977)
@@ -1,6 +1,15 @@
--- afterstep/icons.c.orig 1997-03-21 00:09:21 UTC
+++ afterstep/icons.c
-@@ -779,10 +779,12 @@ void Iconify(ASWindow *tmp_win, int def_
+@@ -10,7 +10,7 @@
+ *
+ * Modifications: Copyright 1995 Bo Yang. No further restrictions,
+ * as long as this copyright notice is preserved.
+- *
++ */
+ /***********************************************************************
+ *
+ * afterstep icon code
+@@ -779,10 +779,12 @@ void Iconify(ASWindow *tmp_win, int def_x, int def_y)
}
}
More information about the svn-ports-head
mailing list