]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
OpenBSD build fixes.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sat, 25 Oct 2014 00:03:02 +0000 (00:03 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sat, 25 Oct 2014 00:03:02 +0000 (00:03 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12233 a1ca3aef-8c08-0410-bb20-df032aa958be

config.h.in
cups/http-private.h
locale/Makefile

index 5937ac3c27cfb94ffde8ef057de10a4b8f9bb69b..7163e641c15c6d89a69c85fd68eaf3ccfa9fb5aa 100644 (file)
 
 #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)
index 7ef0833cd9c92c77a1034ec24dad28a33f88e24f..ec5ad79fdd6f1eb142e36754857087679782276a 100644 (file)
@@ -126,6 +126,7 @@ extern CFAbsoluteTime SecCertificateNotValidAfter(SecCertificateRef certificate)
 
 #  ifndef WIN32
 #    include <net/if.h>
+#    include <resolv.h>
 #    ifdef HAVE_GETIFADDRS
 #      include <ifaddrs.h>
 #    else
index 4b0cc81b4c40ee597bf9d3704fa6b5b95fd2ee90..5de848b658a7a843b24dbea015fdf28f5a04b13b 100644 (file)
@@ -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