diff options
author | petef <petef@FreeBSD.org> | 2002-06-09 22:24:35 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-06-09 22:24:35 +0800 |
commit | 46cc7fce324ae78262e71541696fd22a7e193a35 (patch) | |
tree | 0fdc533e08a76a7526d6586e0d9485981d38422f /x11-wm | |
parent | 3ddb86452d2d15bd382dfc81499c7d069f717f9b (diff) | |
download | freebsd-ports-gnome-46cc7fce324ae78262e71541696fd22a7e193a35.tar.gz freebsd-ports-gnome-46cc7fce324ae78262e71541696fd22a7e193a35.tar.zst freebsd-ports-gnome-46cc7fce324ae78262e71541696fd22a7e193a35.zip |
Add the same patch that's in the afterstep port: fix a resources leak &
bump PORTREVISION.
While I'm here, use master site grouping to download the icon files.
Submitted by: Andriy Gapon <agapon@usa.com>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/afterstep-i18n/Makefile | 6 | ||||
-rw-r--r-- | x11-wm/afterstep-i18n/files/patch-afterstep::icons.c | 21 |
2 files changed, 25 insertions, 2 deletions
diff --git a/x11-wm/afterstep-i18n/Makefile b/x11-wm/afterstep-i18n/Makefile index e8bfa931ddee..3ad3bc249542 100644 --- a/x11-wm/afterstep-i18n/Makefile +++ b/x11-wm/afterstep-i18n/Makefile @@ -7,17 +7,19 @@ PORTNAME= afterstep-i18n PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= x11-wm afterstep MASTER_SITES= ${MASTER_SITE_AFTERSTEP} \ ${MASTER_SITE_LOCAL} \ http://www.itlb.te.noda.tus.ac.jp/~manome/afterstep/archive/ \ - http://www.itlb.te.noda.tus.ac.jp/~manome/afterstep/archive/icons/ + http://www.itlb.te.noda.tus.ac.jp/~manome/afterstep/archive/icons/:icon # former for ${MASTER_SITE_AFTERSTEP}, latter for ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= archives/1.0 kuriyama DISTNAME= AfterStep-1.0 DISTFILES= ${DISTNAME}.tar.gz \ unofficial-I18N.98Feb27.tar.gz \ - kterm.xpm kterm2.xpm KTerm-AS.xpm netscape4.xpm + kterm.xpm:icon kterm2.xpm:icon KTerm-AS.xpm:icon \ + netscape4.xpm:icon EXTRACT_ONLY= ${DISTNAME}.tar.gz \ unofficial-I18N.98Feb27.tar.gz diff --git a/x11-wm/afterstep-i18n/files/patch-afterstep::icons.c b/x11-wm/afterstep-i18n/files/patch-afterstep::icons.c new file mode 100644 index 000000000000..c9c43d64a784 --- /dev/null +++ b/x11-wm/afterstep-i18n/files/patch-afterstep::icons.c @@ -0,0 +1,21 @@ +$FreeBSD$ + +--- afterstep/icons.c.orig Thu Mar 20 19:09:21 1997 ++++ afterstep/icons.c Sun May 26 18:15:10 2002 +@@ -779,10 +779,12 @@ + } + } + +- if(tmp_win->flags & ICON_MOVED) +- CreateIconWindow(tmp_win,tmp_win->icon_x_loc,tmp_win->icon_y_loc); +- else +- CreateIconWindow(tmp_win, def_x, def_y); ++ if(tmp_win->icon_pixmap_w == None) { ++ if(tmp_win->flags & ICON_MOVED) ++ CreateIconWindow(tmp_win,tmp_win->icon_x_loc,tmp_win->icon_y_loc); ++ else ++ CreateIconWindow(tmp_win, def_x, def_y); ++ } + + AutoPlace(tmp_win); + tmp_win->flags |= ICONIFIED; |