1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

Remove patch added by accident

Reported by:	antoine
This commit is contained in:
Baptiste Daroussin 2017-04-01 16:38:59 +00:00
parent 0fd0fb5528
commit e988538a22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437446

View File

@ -1,17 +0,0 @@
--- cmake/readline.cmake.orig 2016-09-30 11:41:40 UTC
+++ cmake/readline.cmake
@@ -173,11 +173,11 @@ MACRO (FIND_SYSTEM_EDITLINE)
#include <readline.h>
int main(int argc, char **argv)
{
- typedef int MYFunction(const char*, int);
+ typedef char *MYFunction(const char*, int);
MYFunction* myf= rl_completion_entry_function;
- int res= (myf)(NULL, 0);
+ char *res= (myf)(NULL, 0);
completion_matches(0,0);
- return res;
+ return (res != NULL);
}"
EDITLINE_HAVE_COMPLETION)