holotz-castle (1.3.14-5) 11_dirent64.patch

Summary

 JLib/JLib/Util/JFS.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: Fix the FTBFS by using dirent instead of dirent64.
Forwarded: no
Author: Barry deFreese <bdefreese@debian.org>
Last-Update: 2009-11-13

Index: holotz-castle-1.3.14/JLib/JLib/Util/JFS.cpp
===================================================================
--- holotz-castle-1.3.14.orig/JLib/JLib/Util/JFS.cpp	2009-11-13 09:12:02.000000000 -0500
+++ holotz-castle-1.3.14/JLib/JLib/Util/JFS.cpp	2009-11-13 09:12:29.000000000 -0500
@@ -886,8 +886,8 @@
 		s32 n, k;
 
 		// Si es un directorio lo importa recursivamente
-		struct dirent64 **namelist;
-		n = scandir64(filename, &namelist, 0, alphasort);
+		struct dirent **namelist;
+		n = scandir(filename, &namelist, 0, alphasort);
 
 		if (n < 0)
 		{