Bug#701308: libpam-unix2: ftbfs with GCC-4.8
Control: tag -1 patch pending
I had a look at the source for libpam-unix2, and am not quite sure what
the problem is, but suspect there is a missing semicolon after the calls
to __libc_lock_define_initialized().
This patch might fix it. Uploading to test the theory and try to keep
the package in testing.
--- src/read-files.c.orig 2013-07-01 09:01:37.000000000 +0200
+++ src/read-files.c 2013-07-01 09:08:05.000000000 +0200
@@ -341,7 +341,7 @@
char *buffer, size_t buflen, int *errnop)
{
/* Locks the static variables in this file. */
- __libc_lock_define_initialized (static, lock)
+ __libc_lock_define_initialized (static, lock);
enum nss_status status;
FILE *stream = NULL;
@@ -371,7 +371,7 @@
char *buffer, size_t buflen, int *errnop)
{
/* Locks the static variables in this file. */
- __libc_lock_define_initialized (static, lock)
+ __libc_lock_define_initialized (static, lock);
enum nss_status status;
FILE *stream = NULL;
--
Happy hacking
Petter Reinholdtsen
Reply to: