rpms/authd/devel authd-1.4.3-gcc4.patch, 1.1, 1.2 authd.spec, 1.41, 1.42
Jan Šafránek (jsafrane)
fedora-extras-commits at redhat.com
Tue Feb 12 10:02:50 UTC 2008
Author: jsafrane
Update of /cvs/pkgs/rpms/authd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10619
Modified Files:
authd-1.4.3-gcc4.patch authd.spec
Log Message:
fix build with new gcc
authd-1.4.3-gcc4.patch:
Index: authd-1.4.3-gcc4.patch
===================================================================
RCS file: /cvs/pkgs/rpms/authd/devel/authd-1.4.3-gcc4.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- authd-1.4.3-gcc4.patch 7 Mar 2005 13:53:10 -0000 1.1
+++ authd-1.4.3-gcc4.patch 12 Feb 2008 10:02:45 -0000 1.2
@@ -9,3 +9,21 @@
size_t n; time_t tod;
char *s, when[USERID_MAX_LEN], *host1, *port1, *host2, *port2;
const char *const UTC_FMT = "%FT%TZ", *const TZ_FMT = "(%a %EX %z/%Z)";
+
+New for GCC 4.3:
+--- authd-1.4.3/authd.old 2008-02-12 10:57:06.000000000 +0100
++++ authd-1.4.3/authd.c 2008-02-12 10:57:54.000000000 +0100
+@@ -195,11 +195,11 @@
+ }
+
+ static char *created_pton_hex(const char *prefix) {
+- struct in6_addr addr; const size_t SIZE = sizeof(addr.in6_u.u6_addr8);
++ struct in6_addr addr; const size_t SIZE = sizeof(addr.s6_addr);
+
+ assert(prefix != NULL);
+ if (inet_pton(AF_INET6, prefix, &addr) <= 0) return NULL;
+- return created_addr_hex((const void *) addr.in6_u.u6_addr8, SIZE);
++ return created_addr_hex((const void *) addr.s6_addr, SIZE);
+ }
+
+ static void create_opt(int argc, char *argv[]) {
Index: authd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/authd/devel/authd.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- authd.spec 7 Dec 2007 22:10:24 -0000 1.41
+++ authd.spec 12 Feb 2008 10:02:45 -0000 1.42
@@ -1,7 +1,7 @@
Summary: A RFC 1413 ident protocol daemon
Name: authd
Version: 1.4.3
-Release: 11
+Release: 12
License: GPLv2
Group: System Environment/Daemons
Obsoletes: pidentd
@@ -70,6 +70,9 @@
%{_sbindir}/in.authd
%changelog
+* Tue Feb 12 2008 Jan Safranek <jsafrane at redhat.com> - 1.4.3-12
+- fix build with new gcc
+
* Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.4.3-11
- Rebuild for deps
More information about the fedora-extras-commits
mailing list