1 |
commit: 3574435ae3de31bb9409c406154aa03fbbb884f7 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 2 13:34:55 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 2 13:34:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3574435a |
7 |
|
8 |
x11-apps/sessreg: fix build w/gcc-5 #546742 |
9 |
|
10 |
x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch | 16 ++++++++++++++++ |
11 |
x11-apps/sessreg/sessreg-1.1.0.ebuild | 4 ++++ |
12 |
2 files changed, 20 insertions(+) |
13 |
|
14 |
diff --git a/x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch b/x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch |
15 |
new file mode 100644 |
16 |
index 0000000..7ed7511 |
17 |
--- /dev/null |
18 |
+++ b/x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch |
19 |
@@ -0,0 +1,16 @@ |
20 |
+https://bugs.gentoo.org/546742 |
21 |
+https://bugs.freedesktop.org/show_bug.cgi?id=90615 |
22 |
+ |
23 |
+fix building w/gcc-5 |
24 |
+ |
25 |
+--- man/Makefile.in |
26 |
++++ man/Makefile.in |
27 |
+@@ -9,7 +9,7 @@ |
28 |
+ |
29 |
+ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) |
30 |
+ filenames.sed: filenames.sed.c |
31 |
+- $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
32 |
++ $(AM_V_GEN)$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
33 |
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \ |
34 |
+ $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@ |
35 |
+ |
36 |
|
37 |
diff --git a/x11-apps/sessreg/sessreg-1.1.0.ebuild b/x11-apps/sessreg/sessreg-1.1.0.ebuild |
38 |
index ae366d0..8504af9 100644 |
39 |
--- a/x11-apps/sessreg/sessreg-1.1.0.ebuild |
40 |
+++ b/x11-apps/sessreg/sessreg-1.1.0.ebuild |
41 |
@@ -13,3 +13,7 @@ IUSE="" |
42 |
RDEPEND="" |
43 |
DEPEND="${RDEPEND} |
44 |
x11-proto/xproto" |
45 |
+ |
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}"/${PN}-1.1.0-gcc-5.patch #546742 |
48 |
+) |