diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-09-05 10:31:57 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-09-05 10:31:57 +0000 |
commit | 193ce175e82c4a6b6b55584016994d1a5f926d81 (patch) | |
tree | 4c5fcc0b9de1574fcea9b7e94602f4dc47eef0f8 /x11-wm | |
parent | x11-misc/dmenu: Version bump (diff) | |
download | sunrise-193ce175e82c4a6b6b55584016994d1a5f926d81.tar.gz sunrise-193ce175e82c4a6b6b55584016994d1a5f926d81.tar.bz2 sunrise-193ce175e82c4a6b6b55584016994d1a5f926d81.zip |
x11-wm/dwm: patch fixing c->weight handling
svn path=/sunrise/; revision=1146
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/dwm/ChangeLog | 4 | ||||
-rw-r--r-- | x11-wm/dwm/Manifest | 20 | ||||
-rw-r--r-- | x11-wm/dwm/dwm-1.3.ebuild | 1 | ||||
-rw-r--r-- | x11-wm/dwm/files/dwm-1.3-weight.patch | 27 |
4 files changed, 44 insertions, 8 deletions
diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog index 425cba9ae..446d0b239 100644 --- a/x11-wm/dwm/ChangeLog +++ b/x11-wm/dwm/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Sep 2006; Cedric Krier <ced@ced.homedns.org> dwm-1.3.ebuild, + +files/dwm-1.3-weight.patch: + patch fixing c->weight handling + 05 Sep 2006; Cedric Krier <ced@ced.homedns.org> -dwm-1.2.ebuild, -files/dwm-1.2-config_mk.patch, -files/dwm-1.2-makefile.patch, +dwm-1.3.ebuild, +files/dwm-1.3-config_mk.patch, diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest index 4a0c26968..4e4951b77 100644 --- a/x11-wm/dwm/Manifest +++ b/x11-wm/dwm/Manifest @@ -6,15 +6,19 @@ AUX dwm-1.3-makefile.patch 276 RMD160 11c8f58d0a7180d830e27df211caa73d7b4151da S MD5 b5232e325c1c399e8f74be6f80dc2262 files/dwm-1.3-makefile.patch 276 RMD160 11c8f58d0a7180d830e27df211caa73d7b4151da files/dwm-1.3-makefile.patch 276 SHA256 2e8d905ba297c8a864897f617f6ccd726b95ceec4da8ce47d4ec75fa0e551346 files/dwm-1.3-makefile.patch 276 +AUX dwm-1.3-weight.patch 720 RMD160 495f974824cca759139947bb47fe58a85995130e SHA1 b7393bec130036d54c15ed62f818231d6936734d SHA256 1bb804d5b1052116c0c08f24edfa3101e83dfa0a87aed516a941dd6b3cf2d151 +MD5 2f9d40899d9f7d75bc2b61b81fe90d03 files/dwm-1.3-weight.patch 720 +RMD160 495f974824cca759139947bb47fe58a85995130e files/dwm-1.3-weight.patch 720 +SHA256 1bb804d5b1052116c0c08f24edfa3101e83dfa0a87aed516a941dd6b3cf2d151 files/dwm-1.3-weight.patch 720 DIST dwm-1.3.tar.gz 15883 RMD160 40fd09102d87c0fbc0b54be58684b4bd01108c15 SHA1 1ac1f1831924f4cda119d55b3fb92e45a31e5129 SHA256 e395147781a0542088a1101bc3ff809d1cee27674093dc9d75b64f0ca4891324 -EBUILD dwm-1.3.ebuild 1752 RMD160 4dbe43f87496ea5da9754bb17fde1854c3656589 SHA1 637736f5cc493c4af4e7bde1bec9a103fe116459 SHA256 41385bb5e07449ed514acf9be00e2eebc94cf2c8bef524af15bcb7e1f271d204 -MD5 ddad39040c451ab420ad2f095b0fc079 dwm-1.3.ebuild 1752 -RMD160 4dbe43f87496ea5da9754bb17fde1854c3656589 dwm-1.3.ebuild 1752 -SHA256 41385bb5e07449ed514acf9be00e2eebc94cf2c8bef524af15bcb7e1f271d204 dwm-1.3.ebuild 1752 -MISC ChangeLog 2232 RMD160 22c79aee31fcf3b1420a3a3dd563bd92117e6a64 SHA1 9bc51903fb460148e4ed03fbc5977a7750ee26ef SHA256 da26f6b6337f4ffb3dcab13f3062d1b9cf5364c60ed88b448c53191d5880ca98 -MD5 b1c62b36006cf23effc33283176bfc04 ChangeLog 2232 -RMD160 22c79aee31fcf3b1420a3a3dd563bd92117e6a64 ChangeLog 2232 -SHA256 da26f6b6337f4ffb3dcab13f3062d1b9cf5364c60ed88b448c53191d5880ca98 ChangeLog 2232 +EBUILD dwm-1.3.ebuild 1792 RMD160 ecc0febc22f6e54a51f5dea7644a003c089ff01e SHA1 a5bc9b85ede49eb348fb8780530d4b376820b2b7 SHA256 c2b0229677f35aac073f34949f82dc09f357554f56f9c85edbbee7b1336a4cc5 +MD5 51a65618c71ae69ea0d0ac117b97a3e1 dwm-1.3.ebuild 1792 +RMD160 ecc0febc22f6e54a51f5dea7644a003c089ff01e dwm-1.3.ebuild 1792 +SHA256 c2b0229677f35aac073f34949f82dc09f357554f56f9c85edbbee7b1336a4cc5 dwm-1.3.ebuild 1792 +MISC ChangeLog 2364 RMD160 7bd6ac75203ff604ca92aaf68015f0a4cef98b6d SHA1 56bfe8ef465d711c644ebbfa3adcaa9dc7948d9c SHA256 4f83089a683daa56aed83c326b13fd15ecaa46614b5e3335d79c6fafae0f9ee0 +MD5 0eb82538026c4bec5abc7ce6650c23e7 ChangeLog 2364 +RMD160 7bd6ac75203ff604ca92aaf68015f0a4cef98b6d ChangeLog 2364 +SHA256 4f83089a683daa56aed83c326b13fd15ecaa46614b5e3335d79c6fafae0f9ee0 ChangeLog 2364 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 diff --git a/x11-wm/dwm/dwm-1.3.ebuild b/x11-wm/dwm/dwm-1.3.ebuild index 55fc1d334..2fd3e8c88 100644 --- a/x11-wm/dwm/dwm-1.3.ebuild +++ b/x11-wm/dwm/dwm-1.3.ebuild @@ -22,6 +22,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-config_mk.patch" epatch "${FILESDIR}/${P}-makefile.patch" + epatch "${FILESDIR}/${P}-weight.patch" if use savedconfig; then local conf root diff --git a/x11-wm/dwm/files/dwm-1.3-weight.patch b/x11-wm/dwm/files/dwm-1.3-weight.patch new file mode 100644 index 000000000..17fe74d31 --- /dev/null +++ b/x11-wm/dwm/files/dwm-1.3-weight.patch @@ -0,0 +1,27 @@ +--- dwm-1.3~/tag.c 2006-09-05 10:25:29.000000000 +0200 ++++ dwm-1.3/tag.c 2006-09-05 12:30:32.000000000 +0200 +@@ -106,8 +106,7 @@ + if(!matched) + for(i = 0; i < ntags; i++) + c->tags[i] = seltag[i]; +- for(i = 0; i < ntags && !c->tags[i]; i++); +- c->weight = i; ++ for(c->weight = 0; c->weight < ntags && !c->tags[c->weight]; c->weight++); + } + + void +@@ -121,6 +120,7 @@ + for(i = 0; i < ntags; i++) + sel->tags[i] = False; + sel->tags[arg->i] = True; ++ sel->weight = arg->i; + arrange(NULL); + } + +@@ -136,5 +136,6 @@ + for(i = 0; i < ntags && !sel->tags[i]; i++); + if(i == ntags) + sel->tags[arg->i] = True; ++ for(sel->weight = 0; sel->weight < ntags && !sel->tags[sel->weight]; sel->weight++); + arrange(NULL); + } |