diff options
author | perky <perky@FreeBSD.org> | 2004-07-14 14:37:04 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-07-14 14:37:04 +0800 |
commit | f05ce4e99d2c792f398d7fae39c5624df8a420e9 (patch) | |
tree | ff4c6adfc1594664f556054d26e83f9be2fb75cd /misc | |
parent | 5d5e2adbde910fe4a12585a5b01e0aadfd117a1b (diff) | |
download | freebsd-ports-gnome-f05ce4e99d2c792f398d7fae39c5624df8a420e9.tar.gz freebsd-ports-gnome-f05ce4e99d2c792f398d7fae39c5624df8a420e9.tar.zst freebsd-ports-gnome-f05ce4e99d2c792f398d7fae39c5624df8a420e9.zip |
Enable to build with C89 compilers for -STABLE.
Submitted by: Greg J. <xcas@cox.net>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xosd/files/patch-xosd.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/misc/xosd/files/patch-xosd.c b/misc/xosd/files/patch-xosd.c index a488947df2a9..8f7f55b4e51d 100644 --- a/misc/xosd/files/patch-xosd.c +++ b/misc/xosd/files/patch-xosd.c @@ -1,5 +1,23 @@ ---- src/libxosd/xosd.c.orig Mon Jul 5 02:29:06 2004 -+++ src/libxosd/xosd.c Sun Jul 11 06:30:47 2004 +--- src/libxosd/xosd.c.orig Sun Jul 4 15:29:06 2004 ++++ src/libxosd/xosd.c Tue Jul 13 22:05:03 2004 +@@ -272,7 +272,7 @@ + { + int x = 10; + int y = osd->line_height * line; +- int i; ++ int i, draw_line_bitmap; + xosd_line *l = &osd->lines[line]; + assert(osd); + FUNCTION_START; +@@ -352,7 +352,7 @@ + + if (osd->outline_offset) { + XSetForeground(osd->display, osd->gc, osd->outline_pixel); +- int draw_line_bitmap = !(osd->fill_mask & FILL_OUTLINE); ++ draw_line_bitmap = !(osd->fill_mask & FILL_OUTLINE); + + for (i = 1; i <= osd->outline_offset; i++) { + draw_with_mask(osd, l, x + i, y, i - osd->extent->y, @@ -432,7 +432,7 @@ FUNCTION_START; DEBUG("event thread started"); |