summaryrefslogtreecommitdiff
path: root/finance/emma/patches/patch-ac
blob: 26a54ada7d6bacfe9ce0884dc7da211e9932a748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ac,v 1.2 2001/07/02 16:09:43 drochner Exp $

--- src/py_module.c.orig	Wed Nov  1 09:10:18 2000
+++ src/py_module.c	Mon Jul  2 17:56:19 2001
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
+#include <locale.h>
 
 #include <Python.h>
 #include <compile.h>  /* why is python-dev designed so, that I have      */
@@ -101,11 +102,7 @@
      strcat(tmp, "/.emma.py");
      py_module_include_file(tmp, FALSE);
 
-     py_module_include_file("/usr/share/emma.py", FALSE);
-     py_module_include_file("/usr/local/share/emma.py", FALSE);
-
-     py_module_include_file("/usr/share/emma/emma.py", FALSE);
-     py_module_include_file("/usr/local/share/emma/emma.py", FALSE);
+     py_module_include_file(PREFIX "/share/emma/emma.py", FALSE);
 }
 
 void py_module_redirect_stderr(void)