From 549d2f47467f4a8a487481efea816431a5860d9e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 24 Oct 2013 20:40:15 -0500 Subject: glib-networking: upstream patch to fix installation Fixes #23400. Closes #23539. --- Library/Formula/glib-networking.rb | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'Library/Formula/glib-networking.rb') diff --git a/Library/Formula/glib-networking.rb b/Library/Formula/glib-networking.rb index f22b0f6df..e9fa1060c 100644 --- a/Library/Formula/glib-networking.rb +++ b/Library/Formula/glib-networking.rb @@ -14,6 +14,12 @@ class GlibNetworking < Formula depends_on 'gsettings-desktop-schemas' depends_on 'curl-ca-bundle' => :optional + def patches + # Patch to fix installation issue + # Adapted from upstream: https://git.gnome.org/browse/glib-networking/patch/?id=ce708edb561fa8ea1a5068100f43c6f68092f7f7 + DATA + end + def install if build.with? "curl-ca-bundle" curl_ca_bundle = Formula.factory('curl-ca-bundle').opt_prefix @@ -29,3 +35,37 @@ class GlibNetworking < Formula system "make install" end end + +__END__ +diff --git a/tls/tests/Makefile.in b/tls/tests/Makefile.in +index e657b34..31b96cd 100644 +--- a/tls/tests/Makefile.in ++++ b/tls/tests/Makefile.in +@@ -655,7 +655,7 @@ CLEANFILES = *.log *.trs $(am__append_13) + DISTCLEANFILES = + MAINTAINERCLEANFILES = + EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) \ +- $(testfiles_DATA) ++ $(testfiles_data) + + # We support a fairly large range of possible variables. It is expected that all types of files in a test suite + # will belong in exactly one of the following variables. +@@ -741,8 +741,7 @@ test_programs = certificate file-database connection $(NULL) \ + @HAVE_PKCS11_TRUE@ mock-pkcs11.c mock-pkcs11.h \ + @HAVE_PKCS11_TRUE@ mock-interaction.c mock-interaction.h + +-testfilesdir = $(installed_testdir)/files +-testfiles_DATA = \ ++testfiles_data = \ + files/ca.pem \ + files/ca-roots.pem \ + files/ca-verisign-sha1.pem \ +@@ -760,6 +759,8 @@ testfiles_DATA = \ + files/server-self.pem \ + $(NULL) + ++@ENABLE_INSTALLED_TESTS_TRUE@testfilesdir = $(installed_testdir)/files ++@ENABLE_INSTALLED_TESTS_TRUE@testfiles_DATA = $(testfiles_data) + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + -- cgit v1.2.3