summaryrefslogtreecommitdiffstats
path: root/databases/glom/files/patch-glom_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/glom/files/patch-glom_main.cc')
-rw-r--r--databases/glom/files/patch-glom_main.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/databases/glom/files/patch-glom_main.cc b/databases/glom/files/patch-glom_main.cc
deleted file mode 100644
index c9143bb8b..000000000
--- a/databases/glom/files/patch-glom_main.cc
+++ /dev/null
@@ -1,32 +0,0 @@
---- glom/main.cc.orig 2009-03-16 14:53:55.000000000 +0100
-+++ glom/main.cc 2009-03-17 16:22:01.000000000 +0100
-@@ -100,18 +100,19 @@ OptionGroup::OptionGroup()
-
- } //namespace Glom
-
--#ifndef G_OS_WIN32
-+#ifdef __linux
- extern "C" void __libc_freeres(void);
- #endif
-
- int
- main(int argc, char* argv[])
- {
--#ifndef G_OS_WIN32
-+#ifdef __linux
- //Force some cleanup at exit,
- //to help valgrind to detect memory leaks:
- atexit(__libc_freeres);
- #else
-+# ifdef G_OS_WIN32
- WSADATA data;
- int errcode = WSAStartup(MAKEWORD(2, 0), &data);
- if(errcode != 0)
-@@ -123,6 +124,7 @@ main(int argc, char* argv[])
- gchar* installation_dir_c = g_win32_get_package_installation_directory_of_module(NULL);
- const std::string installation_dir(installation_dir_c);
- g_free(installation_dir_c);
-+# endif
- #endif
-
- // TODO: I am not sure why, but this does not work. PYTHONPATH is set