gentoo-overlay/net-dialup/freeradius/files/freeradius-1.1.7-qa-fixes.patch

36 lines
1.2 KiB
Diff

diff -Nru freeradius-1.1.7.orig/configure.in freeradius-1.1.7/configure.in
--- freeradius-1.1.7.orig/configure.in 2007-07-17 17:41:38.000000000 +0300
+++ freeradius-1.1.7/configure.in 2007-08-25 07:44:21.000000000 +0300
@@ -832,7 +832,7 @@
else
devflags=""
CFLAGS="$CFLAGS -DNDEBUG"
- INSTALLSTRIP="-s"
+ INSTALLSTRIP=""
AC_MSG_RESULT(no.)
fi
diff -Nru freeradius-1.1.7.orig/src/modules/rlm_smb/smblib.c freeradius-1.1.7/src/modules/rlm_smb/smblib.c
--- freeradius-1.1.7.orig/src/modules/rlm_smb/smblib.c 2004-02-26 21:04:35.000000000 +0200
+++ freeradius-1.1.7/src/modules/rlm_smb/smblib.c 2007-08-25 07:44:21.000000000 +0300
@@ -23,6 +23,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <string.h>
+
int SMBlib_errno;
int SMBlib_SMB_Error;
#define SMBLIB_ERRNO
diff -Nru freeradius-1.1.7.orig/src/modules/rlm_smb/smblib-util.c freeradius-1.1.7/src/modules/rlm_smb/smblib-util.c
--- freeradius-1.1.7.orig/src/modules/rlm_smb/smblib-util.c 2004-02-26 21:04:35.000000000 +0200
+++ freeradius-1.1.7/src/modules/rlm_smb/smblib-util.c 2007-08-25 07:44:21.000000000 +0300
@@ -23,6 +23,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <string.h>
+
#include "smblib-priv.h"
#include "rfcnb.h"