aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c')
-rw-r--r--x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c b/x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c
new file mode 100644
index 000000000000..bdd2ef6c392d
--- /dev/null
+++ b/x11-wm/afterstep-stable/files/patch-libAfterStep::kde.c
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- libAfterStep/kde.c.orig Thu Jun 22 21:30:40 2006
++++ libAfterStep/kde.c Thu Jun 22 21:31:14 2006
+@@ -115,8 +115,9 @@
+ {
+ if( (tag = make_kde_config_comment_tag()) != NULL )
+ {
++ size_t len;
+ ++i ;
+- int len = strlen( &buffer[i] ) ;
++ len = strlen( &buffer[i] ) ;
+ while( len > 0 && isspace( buffer[i+len-1] ) ) --len ;
+ if( len > 0 )
+ {