Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 06:39:39 GMT
From:      Alex Keda <admin@lissyara.su>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125207: [www/mod_ntlm2] fix build on 7.x
Message-ID:  <200807030639.m636ddfZ076030@www.freebsd.org>
Resent-Message-ID: <200807030640.m636e5Oj051560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125207
>Category:       ports
>Synopsis:       [www/mod_ntlm2] fix build on 7.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 03 06:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alex Keda
>Release:        7.0
>Organization:
ussr
>Environment:
FreeBSD orion.moskb.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
see patch
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nru mod_ntlm2.orig/Makefile mod_ntlm2/Makefile
--- mod_ntlm2.orig/Makefile	2007-12-11 01:37:33.000000000 +0300
+++ mod_ntlm2/Makefile	2008-07-03 09:58:43.000000000 +0400
@@ -22,8 +22,4 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile
-.endif
-
 .include <bsd.port.post.mk>
diff -Nru mod_ntlm2.orig/files/patch-smbval-smblib.inc.c mod_ntlm2/files/patch-smbval-smblib.inc.c
--- mod_ntlm2.orig/files/patch-smbval-smblib.inc.c	2007-09-26 16:38:30.000000000 +0400
+++ mod_ntlm2/files/patch-smbval-smblib.inc.c	2008-07-03 09:56:51.000000000 +0400
@@ -1,11 +1,25 @@
---- smbval/smblib.inc.c.orig	Wed Sep 26 12:42:22 2007
-+++ smbval/smblib.inc.c	Wed Sep 26 12:43:08 2007
-@@ -20,7 +20,7 @@
+--- smbval/smblib.inc.c.orig	2008-07-03 01:44:33.000000000 +0400
++++ smbval/smblib.inc.c	2008-07-03 01:45:18.000000000 +0400
+@@ -20,10 +20,10 @@
   * with this program; if not, write to the Free Software Foundation, Inc., 
   * 675 Mass Ave, Cambridge, MA 02139, USA. */
  #include <stdio.h>
 -#include <malloc.h>
 +#include <stdlib.h>
  
- static int SMBlib_errno;
- static int SMBlib_SMB_Error;
+-static int SMBlib_errno;
+-static int SMBlib_SMB_Error;
++int SMBlib_errno;
++int SMBlib_SMB_Error;
+ #define SMBLIB_ERRNO
+ #define uchar unsigned char
+ #include "smblib-priv.h"
+@@ -32,7 +32,7 @@
+ 
+ #include <signal.h>
+ 
+-static SMB_State_Types SMBlib_State;
++SMB_State_Types SMBlib_State;
+ 
+ /* Initialize the SMBlib package     */
+ static int 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807030639.m636ddfZ076030>