File ibsim-scandir.patch of Package ibsim

--- umad2sim/umad2sim.c
+++ umad2sim/umad2sim.c
@@ -698,7 +698,7 @@
 
 int scandir(const char *path, struct dirent ***namelist,
 	    int (*filter) (const struct dirent *),
-	    int (*compar) (const void *, const void *))
+	    int (*compar) (const struct dirent **, const struct dirent **))
 {
 	char new_path[4096];
 
openSUSE Build Service is sponsored by