summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-13 14:59:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-13 14:59:16 +0800
commit6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093 (patch)
tree41a8fda4be52fa9108bb3696de1ff6220283357c /x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c
parent1be51d9a1ac968334576f2327f97fc55de752984 (diff)
downloadmarcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar.gz
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar.bz2
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar.lz
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar.xz
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.tar.zst
marcuscom-ports-6d4b87c0803bae6f0cd7eb2cd5e2b6b12aa05093.zip
Update to 2.13.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5265 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c')
-rw-r--r--x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c b/x11-toolkits/py-gnome-extras/files/patch-gtop_gtop.c
new file mode 100644
index 000000000..05db58a4c
--- /dev/null
+++ b/x11-toolkits/py-gnome-extras/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));