diff options
author | George Shapovalov <george@gentoo.org> | 2002-10-15 03:45:07 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2002-10-15 03:45:07 +0000 |
commit | c2b30bcd4e83a0d05d9298a3c845a0c8d7d87eea (patch) | |
tree | 01e4fd5eb87936b5e96045de971e56d499c5c032 /app-sci/xcircuit/files | |
parent | new version (diff) | |
download | gentoo-2-c2b30bcd4e83a0d05d9298a3c845a0c8d7d87eea.tar.gz gentoo-2-c2b30bcd4e83a0d05d9298a3c845a0c8d7d87eea.tar.bz2 gentoo-2-c2b30bcd4e83a0d05d9298a3c845a0c8d7d87eea.zip |
gcc-3.2 related fix
Diffstat (limited to 'app-sci/xcircuit/files')
-rw-r--r-- | app-sci/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch | 10 | ||||
-rw-r--r-- | app-sci/xcircuit/files/xcircuit-2.5.4-sigsegv.patch | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/app-sci/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch b/app-sci/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch new file mode 100644 index 000000000000..001c50692ed7 --- /dev/null +++ b/app-sci/xcircuit/files/xcircuit-2.5.4-XQueryColor.patch @@ -0,0 +1,10 @@ +--- xcircuit.c.orig 2002-03-20 14:00:50.000000000 -0800 ++++ xcircuit.c 2002-10-11 12:24:24.000000000 -0700 +@@ -1845,6 +1845,7 @@ + XQueryColor(dpy, cmap, &loccolor); + + locidx = rgb_alloccolor(loccolor.red, loccolor.green, loccolor.blue); ++ return locidx; + } + + /*-------------------------------------------------------------------------*/ diff --git a/app-sci/xcircuit/files/xcircuit-2.5.4-sigsegv.patch b/app-sci/xcircuit/files/xcircuit-2.5.4-sigsegv.patch new file mode 100644 index 000000000000..171931300bf4 --- /dev/null +++ b/app-sci/xcircuit/files/xcircuit-2.5.4-sigsegv.patch @@ -0,0 +1,11 @@ +--- files.c.orig 2002-03-26 13:12:18.000000000 -0800 ++++ files.c 2002-10-11 12:23:38.000000000 -0700 +@@ -1970,6 +1970,8 @@ + int curcolor = ccolor; + int i, j, k; + objinstptr *newinst; ++ objinstptr tmpobjinstptr; ++ newinst = &tmpobjinstptr; + + /* path-handling variables */ + pathptr *newpath; |