public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-apps/sessreg/files/, x11-apps/sessreg/
@ 2015-10-02 13:35 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-10-02 13:35 UTC (permalink / raw
  To: gentoo-commits

commit:     3574435ae3de31bb9409c406154aa03fbbb884f7
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 13:34:55 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 13:34:55 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3574435a

x11-apps/sessreg: fix build w/gcc-5 #546742

 x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch | 16 ++++++++++++++++
 x11-apps/sessreg/sessreg-1.1.0.ebuild            |  4 ++++
 2 files changed, 20 insertions(+)

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
new file mode 100644
index 0000000..7ed7511
--- /dev/null
+++ b/x11-apps/sessreg/files/sessreg-1.1.0-gcc-5.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/546742
+https://bugs.freedesktop.org/show_bug.cgi?id=90615
+
+fix building w/gcc-5
+
+--- man/Makefile.in
++++ man/Makefile.in
+@@ -9,7 +9,7 @@
+ 
+ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
+ filenames.sed: filenames.sed.c
+-	$(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++	$(AM_V_GEN)$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ 	    $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
+ 	    $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@
+ 

diff --git a/x11-apps/sessreg/sessreg-1.1.0.ebuild b/x11-apps/sessreg/sessreg-1.1.0.ebuild
index ae366d0..8504af9 100644
--- a/x11-apps/sessreg/sessreg-1.1.0.ebuild
+++ b/x11-apps/sessreg/sessreg-1.1.0.ebuild
@@ -13,3 +13,7 @@ IUSE=""
 RDEPEND=""
 DEPEND="${RDEPEND}
 	x11-proto/xproto"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.1.0-gcc-5.patch #546742
+)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-02 13:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 13:35 [gentoo-commits] repo/gentoo:master commit in: x11-apps/sessreg/files/, x11-apps/sessreg/ Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox