Fix FreeBSD 10.1 build
This commit is contained in:
committed by
Jon Trulson
parent
bf0666a330
commit
29294e0373
@@ -63,8 +63,7 @@ NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context sparse
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -61,8 +61,7 @@ $(EPRODS): eltdef $(HELPIFFILE) $(HELPTSSFILE)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -99,8 +99,7 @@ $(HELPTAGSRC)/dthelp_ctag1: parser
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -63,8 +63,7 @@ NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context sparse
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -61,8 +61,7 @@ $(EPRODS): eltdef $(HELPIFFILE) $(HELPTSSFILE)
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -99,8 +99,7 @@ $(HELPTAGSRC)/dthelp_htag1: parser
|
||||
|
||||
$(CPRODS): $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat
|
||||
$(CP) $(HELPTAGSRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(HELPUTILSRC)/context
|
||||
|
||||
$(HELPUTILSRC)/context:
|
||||
|
||||
@@ -59,8 +59,7 @@ NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.bld context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HTAG2SRC)/delim.bld delim.dat
|
||||
$(CP) $(HTAG2SRC)/delim.bld delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context sparse
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
|
||||
@@ -58,8 +58,7 @@ $(EPRODS): eltdef $(SDLIFFILE)
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.elt context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HTAG2SRC)/delim.elt delim.dat
|
||||
$(CP) $(HTAG2SRC)/delim.elt delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
|
||||
@@ -90,8 +90,7 @@ $(HTAG2SRC)/dthelp_htag2: parser
|
||||
|
||||
$(CPRODS): $(SDLUTILSRC)/context $(HTAG2SRC)/delim.par context.dat
|
||||
$(RM) $(CPRODS) $(CTRASH)
|
||||
/* get application-specific delim.dat */
|
||||
$(CP) $(HTAG2SRC)/delim.par delim.dat
|
||||
$(CP) $(HTAG2SRC)/delim.par delim.dat /* appl.-specific delim.dat */
|
||||
$(SDLUTILSRC)/context
|
||||
|
||||
$(SDLUTILSRC)/context:
|
||||
|
||||
@@ -116,7 +116,7 @@ DtSR_BookcaseSearchEntry::~DtSR_BookcaseSearchEntry()
|
||||
void
|
||||
DtSR_BookcaseSearchEntry::search_zones(UAS_SearchZones& search_zones)
|
||||
{
|
||||
if (! bcases().length() > 0) {
|
||||
if (! (bcases().length() > 0)) {
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "search_zones tried on empty BookcaseEntry list\n");
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@ StringParser::brute_force(const char* text_in, int n_of_pats,
|
||||
else if (patterns == NULL || *patterns == '\0')
|
||||
return NULL;
|
||||
|
||||
if (! n_of_pats > 0)
|
||||
if (! (n_of_pats > 0))
|
||||
return NULL;
|
||||
|
||||
char** pat_tbl = new char*[n_of_pats + 1];
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/* $XConsortium: SearchStorage.h /main/3 1996/07/18 16:49:38 drk $ */
|
||||
|
||||
#ifndef SRCH_STOR_HDR
|
||||
#define SCRH_STOR_HDR
|
||||
#define SRCH_STOR_HDR
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user