nfs4-acl-tools/nfs4acl-0.2.0-compile.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

2007-03-27 16:44:55 +00:00
--- nfs4-acl-tools/Makefile.orig 2006-10-24 17:52:48.000000000 -0400
+++ nfs4-acl-tools/Makefile 2007-02-16 14:33:09.000000000 -0500
@@ -46,7 +46,7 @@ LDIRT = config.log .dep config.status co
SUBDIRS = include libnfs4acl nfs4_getfacl nfs4_setfacl
-default: $(CONFIGURE)
+default:
ifeq ($(HAVE_BUILDDEFS), no)
$(MAKE) -C . $@
else
--- nfs4-acl-tools/configure.ac.orig 2006-10-25 13:34:00.000000000 -0400
+++ nfs4-acl-tools/configure.ac 2007-02-16 14:33:09.000000000 -0500
@@ -32,5 +32,6 @@ AC_PACKAGE_NEED_GETXATTR_LIBATTR
AC_MANUAL_FORMAT
AC_FUNC_GCC_VISIBILITY
+AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE, [], [GCC supports visibility attributes])
AC_OUTPUT(include/builddefs)
--- nfs4-acl-tools/include/buildmacros.orig 2006-08-21 13:05:23.000000000 -0400
+++ nfs4-acl-tools/include/buildmacros 2007-02-16 14:35:40.000000000 -0500
@@ -54,7 +54,8 @@ OBJECTS = $(ASFILES:.s=.o) \
$(LFILES:.l=.o) \
$(YFILES:%.y=%.tab.o)
-INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+#INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
+INSTALL = $(TOPDIR)/install-sh
SHELL = /bin/sh
IMAGES_DIR = $(TOPDIR)/all-images