freebsd-ports/x11-wm/euclid-wm/files/patch-euclid-wm.c
Tobias Kortkamp 73f350d976 Unbreak port
- Move from Google Code to GitHub
- Update maintainer email

PR:		213190
Submitted by:	Mageirias Anastasios <anastasios@mageirias.com> (maintainer)
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D9822
2017-02-27 10:05:15 +00:00

16 lines
490 B
C

--- euclid-wm.c.orig 2015-09-06 19:45:03 UTC
+++ euclid-wm.c
@@ -93,9 +93,11 @@ Thus the one or more of the following no
//this is a hack
-FILE *popen(char *, char *);
+//FILE *popen(char *, char *);
+FILE *popen(const char *, const char *);
int pclose (FILE *);
-char *tempnam(char *,char*);
+//char *tempnam(char *,char*);
+char *tempnam(const char *, const char *);
//determines size of a static array (won't work with pointers)
#define ARRAY_LEN(x) (sizeof(x)/sizeof((x)[0]))