From: msweet Date: Sat, 25 Oct 2014 00:03:02 +0000 (+0000) Subject: OpenBSD build fixes. X-Git-Tag: v2.2b1~451 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed26f50fbb08d076cee91e4fdff214fe64e82d9a;p=thirdparty%2Fcups.git OpenBSD build fixes. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12233 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/config.h.in b/config.h.in index 5937ac3c27..7163e641c1 100644 --- a/config.h.in +++ b/config.h.in @@ -624,7 +624,7 @@ #ifdef HAVE_ARC4RANDOM # define CUPS_RAND() arc4random() -# define CUPS_SRAND(v) arc4random_stir() +# define CUPS_SRAND(v) #elif defined(HAVE_RANDOM) # define CUPS_RAND() random() # define CUPS_SRAND(v) srandom(v) diff --git a/cups/http-private.h b/cups/http-private.h index 7ef0833cd9..ec5ad79fdd 100644 --- a/cups/http-private.h +++ b/cups/http-private.h @@ -126,6 +126,7 @@ extern CFAbsoluteTime SecCertificateNotValidAfter(SecCertificateRef certificate) # ifndef WIN32 # include +# include # ifdef HAVE_GETIFADDRS # include # else diff --git a/locale/Makefile b/locale/Makefile index 4b0cc81b4c..5de848b658 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -159,7 +159,7 @@ pot: checkpo po2strings # checkpo: checkpo.o ../cups/$(LIBCUPSSTATIC) - echo Linking $<... + echo Linking $@... $(CC) $(ARCHFLAGS) $(LDFLAGS) -o checkpo checkpo.o \ ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \ $(COMMONLIBS) $(LIBZ) @@ -178,7 +178,7 @@ checkall: checkpo # po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC) - echo Linking $<... + echo Linking $@... $(CC) $(ARCHFLAGS) $(LDFLAGS) -o po2strings po2strings.o \ ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \ $(COMMONLIBS) $(LIBZ) @@ -192,7 +192,7 @@ po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC) # strings2po: strings2po.o - echo Linking $<... + echo Linking $@... $(CC) $(ARCHFLAGS) $(LDFLAGS) -o strings2po strings2po.o