File libreadline-java-0.8.0-missing-return-type.patch of Package libreadline-java

Index: libreadline-java-0.8.0/src/native/org_gnu_readline_Readline.c
===================================================================
--- libreadline-java-0.8.0.orig/src/native/org_gnu_readline_Readline.c
+++ libreadline-java-0.8.0/src/native/org_gnu_readline_Readline.c
@@ -430,7 +430,7 @@ const char *java_completer(char *text, i
   jtext = (*jniEnv)->NewStringUTF(jniEnv,text);
 
   if (jniMethodId == 0) {
-    return;
+    return ((const char *)NULL);
   }
 
   completion = (*jniEnv)->CallObjectMethod(jniEnv, jniObject,