summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gnome-desktop/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-08 02:34:14 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-08 02:34:14 +0800
commitd64f931d45119784f41145b5f2c6c90af02a543a (patch)
tree576174087d2d77eb1c9fce4471eb71ef1b20d916 /x11-toolkits/py-gnome-desktop/files
parentc06a39862f912339843f1397fec4599506779ca8 (diff)
downloadmarcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.gz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.bz2
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.lz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.xz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.zst
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.zip
Fix the build with the new metacity.
Submitted by: Pawel Worach <pawel.worach@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8598 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/py-gnome-desktop/files')
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c20
-rw-r--r--x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs26
2 files changed, 46 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c
new file mode 100644
index 000000000..05db58a4c
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c
@@ -0,0 +1,20 @@
+--- gtop/gtop.c.orig Wed May 18 00:54:59 2005
++++ gtop/gtop.c Wed May 18 00:54:12 2005
+@@ -44,6 +44,7 @@
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+
+
+@@ -1316,8 +1317,8 @@ build_siglist(void)
+
+ for(i = 0; i < len; ++i)
+ {
+- p = &glibtop_sys_siglist[i];
+ PyObject* d;
++ p = &glibtop_sys_siglist[i];
+
+ d = PyDict_New();
+ my_dict_add_and_decref(d, "number", PyI_L(p->number));
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs b/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs
new file mode 100644
index 000000000..0f9230bb6
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs
@@ -0,0 +1,26 @@
+--- metacity/metacity.defs.orig Sat Apr 7 08:31:52 2007
++++ metacity/metacity.defs Sat Apr 7 08:33:40 2007
+@@ -131,16 +131,16 @@
+ )
+ )
+
+-(define-enum ActionDoubleClickTitlebar
++(define-enum ActionTitlebar
+ (in-module "Meta")
+- (c-name "MetaActionDoubleClickTitlebar")
++ (c-name "MetaActionTitlebar")
+ ; (gtype-id "META_TYPE_ACTION_TITLEBAR")
+ (values
+- '("toggle-shade" "META_ACTION_DOUBLE_CLICK_TITLEBAR_TOGGLE_SHADE")
+- '("toggle-maximize" "META_ACTION_DOUBLE_CLICK_TITLEBAR_TOGGLE_MAXIMIZE")
+- '("minimize" "META_ACTION_DOUBLE_CLICK_TITLEBAR_MINIMIZE")
+- '("none" "META_ACTION_DOUBLE_CLICK_TITLEBAR_NONE")
+- '("last" "META_ACTION_DOUBLE_CLICK_TITLEBAR_LAST")
++ '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE")
++ '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE")
++ '("minimize" "META_ACTION_TITLEBAR_MINIMIZE")
++ '("none" "META_ACTION_TITLEBAR_NONE")
++ '("last" "META_ACTION_TITLEBAR_LAST")
+ )
+ )
+