From 30646785d30755312850bf380ab41e57c34d02e3 Mon Sep 17 00:00:00 2001 From: Flammie Date: Thu, 11 Sep 2008 11:31:15 +0000 Subject: Version bump. Patch for gcc-4.3. git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1292 32389bae-6d03-0410-99cf-db05cde120eb --- sci-misc/sfst/files/SFST-1.3-gcc43.patch | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 sci-misc/sfst/files/SFST-1.3-gcc43.patch (limited to 'sci-misc/sfst/files') diff --git a/sci-misc/sfst/files/SFST-1.3-gcc43.patch b/sci-misc/sfst/files/SFST-1.3-gcc43.patch new file mode 100644 index 000000000..3198d6b0f --- /dev/null +++ b/sci-misc/sfst/files/SFST-1.3-gcc43.patch @@ -0,0 +1,37 @@ +diff -Naur SFST-1.3/src/alphabet.C SFST/src/alphabet.C +--- SFST-1.3/src/alphabet.C 2008-09-11 10:59:11.000000000 +0000 ++++ SFST/src/alphabet.C 2008-09-11 11:01:44.000000000 +0000 +@@ -10,6 +10,9 @@ + /* */ + /*******************************************************************/ + ++#include ++#include ++ + #include "utf8.h" + #include "alphabet.h" + +diff -Naur SFST-1.3/src/alphabet.h SFST/src/alphabet.h +--- SFST-1.3/src/alphabet.h 2008-09-11 10:59:11.000000000 +0000 ++++ SFST/src/alphabet.h 2008-09-11 10:59:54.000000000 +0000 +@@ -21,6 +21,8 @@ + + #include + ++#include ++ + #ifndef CODE_DATA_TYPE + typedef unsigned short Character; // data type of the symbol codes + #else +diff -Naur SFST-1.3/src/interface.h SFST/src/interface.h +--- SFST-1.3/src/interface.h 2008-09-11 10:59:11.000000000 +0000 ++++ SFST/src/interface.h 2008-09-11 11:03:32.000000000 +0000 +@@ -82,7 +82,7 @@ + Transducer *optional( Transducer *a ); + Transducer *make_rule( Transducer *lc, Range *r1, Twol_Type type, + Range *r2, Transducer *rc ); +-Transducer *freely_insert( Transducer *a, Character c, Character c ); ++Transducer *freely_insert( Transducer *a, Character lc, Character uc ); + Transducer *make_mapping( Ranges*, Ranges* ); + Ranges *add_range( Range*, Ranges* ); + Contexts *make_context( Transducer *l, Transducer *r ); -- cgit v1.2.3-65-gdbad