From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/nis/files/libdl.patch | 12 ++++++++++++ recipes/nis/files/no-selinux.patch | 16 ++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 recipes/nis/files/libdl.patch create mode 100644 recipes/nis/files/no-selinux.patch (limited to 'recipes/nis/files') diff --git a/recipes/nis/files/libdl.patch b/recipes/nis/files/libdl.patch new file mode 100644 index 0000000000..605af319f9 --- /dev/null +++ b/recipes/nis/files/libdl.patch @@ -0,0 +1,12 @@ +--- pwdutils-2.6/configure.in.orig 2005-04-19 20:22:36.603052192 -0700 ++++ pwdutils-2.6/configure.in 2005-04-19 21:09:45.308023672 -0700 +@@ -178,6 +178,9 @@ + AC_CHECK_LIB(ldap, main, LDAP_LIBS="-lldap $LDAP_LIBS" found_ldap_lib=yes,,$LDAP_LIBS) + fi + ++ dnl this always needs dl ++ AC_CHECK_LIB(dl, dlopen, LDAP_LIBS="$LDAP_LIBS -ldl") ++ + if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then + AC_CHECK_LIB(ldap50, main, LDAP_LIBS="-lldap50 -lssldap50 -lssl3 -lnss3 -lnspr4 -lprldap50 -lplc4 -lplds4" found_ldap_lib=yes need_pthread=true,, -lpthread) + fi diff --git a/recipes/nis/files/no-selinux.patch b/recipes/nis/files/no-selinux.patch new file mode 100644 index 0000000000..71da3e3931 --- /dev/null +++ b/recipes/nis/files/no-selinux.patch @@ -0,0 +1,16 @@ +--- pwdutils-2.6/lib/copy_xattr.c.orig 2005-04-16 17:15:52.916660880 -0700 ++++ pwdutils-2.6/lib/copy_xattr.c 2005-04-16 17:18:10.345768480 -0700 +@@ -127,8 +127,11 @@ + + if (lsetxattr (to, name, value, size, 0) != 0) + { +- if (strcmp (name, "security.selinux") == 0 && +- is_selinux_enabled() == 0) ++ if (strcmp (name, "security.selinux") == 0 ++#if defined(WITH_SELINUX) ++ && is_selinux_enabled() == 0 ++#endif ++ ) + fprintf (stderr, + _("SELinux not enabled, ignore attribute %s for `%s'.\n"), + name, to); -- cgit v1.2.3