Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 12:00:14 +1100 (EST)
From:      Chris Knight <chris@aims.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45253: [MAINTAINER UPDATE] databases/firebird: Fix SuperServer Build
Message-ID:  <200211130100.gAD10EGc084130@ait0fd01.aims.private>

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

>Number:         45253
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] databases/firebird: Fix SuperServer Build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 12 17:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:
System: FreeBSD ait0fd01.aims.private 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Oct 13 19:17:31 EST 2002 root@ait0fd01.aims.private:/var/obj/usr/src/sys/THINKPAD i386

>Description:
Forgot a local patch to make the SuperServer memory allocator do something
useful. Currently, the memory allocator is a no-op, resulting in Insufficient
Memory errors.

>How-To-Repeat:
cd /usr/ports/databases/firebird
make install
/usr/local/firebird/bin/ibmgr -start -forever
See the insufficient memory error in /usr/local/firebird/interbase.log

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	11 Nov 2002 17:23:48 -0000	1.11
+++ Makefile	13 Nov 2002 00:53:36 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	firebird
 PORTVERSION=	1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	http://firebird.sourceforge.net/download/ \
 		http://www.aims.com.au/chris/ \
Index: files/patch-ae
===================================================================
RCS file: /home/ncvs/ports/databases/firebird/files/patch-ae,v
retrieving revision 1.1
diff -u -r1.1 patch-ae
--- files/patch-ae	10 May 2002 13:28:53 -0000	1.1
+++ files/patch-ae	13 Nov 2002 00:53:49 -0000
@@ -1,10 +1,18 @@
---- jrd/common.h.orig	Sat Nov 17 20:07:00 2001
-+++ jrd/common.h	Sun Nov 18 18:54:26 2001
-@@ -137,6 +137,7 @@
+--- jrd/common.h.orig	Thu Dec  6 05:06:37 2001
++++ jrd/common.h	Wed Nov 13 11:47:17 2002
+@@ -148,6 +148,7 @@
  /* FreeBSD for Intel platforms */
  #ifdef FREEBSD
-
+ 
 +#define UNIX_64_BIT_IO
  #define FB_ALIGN(n,b) ((n + b - 1) & ~(b - 1))
  #define ALIGNMENT     4
  #define DOUBLE_ALIGN  4
+@@ -164,6 +165,7 @@
+ #define QUADCONST(n) (n##LL)
+ #define KILLER_SIGNALS
+ #define MMAP_SUPPORTED
++#define MAP_ANONYMOUS
+ #define SIGACTION_SUPPORTED
+ #define NO_NFS        /* no MTAB_OPEN or MTAB_CLOSE in isc_file.c */
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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