Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 23:13:41 -0600
From:      "RandomUser" <rannumgen@globaleyes.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/140921: news/suck (4.3.2) fails to find "dbz.h" and "libinn.h"
Message-ID:  <1259298821.28411@FreeBSD2.LocalNET10>
Resent-Message-ID: <200911270520.nAR5K17Y058436@freefall.freebsd.org>

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

>Number:         140921
>Category:       ports
>Synopsis:       news/suck (4.3.2) fails to find "dbz.h" and "libinn.h"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 05:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     RandomUser
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.4-STABLE #1: Thu Nov 26 16:01:23 CST 2009

inn-2.5.0 (inn-CURRENT-20061123)



>Description:


make -DSUCK_WITH_INN -DNEWSBIN
.
.
.
cc -c -march=prescott -O2 -pipe -DNO_CONFIGDATA -fno-strict-aliasing -I/usr/local/include -DHAVE_LIBSSL  -I. -I. -I/usr/local/include  -DHAVE_CONFIG_H -DSUCK_VERSION=\"4.3.2\"    ssort.c 
cc -c -I/usr/local/news/include -march=prescott -O2 -pipe -DNO_CONFIGDATA -fno-strict-aliasing  -I. -I. -I/usr/local/include  -DHAVE_CONFIG_H -DSUCK_VERSION=\"4.3.2\"    -DUSE_INN23 -DDO_TAGGED_HASH chkhistory_db.c
chkhistory_db.c:87:20: libinn.h: No such file or directory
chkhistory_db.c:88:17: dbz.h: No such file or directory
chkhistory_db.c: In function `open_history':
chkhistory_db.c:174: error: syntax error before "opt"
chkhistory_db.c:177: error: `opt' undeclared (first use in this function)
chkhistory_db.c:177: error: (Each undeclared identifier is reported only once
chkhistory_db.c:177: error: for each function it appears in.)
chkhistory_db.c:177: error: `INCORE_MEM' undeclared (first use in this function)
chkhistory_db.c: In function `check_history':
chkhistory_db.c:228: error: syntax error before "msgid_hash"
chkhistory_db.c:230: error: `msgid_hash' undeclared (first use in this function)
gmake: *** [chkhistory_db.o] Error 1
*** Error code 1

Stop in /ad4/usrports/news/suck.


>How-To-Repeat:





>Fix:


--- patch-ae begins here ---
--- chkhistory_db.c.orig	2003-03-25 15:38:16.000000000 -0600
+++ chkhistory_db.c	2009-11-26 23:03:54.000000000 -0600
@@ -67,7 +67,7 @@
 #endif
 
 #ifdef USE_DBZ
-#include <dbz.h>
+#include <inn/dbz.h>
 #define close_history() dbmclose()
 #endif
 
@@ -75,8 +75,8 @@
 #include <sys/types.h>
 #include <configdata.h>
 #include <clibrary.h>
-#include <libinn.h>
-#include <dbz.h>
+#include <inn/libinn.h>
+#include <inn/dbz.h>
 #define close_history() dbzclose()
 #endif
 #ifdef USE_INN23
@@ -84,8 +84,8 @@
 #ifndef NO_CONFIGDATA
 #include <configdata.h>
 #endif
-#include <libinn.h>
-#include <dbz.h>
+#include <inn/libinn.h>
+#include <inn/dbz.h>
 #define close_history() dbzclose()
 #define USE_INN2    /* we need the rest of the inn2 code, only the includes are different */
 #endif
--- patch-ae ends here ---



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



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