pkgsrc/graphics/gimmage/patches/patch-aa

24 lines
640 B
Text

$NetBSD: patch-aa,v 1.3 2013/04/30 22:34:30 joerg Exp $
--- src/FileManager.cpp.orig 2007-06-26 13:51:15.000000000 +0000
+++ src/FileManager.cpp
@@ -20,6 +20,8 @@ Copyright 2006 Bartek Kostrzewa
// gimmage: FileManager.cpp
// we make extensive use of get_current_dir_name() from Glib
+// maybe should check for this?
+#define get_current_dir_name() getcwd(NULL, PATH_MAX)
#include "FileManager.h"
#include "defines.h"
@@ -28,8 +30,9 @@ Copyright 2006 Bartek Kostrzewa
extern "C" {
#include <libintl.h>
-// #include <unistd.h>
+#include <unistd.h>
#include <sys/stat.h>
+#include <string.h>
}
FileManager::FileManager() {}