components/openscap/patches/rpl_getline.patch
author Drew Fisher <drew.fisher@oracle.com>
Fri, 13 Jun 2014 10:00:52 -0600
changeset 1947 b80524cd88bc
parent 1369 20813e08fff3
permissions -rw-r--r--
18977267 common/openstack.p5m should have additional dependencies

This patch fixes the tests to run on solaris.
This patch has not been contributed upstream, but is planned to be done by
 2013-Jul-12.

--- openscap-0.8.1/tests/API/SEAP/test_api_seap_parser.c.orig	2012-04-16 05:46:10.857636161 -0700
+++ openscap-0.8.1/tests/API/SEAP/test_api_seap_parser.c	2012-04-16 05:46:33.459579066 -0700
@@ -52,7 +52,7 @@
 #elif defined(__linux__) || defined(__GLIBC__)
                         getline (&input, &inlen, stdin);
 #elif defined(__SVR4) && defined(__sun)
-                        rpl_getline (&input, &inlen, stdin);
+                        getline (&input, &inlen, stdin);
 #else
 # error "FIXME"
 #endif
--- openscap-0.8.1/tests/API/SEAP/test_api_sexp_ID.c.orig	2012-04-16 05:47:12.392123448 -0700
+++ openscap-0.8.1/tests/API/SEAP/test_api_sexp_ID.c	2012-04-16 05:47:21.468821876 -0700
@@ -42,7 +42,7 @@
 #elif defined(__linux__) || defined(__GLIBC__)
                         getline (&input, &inlen, stdin);
 #elif defined(__SVR4) && defined(__sun)
-                        rpl_getline (&input, &inlen, stdin);
+                        getline (&input, &inlen, stdin);
 #else
 # error "FIXME"
 #endif