SOURCES: pgplot-compile.patch (NEW) - compile fix (error: conflict...

sls sls at pld-linux.org
Sat Feb 24 12:14:21 CET 2007


Author: sls                          Date: Sat Feb 24 11:14:21 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- compile fix (error: conflicting types for 'malloc')

---- Files affected:
SOURCES:
   pgplot-compile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pgplot-compile.patch
diff -u /dev/null SOURCES/pgplot-compile.patch:1.1
--- /dev/null	Sat Feb 24 12:14:21 2007
+++ SOURCES/pgplot-compile.patch	Sat Feb 24 12:14:16 2007
@@ -0,0 +1,11 @@
+--- pgplot/pgdispd/proccom.c.orig	2007-02-10 19:10:52.000000000 +0000
++++ pgplot/pgdispd/proccom.c	2007-02-10 19:10:58.000000000 +0000
+@@ -163,8 +163,6 @@
+ 	void drawline();	/* draw a line in the bitmap window */
+ 	Pixmap XCreatePixmap();
+ 
+-	char *malloc();
+-
+ 	if (!len & savedshorts)
+ 	{ /* an incomplete command was sent! */
+ 		savedshorts=0;
================================================================


More information about the pld-cvs-commit mailing list