pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libsoup libsoup: Fix build on SmartOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39f32bf66dbd
branches:  trunk
changeset: 338170:39f32bf66dbd
user:      otis <otis%pkgsrc.org@localhost>
date:      Mon Aug 19 20:01:52 2019 +0000

description:
libsoup: Fix build on SmartOS

diffstat:

 net/libsoup/Makefile                  |   4 +++-
 net/libsoup/distinfo                  |   3 ++-
 net/libsoup/patches/patch-meson.build |  16 ++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r eb1ad4ef4412 -r 39f32bf66dbd net/libsoup/Makefile
--- a/net/libsoup/Makefile      Mon Aug 19 17:42:42 2019 +0000
+++ b/net/libsoup/Makefile      Mon Aug 19 20:01:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2019/08/18 08:13:30 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2019/08/19 20:01:52 otis Exp $
 
 DISTNAME=      libsoup-2.66.2
 PKGREVISION=   1
@@ -23,6 +23,8 @@
 # disable vala detection
 MESON_ARGS+=           -Dvapi=false
 
+LDFLAGS.SunOS+=                -lsocket
+
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 
diff -r eb1ad4ef4412 -r 39f32bf66dbd net/libsoup/distinfo
--- a/net/libsoup/distinfo      Mon Aug 19 17:42:42 2019 +0000
+++ b/net/libsoup/distinfo      Mon Aug 19 20:01:52 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.22 2019/08/16 13:08:58 wiz Exp $
+$NetBSD: distinfo,v 1.23 2019/08/19 20:01:52 otis Exp $
 
 SHA1 (libsoup-2.66.2.tar.xz) = f549a0ab984895a11053505806068bbad22a1dfc
 RMD160 (libsoup-2.66.2.tar.xz) = 787dc933e36ac75edb95438d47a4e495de5550ab
 SHA512 (libsoup-2.66.2.tar.xz) = 1df443470239f23d22301e37e36f3d34963352ee0122f317cd15b19d90115831091bddcee27bc6f0d4994adcf4e5bd9c0395de2bd7f39ae305ba0edea7789092
 Size (libsoup-2.66.2.tar.xz) = 1446024 bytes
+SHA1 (patch-meson.build) = 688bae137b5c99b9710f9474df2f969b62422d5a
diff -r eb1ad4ef4412 -r 39f32bf66dbd net/libsoup/patches/patch-meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/patches/patch-meson.build     Mon Aug 19 20:01:52 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-meson.build,v 1.1 2019/08/19 20:03:09 otis Exp $
+
+--- meson.build.orig   2019-08-19 19:41:36.080576330 +0000
++++ meson.build
+@@ -31,6 +31,11 @@ default_source_flag = [
+ 
+ add_project_arguments(default_source_flag, language: 'c')
+ 
++# Needed for build on SmartOS
++if host_system == 'sunos'
++      add_project_arguments('-D__EXTENSIONS__', language: 'c')
++endif
++
+ common_flags = [
+   '-DHAVE_CONFIG_H',
+ ]



Home | Main Index | Thread Index | Old Index