diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 11:56:43 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 11:56:43 +0000 |
commit | 6a5dd70bf1eaae19c78556573ad5ad26d36f755e (patch) | |
tree | 696e9a3f5004d8414d096a26b9e5ccf9c4f59ac6 /hebrew | |
parent | 9becd45701c40c24c25d14ad9580bbf136ea50e0 (diff) |
Fix build with gcc 3.4
Notes
Notes:
svn path=/head/; revision=116508
Diffstat (limited to 'hebrew')
-rw-r--r-- | hebrew/he2/files/patch-HebrewEditor.cxx | 11 | ||||
-rw-r--r-- | hebrew/he2/files/patch-aDictionary.cxx | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/hebrew/he2/files/patch-HebrewEditor.cxx b/hebrew/he2/files/patch-HebrewEditor.cxx new file mode 100644 index 000000000000..b31967d5025e --- /dev/null +++ b/hebrew/he2/files/patch-HebrewEditor.cxx @@ -0,0 +1,11 @@ +--- HebrewEditor.cxx.orig Tue Aug 17 13:49:15 2004 ++++ he2/HebrewEditor.cxx Tue Aug 17 13:49:27 2004 +@@ -224,7 +224,7 @@ + screen->Refresh() ; + screen->GetMaxYX(&sizey, &sizex) ; + +- buffers = new (Edit *)[MAX_BUFFER_COUNT] ; ++ buffers = new Edit *[MAX_BUFFER_COUNT] ; + aString filename ; + bufferCount = 0 ; + if (argc > 1) { diff --git a/hebrew/he2/files/patch-aDictionary.cxx b/hebrew/he2/files/patch-aDictionary.cxx new file mode 100644 index 000000000000..3f5fc48ab03e --- /dev/null +++ b/hebrew/he2/files/patch-aDictionary.cxx @@ -0,0 +1,11 @@ +--- aDictionary.cxx.orig Tue Aug 17 13:50:38 2004 ++++ he2/aDictionary.cxx Tue Aug 17 13:50:52 2004 +@@ -128,7 +128,7 @@ + return 0 ; // nothing to look for + } + +- char **res = new (char *)[result_count_max] ; ++ char **res = new char *[result_count_max] ; + int *res_dist = new int[result_count_max] ; + int last_res= 0 ; + char *str, **pstr ; |