diff options
author | arved <arved@FreeBSD.org> | 2004-08-17 19:56:43 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-17 19:56:43 +0800 |
commit | a3c815e6969d337cd7e496ea52f4b3e66543c821 (patch) | |
tree | 3ea6f947b6ee74d43f17038882f81482818d6b7b | |
parent | fe4e9180de2c0858284cbe9c9449153feb123929 (diff) | |
download | freebsd-ports-gnome-a3c815e6969d337cd7e496ea52f4b3e66543c821.tar.gz freebsd-ports-gnome-a3c815e6969d337cd7e496ea52f4b3e66543c821.tar.zst freebsd-ports-gnome-a3c815e6969d337cd7e496ea52f4b3e66543c821.zip |
Fix build with gcc 3.4
-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 ; |