[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: patch for acinclude.m4.in in the 3.1 BRANCH
From: Andy Fawcett <andy () athame ! co ! uk>
Date: 2002-12-14 19:40:10
[Download RAW message or body]
Hi,
I posted a patch to kde-cvs that fixes a typo in acinclude.m4.in
Here's a slightly modified patch for it, which also allows it to find
mkstemps() on FreeBSD 5.0, which is located in <unistd.h>
Please could one of the admin gurus review and apply.
Thanks
Andy
--
Andy Fawcett | "In an open world without walls and fences,
andy@athame.co.uk | we wouldn't need Windows and Gates."
tap@lspace.org | -- anon
["acinclude.patch" (text/x-diff)]
Index: admin/acinclude.m4.in
===================================================================
RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v
retrieving revision 2.302.2.3
diff -u -5 -p -d -r2.302.2.3 acinclude.m4.in
--- admin/acinclude.m4.in 11 Dec 2002 17:14:39 -0000 2.302.2.3
+++ admin/acinclude.m4.in 14 Dec 2002 19:37:28 -0000
@@ -2166,10 +2166,11 @@ mkstemp("/tmp/aaaXXXXXX");
AC_DEFUN(AC_CHECK_MKSTEMPS,
[
KDE_CHECK_FUNC_EXT(mkstemps, [
#include <stdlib.h>
+#include <unistd.h>
],
[
mkstemps("/tmp/aaaXXXXXX", 6);
],
[int mkstemps(char *, int)],
@@ -2205,11 +2206,11 @@ AC_DEFUN(AC_CHECK_STRLCAT,
KDE_CHECK_FUNC_EXT(strlcat, [
#include <string.h>
],
[ char buf[20];
buf[0]='\0';
- strlat(buf, "KDE function test", sizeof(buf));
+ strlcat(buf, "KDE function test", sizeof(buf));
],
[unsigned int strlcat(char*, const char*, unsigned int)],
[STRLCAT])
])
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic