Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/cooledit/files: cooledit-3.17.17-interix5.patch cooledit-3.17.17-interix.patch
Date: Mon, 05 Apr 2010 04:04:47
Message-Id: E1NydYJ-0001GP-H1@stork.gentoo.org
1 abcd 10/04/05 04:04:43
2
3 Added: cooledit-3.17.17-interix5.patch
4 cooledit-3.17.17-interix.patch
5 Log:
6 Add prefix keywords, patches for Interix
7 (Portage version: -svn/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 app-editors/cooledit/files/cooledit-3.17.17-interix5.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-interix5.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-interix5.patch?rev=1.1&content-type=text/plain
14
15 Index: cooledit-3.17.17-interix5.patch
16 ===================================================================
17 diff -ru -x '*.Po' -x '*.Plo' cooledit-3.17.17.orig/rxvt/_rxvtlib.h cooledit-3.17.17/rxvt/_rxvtlib.h
18 --- cooledit-3.17.17.orig/rxvt/_rxvtlib.h 2008-04-17 12:09:05 +0200
19 +++ cooledit-3.17.17/rxvt/_rxvtlib.h 2008-04-17 12:09:31 +0200
20 @@ -169,7 +169,9 @@
21 #endif
22 #include <netinet/in.h>
23 #include <arpa/inet.h>
24 +#ifndef __INTERIX
25 #include <net/if.h>
26 +#endif
27 #if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__INTERIX)
28 #include <net/if_arp.h>
29 #endif
30
31
32
33 1.1 app-editors/cooledit/files/cooledit-3.17.17-interix.patch
34
35 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-interix.patch?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cooledit/files/cooledit-3.17.17-interix.patch?rev=1.1&content-type=text/plain
37
38 Index: cooledit-3.17.17-interix.patch
39 ===================================================================
40 diff -ru -x '*.Po' -x '*.Plo' cooledit-3.17.17.orig/editor/_coolpython.c cooledit-3.17.17/editor/_coolpython.c
41 --- cooledit-3.17.17.orig/editor/_coolpython.c 2008-04-03 10:59:33 +0200
42 +++ cooledit-3.17.17/editor/_coolpython.c 2008-04-03 11:02:45 +0200
43 @@ -1,4 +1,15 @@
44
45 +// on interix, need this before config.h to avoid clashes
46 +// with wchar.h, which cooledit believes is not there, and therefore
47 +// defines mbstate_t. Python.h includes it, and thus wchar.h messes up.
48 +#ifdef __cplusplus
49 +extern "C" {
50 +#endif
51 +#include "Python.h"
52 +#ifdef __cplusplus
53 +}
54 +#endif
55 +
56 #include <config.h>
57
58 #ifdef HAVE_PYTHON
59 diff -ru -x '*.Po' -x '*.Plo' cooledit-3.17.17.orig/rxvt/_rxvtlib.h cooledit-3.17.17/rxvt/_rxvtlib.h
60 --- cooledit-3.17.17.orig/rxvt/_rxvtlib.h 2008-04-03 11:10:02 +0200
61 +++ cooledit-3.17.17/rxvt/_rxvtlib.h 2008-04-03 09:00:13 +0200
62 @@ -170,7 +170,7 @@
63 #include <netinet/in.h>
64 #include <arpa/inet.h>
65 #include <net/if.h>
66 -#if !defined(__NetBSD__) && !defined(__OpenBSD__)
67 +#if !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__INTERIX)
68 #include <net/if_arp.h>
69 #endif
70 #include "X11/keysymdef.h"