diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-01 06:14:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-01 06:14:29 +0800 |
commit | 3e10419865149795246453e4a8aa7776c7a4f323 (patch) | |
tree | 49c621d165ed5ad5351a089253b18e543bdc2843 | |
parent | e0925091e58e3c2d9c47354875f39507c5f4a33b (diff) | |
download | marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar.gz marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar.bz2 marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar.lz marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar.xz marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.tar.zst marcuscom-ports-3e10419865149795246453e4a8aa7776c7a4f323.zip |
Fix build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3746 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c | 14 | ||||
-rw-r--r-- | math/gcalctool/files/patch-gcalctool_functions.c | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c b/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c new file mode 100644 index 000000000..86addc0fc --- /dev/null +++ b/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRObject.c @@ -0,0 +1,14 @@ +--- srlow/libsrlow/SRObject.c.orig Mon Feb 28 17:11:27 2005 ++++ srlow/libsrlow/SRObject.c Mon Feb 28 17:11:41 2005 +@@ -4206,9 +4206,10 @@ + offset = AccessibleText_getCaretOffset (acc_text); + if (offset == AccessibleText_getCharacterCount (acc_text) && offset > 0) + { ++ char *ret; + offset--; + last = TRUE;/*the char is the last char in the text*/ +- char *ret = AccessibleText_getTextBeforeOffset (acc_text, offset+1, ++ ret = AccessibleText_getTextBeforeOffset (acc_text, offset+1, + SPI_TEXT_BOUNDARY_LINE_START, &line_start_offset, &line_end_offset); + SPI_freeString (ret); + if (offset == line_start_offset && offset > 0) diff --git a/math/gcalctool/files/patch-gcalctool_functions.c b/math/gcalctool/files/patch-gcalctool_functions.c new file mode 100644 index 000000000..ba3d6af38 --- /dev/null +++ b/math/gcalctool/files/patch-gcalctool_functions.c @@ -0,0 +1,19 @@ +--- gcalctool/functions.c.orig Mon Feb 28 17:07:30 2005 ++++ gcalctool/functions.c Mon Feb 28 17:07:43 2005 +@@ -311,7 +311,6 @@ + void + trig_filter(char **func) + { +- assert(func); + + enum mode { + normal = 0, +@@ -322,6 +321,8 @@ + + int inverse; + int hyperbolic; ++ ++ assert(func); + + inverse = (v->inverse) ? inv : 0; + hyperbolic = (v->hyperbolic) ? hyp : 0; |