File fix-64bit-portability-issue.patch of Package ccextractor

Index: ccextractor-0.87/src/GUI/file_browser.c
===================================================================
--- ccextractor-0.87.orig/src/GUI/file_browser.c
+++ ccextractor-0.87/src/GUI/file_browser.c
@@ -3,6 +3,8 @@
 #include "win_dirent.h"
 #else
 #include <dirent.h>
+#include <sys/types.h>
+#include <pwd.h>
 #endif
 #include <stdio.h>
 #include <assert.h>
@@ -313,7 +315,7 @@ file_browser_init(struct file_browser *b
 #ifdef _WIN32
 		if (!home) home = getenv("USERPROFILE");
 #else
-		if (!home) home = getpwuid(getuid());
+		if (!home) home = getpwuid(getuid())->pw_dir;
 #endif
 		{
 			size_t l;
openSUSE Build Service is sponsored by