pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libsoup/patches



Module Name:    pkgsrc
Committed By:   otis
Date:           Mon Aug 19 20:03:09 UTC 2019

Added Files:
        pkgsrc/net/libsoup/patches: patch-meson.build

Log Message:
libsoup: Fix build on SmartOS


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/libsoup/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/libsoup/patches/patch-meson.build
diff -u /dev/null pkgsrc/net/libsoup/patches/patch-meson.build:1.1
--- /dev/null   Mon Aug 19 20:03:09 2019
+++ pkgsrc/net/libsoup/patches/patch-meson.build        Mon Aug 19 20:03:09 2019
@@ -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