Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/sphinx3/files: sphinx3-0.8_heap_fix.patch
Date: Thu, 17 Nov 2011 17:46:11
Message-Id: 20111117174556.D21752004C@flycatcher.gentoo.org
1 neurogeek 11/11/17 17:45:56
2
3 Added: sphinx3-0.8_heap_fix.patch
4 Log:
5 Version bump. Closes bug #344991
6
7 (Portage version: 2.2.0_alpha46/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/sphinx3/files/sphinx3-0.8_heap_fix.patch?rev=1.1&content-type=text/plain
14
15 Index: sphinx3-0.8_heap_fix.patch
16 ===================================================================
17 diff -uNr sphinx3-0.8.orig/python/setup.py sphinx3-0.8/python/setup.py
18 --- sphinx3-0.8.orig/python/setup.py 2008-12-31 23:20:08.000000000 -0500
19 +++ sphinx3-0.8/python/setup.py 2011-11-17 09:46:57.000000000 -0500
20 @@ -8,15 +8,10 @@
21 define_macros = []
22
23 module = Extension('_sphinx3',
24 - include_dirs = ['../../sphinxbase/include',
25 - '../include',
26 - '/usr/local/include/sphinxbase/',
27 - '/usr/local/include/sphinx3',
28 - ],
29 + include_dirs = ['../include',
30 + '@GENTOO_PORTAGE_EPREFIX@/usr/include/sphinxbase'],
31 define_macros = define_macros,
32 - library_dirs = ['../../sphinxbase/src/libsphinxbase/.libs',
33 - '../src/libs3decoder/.libs',
34 - '../../sphinxbase/lib/debug',
35 + library_dirs = ['../src/libs3decoder/.libs',
36 '../lib/debug',
37 ],
38 libraries = ['sphinxbase', 's3decoder'],
39 diff -uNr sphinx3-0.8.orig/src/libs3decoder/libsearch/vithist.c sphinx3-0.8/src/libs3decoder/libsearch/vithist.c
40 --- sphinx3-0.8.orig/src/libs3decoder/libsearch/vithist.c 2008-12-31 13:27:56.000000000 -0500
41 +++ sphinx3-0.8/src/libs3decoder/libsearch/vithist.c 2011-11-17 09:46:24.000000000 -0500
42 @@ -647,7 +647,7 @@
43 {
44 int32 se, fe, filler_done, th;
45 vithist_entry_t *ve;
46 - heap_t h;
47 + heap_t *h;
48 s3wid_t *wid;
49 int32 i;