diff options
author | bjs <bjs@pkgsrc.org> | 2007-11-23 12:23:39 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-11-23 12:23:39 +0000 |
commit | c4ba4d9545ebbb4957d0492cd9be732084cd6958 (patch) | |
tree | 780780ebc598978b1a6111a889513a3911e9c8f3 /x11 | |
parent | f4324a53756972f3b161a2bed8b3b24286ce3235 (diff) | |
download | pkgsrc-c4ba4d9545ebbb4957d0492cd9be732084cd6958.tar.gz |
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 (limited to 'x11')
-rw-r--r-- | x11/sessreg/Makefile | 15 | ||||
-rw-r--r-- | x11/sessreg/distinfo | 10 | ||||
-rw-r--r-- | x11/sessreg/patches/patch-aa | 17 | ||||
-rw-r--r-- | x11/sessreg/patches/patch-ab | 16 |
4 files changed, 34 insertions, 24 deletions
diff --git a/x11/sessreg/Makefile b/x11/sessreg/Makefile index 6865c5aeb2e..b2bb581f351 100644 --- a/x11/sessreg/Makefile +++ b/x11/sessreg/Makefile @@ -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 @@ USE_TOOLS+= pkg-config 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 --git a/x11/sessreg/distinfo b/x11/sessreg/distinfo index ecdc6e6ed71..4f367a2e37a 100644 --- a/x11/sessreg/distinfo +++ b/x11/sessreg/distinfo @@ -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 --git a/x11/sessreg/patches/patch-aa b/x11/sessreg/patches/patch-aa deleted file mode 100644 index ad11d67ffc7..00000000000 --- a/x11/sessreg/patches/patch-aa +++ /dev/null @@ -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 --git a/x11/sessreg/patches/patch-ab b/x11/sessreg/patches/patch-ab new file mode 100644 index 00000000000..c568dd53825 --- /dev/null +++ b/x11/sessreg/patches/patch-ab @@ -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 |