Modify

Opened 16 months ago

#24904 new defect

libpam: fix build with eglibc/glibc for Chaos Calmer

Reported by: earthGavinLee Owned by: developers
Priority: normal Milestone:
Component: packages Version: Chaos Calmer 15.05
Keywords: Cc:

Description

commit 63ecfb4fb6e87f1ee2467655eee271f49e550620
Author: gavin <gavin@gavin-Inspiron>
Date:   Sat Oct 8 23:17:13 2016 +0800

    libpam: fix build with eglibc/glibc

diff --git a/feeds/packages/libs/libpam/patches/006-fix_xdr.patch b/feeds/packages/libs/libpam/patches/006-fix_xdr.patch
index 9769506..3885fb7 100644
--- a/feeds/packages/libs/libpam/patches/006-fix_xdr.patch
+++ b/feeds/packages/libs/libpam/patches/006-fix_xdr.patch
@@ -4,7 +4,7 @@
  #endif
  #include "yppasswd.h"
  
-+#ifdef __UCLIBC__
++#if defined __UCLIBC__ || defined __GLIBC__
 +
 +static const char xdr_zero[BYTES_PER_XDR_UNIT] = {0, 0, 0, 0};
 +

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.