SHA256
1
0
forked from pool/guile
guile/guile-net-db-test.patch
Dominique Leuenberger 81765c6962 Accepting request 580975 from home:scarabeus_iv:branches:devel:languages:misc
- Add patch from Fedora not to link to libgc in all consumer libs:
  * guile-2.0.14-gc_pkgconfig_private.patch
- Add _constraints file to ensure we can build properly
- Format with spec-cleaner
- Fix build with new glibc 2.27 bsc#1079837:
  * guile-disable-int-tests.patch
- Use %license macro to install license

OBS-URL: https://build.opensuse.org/request/show/580975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=98
2018-02-28 14:15:04 +00:00

21 lines
1018 B
Diff

Index: guile-2.0.12/test-suite/tests/net-db.test
===================================================================
--- guile-2.0.12.orig/test-suite/tests/net-db.test 2016-07-21 14:25:17.366696839 +0200
+++ guile-2.0.12/test-suite/tests/net-db.test 2016-07-21 14:25:23.086643860 +0200
@@ -79,6 +79,7 @@
(and (defined? 'EAI_NODATA) ; GNU extension
(= errcode EAI_NODATA))
(= errcode EAI_AGAIN)
+ (= errcode EAI_SYSTEM)
(begin
(format #t "unexpected error code: ~a ~s~%"
errcode (gai-strerror errcode))
@@ -105,6 +106,7 @@
;; `EAI_NONAME'.)
(and (or (= errcode EAI_SERVICE)
(= errcode EAI_NONAME)
+ (= errcode EAI_SYSTEM)
(and (defined? 'EAI_NODATA)
(= errcode EAI_NODATA)))
(string? (gai-strerror errcode))))))))