+++ /dev/null
-From 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d Mon Sep 17 00:00:00 2001
-From: Stefan Dirsch <sndirsch@suse.de>
-Date: Wed, 9 Sep 2015 23:44:06 +0200
-Subject: [PATCH] Pass -P to the preprocessor when generating filenames for the
- manpage.
-
-Fixes build with GCC 5. Patch by Richard Biener <rguenther@suse.com>
-
-Tested-by: Matt Turner <mattst88@gmail.com>
-Signed-off-by: Matt Turner <mattst88@gmail.com>
-[Thomas: backport from upstream commit 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- man/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/man/Makefile.am b/man/Makefile.am
-index 665ace5..2e5f146 100644
---- a/man/Makefile.am
-+++ b/man/Makefile.am
-@@ -9,7 +9,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
- 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' > $@
-
---
-2.6.3
-
--- /dev/null
+Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
+
+Downloaded from
+https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -Naur sessreg-1.1.0.orig/sessreg.h sessreg-1.1.0/sessreg.h
+--- sessreg-1.1.0.orig/sessreg.h 2015-01-20 05:00:27.000000000 +0000
++++ sessreg-1.1.0/sessreg.h 2016-02-23 11:54:42.057000000 +0000
+@@ -103,6 +103,13 @@
+ # define TTYS_FILE "/etc/ttys"
+ #endif
+
++#ifndef _PATH_WTMPX
++# define _PATH_WTMPX "/var/log/wtmp"
++#endif
++#ifndef _PATH_UTMPX
++# define _PATH_UTMPX "/var/log/utmp"
++#endif
++
+ #ifndef WTMPX_FILE
+ # define WTMPX_FILE _PATH_WTMPX
+ #endif
+++ /dev/null
-Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
-
-Downloaded from
-https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-
-diff -Naur sessreg-1.1.0.orig/sessreg.h sessreg-1.1.0/sessreg.h
---- sessreg-1.1.0.orig/sessreg.h 2015-01-20 05:00:27.000000000 +0000
-+++ sessreg-1.1.0/sessreg.h 2016-02-23 11:54:42.057000000 +0000
-@@ -103,6 +103,13 @@
- # define TTYS_FILE "/etc/ttys"
- #endif
-
-+#ifndef _PATH_WTMPX
-+# define _PATH_WTMPX "/var/log/wtmp"
-+#endif
-+#ifndef _PATH_UTMPX
-+# define _PATH_UTMPX "/var/log/utmp"
-+#endif
-+
- #ifndef WTMPX_FILE
- # define WTMPX_FILE _PATH_WTMPX
- #endif
-# From http://lists.x.org/archives/xorg-announce/2015-January/002522.html
-sha256 551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c sessreg-1.1.0.tar.bz2
+# From https://lists.x.org/archives/xorg-announce/2017-February/002778.html
+sha256 78a76ae3f3f6a26547a34630d1b740f42344848b5fb6d7c9c7f7da255e35a6e1 sessreg-1.1.1.tar.bz2
#
################################################################################
-XAPP_SESSREG_VERSION = 1.1.0
+XAPP_SESSREG_VERSION = 1.1.1
XAPP_SESSREG_SOURCE = sessreg-$(XAPP_SESSREG_VERSION).tar.bz2
-XAPP_SESSREG_SITE = http://xorg.freedesktop.org/releases/individual/app
+XAPP_SESSREG_SITE = https://xorg.freedesktop.org/archive/individual/app
XAPP_SESSREG_LICENSE = MIT
XAPP_SESSREG_LICENSE_FILES = COPYING
XAPP_SESSREG_DEPENDENCIES = xlib_libX11 xproto_xproto