aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-05-20 21:43:26 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-05-20 21:43:26 +0000
commitf88770bb93c93c20ea1c8c6bb46d589d3d1386c4 (patch)
tree8ac311c7e38c62511203729ca35e4a2f1e70accb /deskutils
parent0652fe8939a27aa438c423cc0cb37b79916c23db (diff)
downloadports-f88770bb93c93c20ea1c8c6bb46d589d3d1386c4.tar.gz
ports-f88770bb93c93c20ea1c8c6bb46d589d3d1386c4.zip
- Update to 0.3
PR: 96829 Submitted by: Peter Thoenen <peter.thoenen___yahoo.com> Approved by: maintainer timeout (15 days)
Notes
Notes: svn path=/head/; revision=162907
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/superswitcher/Makefile3
-rw-r--r--deskutils/superswitcher/distinfo6
-rw-r--r--deskutils/superswitcher/files/patch-src__xinerama.c46
3 files changed, 51 insertions, 4 deletions
diff --git a/deskutils/superswitcher/Makefile b/deskutils/superswitcher/Makefile
index 8883ac5a4dac..cfc4530afef6 100644
--- a/deskutils/superswitcher/Makefile
+++ b/deskutils/superswitcher/Makefile
@@ -5,10 +5,11 @@
# $FreeBSD$
PORTNAME= superswitcher
-PORTVERSION= 0.1
+PORTVERSION= 0.3
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= browserbookapp
+EXTRACT_SUFX= .tgz
MAINTAINER= MrL0Lz@gmail.com
COMMENT= Alt-Tab replacement
diff --git a/deskutils/superswitcher/distinfo b/deskutils/superswitcher/distinfo
index 0e25a3c3124b..7110871292b1 100644
--- a/deskutils/superswitcher/distinfo
+++ b/deskutils/superswitcher/distinfo
@@ -1,3 +1,3 @@
-MD5 (superswitcher-0.1.tar.gz) = 75bbaaddbca5928c801a70c436fe9691
-SHA256 (superswitcher-0.1.tar.gz) = af2e1df434d976373c9c924b5ec2f4cd0809befea80f64e7f61c68af3824b685
-SIZE (superswitcher-0.1.tar.gz) = 218807
+MD5 (superswitcher-0.3.tgz) = 8b301d2e240f7aad6281a2db53aeaf38
+SHA256 (superswitcher-0.3.tgz) = 00ba1446551be7bf9f232a2690d045ca0f801a65d613d306488214959d67e45d
+SIZE (superswitcher-0.3.tgz) = 197624
diff --git a/deskutils/superswitcher/files/patch-src__xinerama.c b/deskutils/superswitcher/files/patch-src__xinerama.c
new file mode 100644
index 000000000000..16580ff97c68
--- /dev/null
+++ b/deskutils/superswitcher/files/patch-src__xinerama.c
@@ -0,0 +1,46 @@
+#
+# Fix build on 4.x
+#
+--- ./src/xinerama.c.orig Sat May 20 18:36:30 2006
++++ ./src/xinerama.c Sat May 20 18:38:45 2006
+@@ -22,24 +22,26 @@
+ int minimum_width;
+ SSXineramaScreen *screens;
+ SSXinerama *xinerama;
+-
+- minimum_width = 0;
++ int x_screen;
+
+ #ifdef HAVE_XINERAMA
+ gboolean xinerama_is_active = XineramaIsActive (x_display);
++ XineramaScreenInfo *xsi_array;
++ XineramaScreenInfo *xsi;
+ #else
+ gboolean xinerama_is_active = FALSE;
+ #endif
+
++ minimum_width = 0;
++
+ if (xinerama_is_active) {
+ #ifdef HAVE_XINERAMA
+- XineramaScreenInfo *xsi_array =
+- XineramaQueryScreens(x_display, &num_screens);
++ xsi_array = XineramaQueryScreens(x_display, &num_screens);
+ screens = g_new (SSXineramaScreen, num_screens);
+
+ int i;
+ for (i = 0; i < num_screens; i++) {
+- XineramaScreenInfo *xsi = &xsi_array[i];
++ xsi = &xsi_array[i];
+ screens[i].x = xsi->x_org;
+ screens[i].y = xsi->y_org;
+ screens[i].width = xsi->width;
+@@ -54,7 +56,7 @@
+ #endif
+ } else {
+ num_screens = 1;
+- int x_screen = DefaultScreen (x_display);
++ x_screen = DefaultScreen (x_display);
+ screens = g_new (SSXineramaScreen, num_screens);
+ screens[0].x = 0;
+ screens[0].y = 0;