diff --git a/U_Pass-P-to-the-preprocessor-when-generating-filenames.patch b/U_Pass-P-to-the-preprocessor-when-generating-filenames.patch deleted file mode 100644 index c4a7688..0000000 --- a/U_Pass-P-to-the-preprocessor-when-generating-filenames.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d Mon Sep 17 00:00:00 2001 -From: Stefan Dirsch -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 - -Tested-by: Matt Turner -Signed-off-by: Matt Turner ---- - 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.2 - diff --git a/sessreg-1.1.0.tar.bz2 b/sessreg-1.1.0.tar.bz2 deleted file mode 100644 index 3efa24b..0000000 --- a/sessreg-1.1.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c -size 134484 diff --git a/sessreg-1.1.1.tar.bz2 b/sessreg-1.1.1.tar.bz2 new file mode 100644 index 0000000..4976a58 --- /dev/null +++ b/sessreg-1.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78a76ae3f3f6a26547a34630d1b740f42344848b5fb6d7c9c7f7da255e35a6e1 +size 136044 diff --git a/sessreg.changes b/sessreg.changes index 11642d2..5323e74 100644 --- a/sessreg.changes +++ b/sessreg.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 1 13:57:12 UTC 2017 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.1.1: + + Use off_t instead of long to make largefile support work + + autogen.sh: use quoted string variables + + autogen: add default patch prefix + + autogen.sh: use exec instead of waiting for configure to finish + + Pass -P to the preprocessor when generating filenames for the manpage. +- supersedes patches: + + U_Pass-P-to-the-preprocessor-when-generating-filenames.patch + + u_use-off_t-instead-of-long-to-make-largefile-support-work.patch + ------------------------------------------------------------------- Sun May 29 21:53:51 UTC 2016 - eich@suse.com diff --git a/sessreg.spec b/sessreg.spec index 36c0069..4df2fad 100644 --- a/sessreg.spec +++ b/sessreg.spec @@ -1,7 +1,7 @@ # # spec file for package sessreg # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: sessreg -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: Utility to manage utmp/wtmp entries for X sessions License: MIT Group: System/X11/Utilities Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 -Patch0: U_Pass-P-to-the-preprocessor-when-generating-filenames.patch -Patch1: u_use-off_t-instead-of-long-to-make-largefile-support-work.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: pkg-config @@ -42,8 +40,6 @@ other display managers such as gdm or kdm. %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build autoreconf -fi diff --git a/u_use-off_t-instead-of-long-to-make-largefile-support-work.patch b/u_use-off_t-instead-of-long-to-make-largefile-support-work.patch deleted file mode 100644 index b411204..0000000 --- a/u_use-off_t-instead-of-long-to-make-largefile-support-work.patch +++ /dev/null @@ -1,45 +0,0 @@ -From: Egbert Eich -Date: Sat May 28 11:49:55 2016 +0200 -Subject: [PATCH]use off_t instead of long to make largefile support work -Patch-mainline: to be upstreamed -Git-commit: 3d1a85fdb06e1bf1b6eedaf1dd87466da33844b1 -References: boo#981522 -Signed-off-by: Egbert Eich - -Signed-off-by: Egbert Eich -Investigated-by: Herbert Kütz ---- - sessreg.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/sessreg.c b/sessreg.c -index bdfe8f0..3efd8d9 100644 ---- a/sessreg.c -+++ b/sessreg.c -@@ -327,7 +327,7 @@ main (int argc, char **argv) - # else - utmp = open (utmp_file, O_RDWR); - if (utmp != -1) { -- syserr ((int) lseek (utmp, (long) slot_number * sizeof (struct utmp), 0), "lseek"); -+ syserr ((int) lseek (utmp, (off_t) slot_number * sizeof (struct utmp), 0), "lseek"); - sysnerr (write (utmp, (char *) &utmp_entry, sizeof (utmp_entry)) - == sizeof (utmp_entry), "write utmp entry"); - close (utmp); -@@ -362,7 +362,7 @@ main (int argc, char **argv) - if (llog != -1) { - struct lastlog ll; - -- sysnerr (lseek(llog, (long) (pwd->pw_uid*sizeof(ll)), 0) -+ sysnerr (lseek(llog, (off_t) (pwd->pw_uid*sizeof(ll)), 0) - != -1, "seeking lastlog entry"); - memset(&ll, 0, sizeof(ll)); - ll.ll_time = current_time; -@@ -628,7 +628,7 @@ findslot (char *line_name, char *host_name, int addp, int slot) - * first, try to locate a previous entry for this display - * also record location of a free slots in case we need a new one - */ -- syserr ((int) lseek (utmp, (long) slot * sizeof (struct utmp), 0), "lseek"); -+ syserr ((int) lseek (utmp, (off_t) slot * sizeof (struct utmp), 0), "lseek"); - - if (!host_name) - host_name = "";