diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-05 15:01:17 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-05 15:01:17 +0000 |
commit | 3c5832c98edfb966cea4055e2e3ca0efe7554ceb (patch) | |
tree | 081e55002205db0e4f62a58c46ac17ef2f466d70 /x11-wm/kompmgr | |
parent | 397d9fa708815254b5060d52a6f8b0647045a174 (diff) |
Notes
Diffstat (limited to 'x11-wm/kompmgr')
-rw-r--r-- | x11-wm/kompmgr/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/kompmgr/files/patch-kwin_kompmgr_kompmgr.c | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/x11-wm/kompmgr/Makefile b/x11-wm/kompmgr/Makefile index 002362af26bc..26b11516bb95 100644 --- a/x11-wm/kompmgr/Makefile +++ b/x11-wm/kompmgr/Makefile @@ -7,6 +7,7 @@ PORTNAME= kompmgr PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/x11-wm/kompmgr/files/patch-kwin_kompmgr_kompmgr.c b/x11-wm/kompmgr/files/patch-kwin_kompmgr_kompmgr.c new file mode 100644 index 000000000000..3aea64e34818 --- /dev/null +++ b/x11-wm/kompmgr/files/patch-kwin_kompmgr_kompmgr.c @@ -0,0 +1,28 @@ +--- kwin/kompmgr/kompmgr.c.orig Tue Jul 5 16:23:25 2005 ++++ kwin/kompmgr/kompmgr.c Tue Jul 5 16:25:43 2005 +@@ -1807,6 +1807,7 @@ + { + win *new = malloc (sizeof (win)); + win **p; ++ unsigned int tmp; + + if (!new) + return; +@@ -1867,7 +1868,7 @@ + new->shadowSize = get_shadow_prop (dpy, new); + new->shapable = get_shapable_prop(dpy, new); + new->titleHeight = get_titleHeight_prop(dpy, new); +- unsigned int tmp = get_dim_prop(dpy, new); ++ tmp = get_dim_prop(dpy, new); + new->dimPicture = (tmp < OPAQUE) ? solid_picture (dpy, True, (double)tmp/OPAQUE, 0.1, 0.1, 0.1) : None; + new->windowType = determine_wintype (dpy, new->id); + determine_mode (dpy, new); +@@ -2411,7 +2411,7 @@ + const char *home = getenv("HOME"); + const char *configfile = "/.xcompmgrrc"; + wasNull = True; +- filename = (char*)malloc((strlen(home)+strlen(configfile)+1)*sizeof(char)); ++ filename = (char*)calloc((strlen(home)+strlen(configfile)+1), sizeof(char)); + + strcat(filename, home); + strcat(filename, configfile); |