FreeBSD Bugzilla – Attachment 94317 Details for
Bug 132447
x11-wm/awesome 3.1.2 fails to link.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-awesome
patch-awesome (text/plain; charset=us-ascii), 2.91 KB, created by
Nikos Ntarmos
on 2009-03-10 13:51:48 UTC
(
hide
)
Description:
patch-awesome
Filename:
MIME Type:
Creator:
Nikos Ntarmos
Created:
2009-03-10 13:51:48 UTC
Size:
2.91 KB
patch
obsolete
>diff --git a/awesome/Makefile b/awesome/Makefile >index 356223e..a502627 100644 >--- a/awesome/Makefile >+++ b/awesome/Makefile >@@ -7,6 +7,7 @@ > > PORTNAME= awesome > PORTVERSION= 3.1.2 >+PORTREVISION= 1 > CATEGORIES= x11-wm > MASTER_SITES= http://awesome.naquadah.org/download/ > >@@ -17,7 +18,8 @@ BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \ > xmlto:${PORTSDIR}/textproc/xmlto \ > xcb-util>=0.3.3:${PORTSDIR}/x11/xcb-util \ > xproto>=7.0.11:${PORTSDIR}/x11/xproto \ >- gperf>=3.0.3:${PORTSDIR}/devel/gperf >+ gperf>=3.0.3:${PORTSDIR}/devel/gperf \ >+ cmake>=2.6.1_2:${PORTSDIR}/devel/cmake > LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \ > ev.3:${PORTSDIR}/devel/libev \ > freetype.9:${PORTSDIR}/print/freetype2 \ >diff --git a/awesome/files/patch-awesome.c b/awesome/files/patch-awesome.c >new file mode 100644 >index 0000000..d829db4 >--- /dev/null >+++ b/awesome/files/patch-awesome.c >@@ -0,0 +1,23 @@ >+--- awesome.c.orig 2009-02-05 16:39:52.000000000 +0200 >++++ awesome.c 2009-02-17 22:02:32.000000000 +0200 >+@@ -58,7 +58,7 @@ >+ { >+ client_t *c; >+ xembed_window_t *em; >+- int screen_nbr; >++ int screen_nbr, nscreens; >+ >+ a_dbus_cleanup(); >+ luaA_cs_cleanup(); >+@@ -71,8 +71,10 @@ >+ } >+ >+ /* do this only for real screen */ >++ const xcb_setup_t *setup = xcb_get_setup(globalconf.connection); >++ nscreens = setup ? xcb_setup_roots_length(setup) : -1; >+ for(screen_nbr = 0; >+- screen_nbr < xcb_setup_roots_length(xcb_get_setup(globalconf.connection)); >++ screen_nbr < nscreens; >+ screen_nbr++) >+ systray_cleanup(screen_nbr); >+ >diff --git a/awesome/files/patch-client.c b/awesome/files/patch-client.c >index 8ca7dcd..4b76db9 100644 >--- a/awesome/files/patch-client.c >+++ b/awesome/files/patch-client.c >@@ -1,5 +1,17 @@ > --- client.c.orig 2009-01-08 12:04:44.000000000 +0200 > +++ client.c 2009-01-31 21:03:28.000000000 +0200 >+@@ -838,6 +838,11 @@ client_unmanage(client_t *c) >+ { >+ tag_array_t *tags = &globalconf.screens[c->screen].tags; >+ >++ /* Reset transient_for attributes of widows that maybe refering to us */ >++ for(client_t *tc = globalconf.clients; tc; tc = tc->next) >++ if(tc->transient_for == c) >++ tc->transient_for = NULL; >++ >+ if(globalconf.screens[c->phys_screen].client_focus == c) >+ client_unfocus(c); >+ > @@ -1455,7 +1455,7 @@ > xcb_get_wm_class_unchecked(globalconf.connection, (*c)->win), > &hint, NULL)) >diff --git a/awesome/files/patch-utils-awsetbg b/awesome/files/patch-utils-awsetbg >new file mode 100644 >index 0000000..fed73b4 >--- /dev/null >+++ b/awesome/files/patch-utils-awsetbg >@@ -0,0 +1,11 @@ >+--- utils/awsetbg.orig 2009-02-05 16:39:52.000000000 +0200 >++++ utils/awsetbg 2009-02-17 22:02:54.000000000 +0200 >+@@ -117,7 +117,7 @@ >+ } >+ >+ find_it() { >+- [ -n "$1" ] && hash $1 2> /dev/null >++ [ -n "$1" ] && which $1 1>/dev/null 2>&1 >+ } >+ >+ message() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 132447
: 94317