summaryrefslogtreecommitdiff
path: root/x11-plugins/wmcp/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmcp/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmcp/files')
-rw-r--r--x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch74
-rw-r--r--x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch11
2 files changed, 85 insertions, 0 deletions
diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch
new file mode 100644
index 000000000000..018d28217971
--- /dev/null
+++ b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch
@@ -0,0 +1,74 @@
+diff -urN wmcp-1.2.8/wmcp.c wmcp-1.2.8-new/wmcp.c
+--- wmcp-1.2.8/wmcp.c 1999-05-26 23:38:49.000000000 -0700
++++ wmcp-1.2.8-new/wmcp.c 2003-09-24 15:22:25.000000000 -0700
+@@ -806,38 +806,38 @@
+ void show_usage()
+ {
+
+-fprintf(stderr,"
+-
+-%s
+-This software is GPL -- do as you wish with it.
+-
+-Origional Author:
+- Ben Cohen <buddog@aztec.asu.edu>
+-
+-Contributors:
+- Thomas Nemeth <tnemeth@multimania.com>
+- Craig Maloney <craig@ic.net>
+- Gert Beumer <Gert@scintilla.utwente.nl>
+-
+-
+-
+-usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]
+- [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]
+-
+-
+--g geometry: ie: 64x64+10+10
+--d dpy: Display. ie: 127.0.0.1:0.0
+--n workspaces: How many buttons to start with.
+--a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).
+--w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn)
+--s y/n: Shaped window: yes or no (default y)
+--c Sends CTRL + ALT + Key (default only sends ALT + key)
+--v Verbose. 0=off, 1=on (default 0)
+--x Number of buttons on the x-direction (1,2,3, or 4)
+--y Number of buttons in the y-direction (1,2,3, or 4)
+--h Help. This screen.
+-
+-
++fprintf(stderr," \
++\
++%s\
++This software is GPL -- do as you wish with it.\
++\
++Origional Author:\
++ Ben Cohen <buddog@aztec.asu.edu>\
++\
++Contributors:\
++ Thomas Nemeth <tnemeth@multimania.com>\
++ Craig Maloney <craig@ic.net>\
++ Gert Beumer <Gert@scintilla.utwente.nl>\
++\
++\
++\
++usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]\
++ [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]\
++\
++\
++-g geometry: ie: 64x64+10+10\
++-d dpy: Display. ie: 127.0.0.1:0.0\
++-n workspaces: How many buttons to start with.\
++-a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).\
++-w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn)\
++-s y/n: Shaped window: yes or no (default y)\
++-c Sends CTRL + ALT + Key (default only sends ALT + key)\
++-v Verbose. 0=off, 1=on (default 0)\
++-x Number of buttons on the x-direction (1,2,3, or 4)\
++-y Number of buttons in the y-direction (1,2,3, or 4)\
++-h Help. This screen.\
++\
++\
+ ",VERSION);
+
+ exit(-1);
diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch
new file mode 100644
index 000000000000..70d1c7c4e225
--- /dev/null
+++ b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch
@@ -0,0 +1,11 @@
+diff -ur wmcp-1.2.8.orig/wmcp.c wmcp-1.2.8/wmcp.c
+--- wmcp-1.2.8.orig/wmcp.c 1999-05-27 09:38:49.000000000 +0300
++++ wmcp-1.2.8/wmcp.c 2008-01-06 16:16:17.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include <xpm.h>
+ #include <extensions/shape.h>
+ #include <keysym.h>
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
+