mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Quiet the warnings here as I hunt the tcl-trf miscompilations with -Werror.
This commit is contained in:
parent
13dc50ac46
commit
29e2d0e71b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106335
1 changed files with 51 additions and 0 deletions
51
devel/tcl-memchan/files/patch-warnings
Normal file
51
devel/tcl-memchan/files/patch-warnings
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
--- generic/fifo.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/fifo.c Tue Apr 6 13:34:19 2004
|
||||||
|
@@ -29,3 +29,5 @@
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+
|
||||||
|
#include "memchanInt.h"
|
||||||
|
#include "buf.h"
|
||||||
|
--- generic/fifo2.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/fifo2.c Tue Apr 6 13:37:36 2004
|
||||||
|
@@ -29,3 +29,5 @@
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+
|
||||||
|
#include "memchanInt.h"
|
||||||
|
#include "buf.h"
|
||||||
|
--- generic/bufExt.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/bufExt.c Tue Apr 6 13:38:40 2004
|
||||||
|
@@ -12,4 +12,6 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+
|
||||||
|
#include "buf.h"
|
||||||
|
|
||||||
|
--- generic/bufRange.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/bufRange.c Tue Apr 6 13:40:04 2004
|
||||||
|
@@ -12,4 +12,6 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+
|
||||||
|
#include "buf.h"
|
||||||
|
|
||||||
|
--- generic/bufFix.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/bufFix.c Tue Apr 6 13:40:10 2004
|
||||||
|
@@ -12,4 +12,6 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+
|
||||||
|
#include "buf.h"
|
||||||
|
|
||||||
|
--- generic/buf.c Mon Aug 26 13:02:08 2002
|
||||||
|
+++ generic/buf.c Tue Apr 6 13:46:08 2004
|
||||||
|
@@ -64,4 +64,4 @@
|
||||||
|
{
|
||||||
|
Tcl_InterpDeleteProc* proc = (Tcl_InterpDeleteProc*) NULL;
|
||||||
|
- return (int) Tcl_GetAssocData (interp, ASSOC, &proc);
|
||||||
|
+ return (int)(long) Tcl_GetAssocData (interp, ASSOC, &proc);
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue