diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/selectwm/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/selectwm/files')
3 files changed, 47 insertions, 0 deletions
diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch b/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch new file mode 100644 index 000000000000..df7f9e437b45 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-enable-deprecated-gtk.patch @@ -0,0 +1,11 @@ +--- selectwm-0.4.1.orig/src/define.h 2007-09-30 21:48:25.000000000 +0200 ++++ selectwm-0.4.1/src/define.h 2007-09-30 22:01:53.000000000 +0200 +@@ -1,8 +1,5 @@ + #include "config.h" + +-#define GTK_DISABLE_DEPRECATED +-#define G_DISABLE_DEPRECATED +- + #ifdef ENABLE_NLS + # include <libintl.h> + # undef _ diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch b/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch new file mode 100644 index 000000000000..4353d5e36662 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-glibc-2.10.patch @@ -0,0 +1,21 @@ +diff -Naurp selectwm-0.4.1-orig/src/options.c selectwm-0.4.1/src/options.c +--- selectwm-0.4.1-orig/src/options.c 2009-07-26 14:46:44.092880624 -0600 ++++ selectwm-0.4.1/src/options.c 2009-07-26 14:46:11.484940363 -0600 +@@ -32,7 +32,7 @@ + #include "miscui.h" + #include "modify.h" + +-static GString *getline (FILE *fichier) { ++static GString *selectwm_getline (FILE *fichier) { + GString *temp; + gchar buf[128]; + +@@ -64,7 +64,7 @@ static gint read_config_file (config *se + } + buf = g_string_new (""); + while (!feof (config)) { +- buf = getline (config); ++ buf = selectwm_getline (config); + + if (buf->len > 0 && buf->str[0] != '#') { + if (g_strrstr (buf->str, ":")) { diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch new file mode 100644 index 000000000000..d5300c9f94a7 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch @@ -0,0 +1,15 @@ +Respect CFLAGS, don't strip binaries + +http://bugs.gentoo.org/show_bug.cgi?id=252124 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -10,5 +10,6 @@ + modify.c modify.h \ + misc.h define.h + +-LIBS = @GTK_LIBS@ +-AM_CFLAGS = -s -O2 -Wall @GTK_CFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\" ++selectwm_LDADD = @GTK_LIBS@ ++selectwm_CFLAGS = @GTK_CFLAGS@ ++selectwm_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" |