pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/sessreg Update to sessreg-1.0.3. Remove patch-aa,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de09de71c431
branches:  trunk
changeset: 535629:de09de71c431
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Nov 23 12:23:39 2007 +0000

description:
Update to sessreg-1.0.3.  Remove patch-aa, as the portability fix
is integrated.  Also, replace per-OS preprocessor directives
for #define NO_UTMP in sessreg.h with NO_COLON_ZERO_IN_UTMP.
Please see Makefile and patch-ab for clarification.  While here,
add CONFIGURE_ARGS+=--localstatedir=${VARBASE:Q} and BUILD_DEFS+=VARBASE,
as this package definitely uses it.

Upstream change:

 -  X.Org Bug #9887: sessreg should include sys/types.h on FreeBSD
    X.Org Bugzilla #9887: <https://bugs.freedesktop.org/show_bug.cgi?id=9887>

diffstat:

 x11/sessreg/Makefile         |  15 +++++++++++++--
 x11/sessreg/distinfo         |  10 +++++-----
 x11/sessreg/patches/patch-aa |  17 -----------------
 x11/sessreg/patches/patch-ab |  16 ++++++++++++++++
 4 files changed, 34 insertions(+), 24 deletions(-)

diffs (85 lines):

diff -r 5d5be31aa7e8 -r de09de71c431 x11/sessreg/Makefile
--- a/x11/sessreg/Makefile      Fri Nov 23 12:15:50 2007 +0000
+++ b/x11/sessreg/Makefile      Fri Nov 23 12:23:39 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/08/08 17:35:15 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2007/11/23 12:23:39 bjs Exp $
 
-DISTNAME=      sessreg-1.0.2
+DISTNAME=      sessreg-1.0.3
 CATEGORIES=    x11
 MASTER_SITES=  http://xorg.freedesktop.org/releases/individual/app/
 EXTRACT_SUFX=  .tar.bz2
@@ -15,5 +15,16 @@
 GNU_CONFIGURE= yes
 USE_LANGUAGES= c
 
+BUILD_DEFS+=   VARBASE
+CONFIGURE_ARGS+=--localstatedir=${VARBASE:Q}
+
+###
+### Please see patches/patch-ab for details on this.
+###
+#.if ${OPSYS} == "SomePlatform"
+#CPPFLAGS+=    -DNO_COLON_ZERO_IN_UTMP
+#.endif
+
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5d5be31aa7e8 -r de09de71c431 x11/sessreg/distinfo
--- a/x11/sessreg/distinfo      Fri Nov 23 12:15:50 2007 +0000
+++ b/x11/sessreg/distinfo      Fri Nov 23 12:23:39 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/08/10 20:15:11 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/11/23 12:23:40 bjs Exp $
 
-SHA1 (sessreg-1.0.2.tar.bz2) = 2f2a36967ecffb29461ae28def3b013955e584dd
-RMD160 (sessreg-1.0.2.tar.bz2) = 527b22c825bf97c8d14a8fdaa287f1bd8805f456
-Size (sessreg-1.0.2.tar.bz2) = 94745 bytes
-SHA1 (patch-aa) = 4dbf89d135def37089f8b5a75960aaf3425d641c
+SHA1 (sessreg-1.0.3.tar.bz2) = cdebc8cc176b16c05f34b5dd1eaca710bda0e5be
+RMD160 (sessreg-1.0.3.tar.bz2) = 6ed2c5568d58e42557ac65dff500fc019cf65550
+Size (sessreg-1.0.3.tar.bz2) = 94690 bytes
+SHA1 (patch-ab) = 81c42cd1206d58d740d04be65f037f2173a451e4
diff -r 5d5be31aa7e8 -r de09de71c431 x11/sessreg/patches/patch-aa
--- a/x11/sessreg/patches/patch-aa      Fri Nov 23 12:15:50 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2007/08/10 20:15:11 joerg Exp $
-
---- configure.orig     2007-08-10 22:13:24.000000000 +0200
-+++ configure
-@@ -2071,10 +2071,10 @@ AMSHOWCMDSAT=''
- AMDEPSHOWCMDSAT=''
- AMPRETTYECHO=true
- AMCMDECHO=echo
--if test "x$enable_pretty_cmds" == xyes;
-+if test "x$enable_pretty_cmds" = xyes;
- then
-   AMSHOWCMDSAT='@'
--  test x$enable_dependency_tracking == xno && AMDEPSHOWCMDSAT='@'
-+  test x$enable_dependency_tracking = xno && AMDEPSHOWCMDSAT='@'
-   AMPRETTYECHO=echo
-   AMCMDECHO=true
-   LT_QUIET='--quiet'
diff -r 5d5be31aa7e8 -r de09de71c431 x11/sessreg/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/sessreg/patches/patch-ab      Fri Nov 23 12:23:39 2007 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2007/11/23 12:23:40 bjs Exp $
+
+Ugh ... more arbitrary per-OS preprocessor fun; let's replace this
+with something we can keep track of more intuitively.
+
+--- sessreg.h.orig     2007-06-11 18:41:04.000000000 -0400
++++ sessreg.h
+@@ -86,7 +86,7 @@
+ #endif
+ 
+ #ifdef CSRG_BASED
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
++#ifdef NO_COLON_ZERO_IN_UTMP
+ /* *BSD doesn't like a ':0' type entry in utmp */
+ #define NO_UTMP
+ #endif



Home | Main Index | Thread Index | Old Index