pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/haproxy haproxy: Use C99.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cc9bf757513
branches:  trunk
changeset: 375331:8cc9bf757513
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Feb 08 19:12:50 2018 +0000

description:
haproxy: Use C99.

diffstat:

 net/haproxy/Makefile               |   3 ++-
 net/haproxy/distinfo               |   4 ++--
 net/haproxy/patches/patch-Makefile |  16 +++++++++++++---
 3 files changed, 17 insertions(+), 6 deletions(-)

diffs (57 lines):

diff -r 03b427024a0d -r 8cc9bf757513 net/haproxy/Makefile
--- a/net/haproxy/Makefile      Thu Feb 08 17:45:22 2018 +0000
+++ b/net/haproxy/Makefile      Thu Feb 08 19:12:50 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2018/02/02 10:05:59 adam Exp $
+# $NetBSD: Makefile,v 1.39 2018/02/08 19:12:50 jperkin Exp $
 
 DISTNAME=      haproxy-1.8.3
 CATEGORIES=    net www
@@ -9,6 +9,7 @@
 COMMENT=       Reliable, high performance TCP/HTTP load balancer
 LICENSE=       gnu-gpl-v2
 
+USE_LANGUAGES=         c99
 USE_TOOLS+=            gmake
 BUILD_MAKE_FLAGS+=     ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib
 BUILD_MAKE_FLAGS+=     TARGET=${TARGET}
diff -r 03b427024a0d -r 8cc9bf757513 net/haproxy/distinfo
--- a/net/haproxy/distinfo      Thu Feb 08 17:45:22 2018 +0000
+++ b/net/haproxy/distinfo      Thu Feb 08 19:12:50 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.32 2018/02/02 10:05:59 adam Exp $
+$NetBSD: distinfo,v 1.33 2018/02/08 19:12:50 jperkin Exp $
 
 SHA1 (haproxy-1.8.3.tar.gz) = dec036e3df372f1baee1f423ff6473eaa081d9b9
 RMD160 (haproxy-1.8.3.tar.gz) = 79c2483955d7ce46dbbcdf98cc4d5f72bca8fd95
 SHA512 (haproxy-1.8.3.tar.gz) = 6118ccbcfe07d96c2cce1a78c30db9c428f8b64e64fc3f5660392a501ecbaefdc5b10bea2f65c6bb3d8e7763b3e17db4ee34e13f689474f8243b52250e212600
 Size (haproxy-1.8.3.tar.gz) = 2043861 bytes
-SHA1 (patch-Makefile) = f635093d547270603ffea8837a42a8cca2e03bdf
+SHA1 (patch-Makefile) = f82960b3ef0f4a2752fa06a04ad3b94a2d9908ae
diff -r 03b427024a0d -r 8cc9bf757513 net/haproxy/patches/patch-Makefile
--- a/net/haproxy/patches/patch-Makefile        Thu Feb 08 17:45:22 2018 +0000
+++ b/net/haproxy/patches/patch-Makefile        Thu Feb 08 19:12:50 2018 +0000
@@ -1,10 +1,20 @@
-$NetBSD: patch-Makefile,v 1.2 2016/07/03 14:06:45 morr Exp $
+$NetBSD: patch-Makefile,v 1.3 2018/02/08 19:12:50 jperkin Exp $
 
+Specify C99.
 Skip installing unnecessary documentation.
 
---- Makefile.orig      2016-06-26 17:41:01.000000000 +0000
+--- Makefile.orig      2017-12-30 17:13:19.000000000 +0000
 +++ Makefile
-@@ -812,9 +812,6 @@ DOCUMENTATION = $(filter-out $(EXCLUDE_D
+@@ -309,7 +309,7 @@ ifeq ($(TARGET),solaris)
+   # This is for Solaris 8
+   # We also enable getaddrinfo() which works since solaris 8.
+   USE_POLL       = implicit
+-  TARGET_CFLAGS  = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
++  TARGET_CFLAGS  = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+   TARGET_LDFLAGS = -lnsl -lsocket
+   USE_TPROXY     = implicit
+   USE_LIBCRYPT    = implicit
+@@ -931,9 +931,6 @@ DOCUMENTATION = $(filter-out $(EXCLUDE_D
  
  install-doc:
        install -d "$(DESTDIR)$(DOCDIR)"



Home | Main Index | Thread Index | Old Index