File DevIL-1.7.8-return-random-data.patch of Package libdevil

diff -Naur src-ILU/ilur/ilur.c src-ILU/ilur/ilur.c
--- src-ILU/ilur/ilur.c	2009-04-03 06:15:19.000000000 +0200
+++ src-ILU/ilur/ilur.c	2009-04-08 09:32:18.000000000 +0200
@@ -195,6 +195,8 @@
 			/* Here we copy the stuff to the output parameter */
 			nonwhitespaced[i - num_whitespaced] = string[i];
 		}
+
+	return 0;
 }
 
 /** How to fill our Params structure?
@@ -273,6 +275,8 @@
 	/* clean the mess... */
 	free(fun_to_call);
 	fun_to_call = 0;
+
+	return 0;
 }
 
 void print_help()
openSUSE Build Service is sponsored by