summaryrefslogtreecommitdiff
path: root/graphics/ee/patches
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1999-03-31 21:00:21 +0000
committergarbled <garbled@pkgsrc.org>1999-03-31 21:00:21 +0000
commitea3873dc3aab4f48bec2fc55526453369bb6d36b (patch)
tree0a6fecc8617121928c340b7aae8da1ce6bcc76f6 /graphics/ee/patches
parent08689d8b1c54f746cfc62ea64f4c458a07f74291 (diff)
downloadpkgsrc-ea3873dc3aab4f48bec2fc55526453369bb6d36b.tar.gz
Import new pkg for ee-0.3.8. Part of gnome/enlightenment.
Image viewer based on imlib by the Rasterman. Gtk clone of xv.
Diffstat (limited to 'graphics/ee/patches')
-rw-r--r--graphics/ee/patches/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/ee/patches/patch-aa b/graphics/ee/patches/patch-aa
new file mode 100644
index 00000000000..9f1fd21a72c
--- /dev/null
+++ b/graphics/ee/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/31 21:00:22 garbled Exp $
+--- ee_conf.c.orig Wed Mar 31 12:15:14 1999
++++ ee_conf.c Wed Mar 31 12:22:10 1999
+@@ -10,6 +10,9 @@
+ #include <ee_image.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <errno.h>
++#include <sys/types.h>
++#include <sys/stat.h>
+ #include "globals.h"
+ #include "functions.h"
+
+@@ -25,10 +28,18 @@
+ gchar *hom;
+ gchar *s;
+ FILE *f;
++ struct stat sb;
++ int i;
++
++ extern int errno;
+
+ hom = homedir(getuid());
+ if (!hom)
+ return;
++ s = g_strconcat(hom, "/.ee", NULL);
++ i = stat(s, &sb);
++ if (i == -1 && errno == ENOENT)
++ mkdir(s, 0);
+ s = g_strconcat(hom, "/.ee/settings", NULL);
+ g_free(hom);
+ f = fopen(s, "w");