aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-10-06 11:37:58 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-10-06 11:37:58 +0000
commit818cb17827b342d7a7b2c0020958be25408e0ec3 (patch)
tree627d78c21c7ffdbe3e5971df58805d15a8e11b7f /x11-wm/awesome/files
parent968cc51c3f2f70904e5503f1579300a6f17b8470 (diff)
downloadports-818cb17827b342d7a7b2c0020958be25408e0ec3.tar.gz
ports-818cb17827b342d7a7b2c0020958be25408e0ec3.zip
Notes
Diffstat (limited to 'x11-wm/awesome/files')
-rw-r--r--x11-wm/awesome/files/extrapatch-warp4
-rw-r--r--x11-wm/awesome/files/patch-config.mk6
-rw-r--r--x11-wm/awesome/files/patch-tag.c19
3 files changed, 5 insertions, 24 deletions
diff --git a/x11-wm/awesome/files/extrapatch-warp b/x11-wm/awesome/files/extrapatch-warp
index 47b1d2dd41cd..ef27961d3af6 100644
--- a/x11-wm/awesome/files/extrapatch-warp
+++ b/x11-wm/awesome/files/extrapatch-warp
@@ -5,11 +5,11 @@
XEvent ev;
XWindowChanges wc;
+ Window dummy, root;
-+ int wex, wey, ex, ey, i, dummyscno;
++ int wex, wey, ex, ey, i;
+ unsigned int dmask;
+
+ if(sel) {
-+ ScreenInfo *si = get_screen_info(disp, awesomeconf->screen, awesomeconf->statusbar, &dummyscno);
++ ScreenInfo *si = get_screen_info(disp, awesomeconf->screen, &awesomeconf->statusbar);
+ root = RootWindow(disp, awesomeconf->screen);
+ XQueryPointer(disp, sel->win, &dummy, &dummy, &i, &i, &wex, &wey, &dmask);
+ XTranslateCoordinates(disp, sel->win, root, wex, wey, &ex, &ey, &dummy);
diff --git a/x11-wm/awesome/files/patch-config.mk b/x11-wm/awesome/files/patch-config.mk
index 0d4a628d9107..26ccec6d6e7e 100644
--- a/x11-wm/awesome/files/patch-config.mk
+++ b/x11-wm/awesome/files/patch-config.mk
@@ -1,7 +1,7 @@
--- config.mk.orig 2007-09-26 11:41:29.000000000 +0300
+++ config.mk 2007-09-26 11:42:35.000000000 +0300
@@ -7,19 +7,19 @@
- LAYOUTS = layouts/tile.c layouts/floating.c
+ LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
# paths
-PREFIX = /usr/local
@@ -15,8 +15,8 @@
+X11LIB = ${X11BASE}/lib
# includes and libs
- INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfig`
- LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfig` -lXext -lXrandr -lXinerama
+ INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfig xft`
+ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfig xft` -lXext -lXrandr -lXinerama
# flags
-CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\"
diff --git a/x11-wm/awesome/files/patch-tag.c b/x11-wm/awesome/files/patch-tag.c
deleted file mode 100644
index 2a2280d0b3c3..000000000000
--- a/x11-wm/awesome/files/patch-tag.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- tag.c.orig
-+++ tag.c
-@@ -67,13 +67,13 @@ applyrules(Client * c, awesome_config *awesomeconf)
- XClassHint ch = { 0, 0 };
- char *prop;
-
-+ XGetClassHint(c->display, c->win, &ch);
- len += a_strlen(ch.res_class) + a_strlen(ch.res_name) + a_strlen(c->name);
-
-- prop = p_new(char, len + 1);
-+ prop = p_new(char, len + 3);
-
- /* rule matching */
-- XGetClassHint(c->display, c->win, &ch);
-- snprintf(prop, len + 1, "%s:%s:%s",
-+ snprintf(prop, len + 3, "%s:%s:%s",
- ch.res_class ? ch.res_class : "", ch.res_name ? ch.res_name : "", c->name);
- for(i = 0; i < awesomeconf->nrules; i++)
- if(regs[i].propregex && !regexec(regs[i].propregex, prop, 1, &tmp, 0))