diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-06 12:04:16 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-12-06 12:04:16 +0200 |
commit | b245fd4ae436e7073753d1dde4b79dc26144ddce (patch) | |
tree | 9557b5799919acd77e6f117ae72716cb35cee079 /sys-fs/aufs2-util | |
parent | 30428783b26854c1291674363135d0f2a7be3ca3 (diff) |
modified: ../aufs2-util-9999.ebuild
new file: aufs-util.patch
Diffstat (limited to 'sys-fs/aufs2-util')
-rw-r--r-- | sys-fs/aufs2-util/aufs2-util-9999.ebuild | 4 | ||||
-rw-r--r-- | sys-fs/aufs2-util/files/aufs-util.patch | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-fs/aufs2-util/aufs2-util-9999.ebuild b/sys-fs/aufs2-util/aufs2-util-9999.ebuild index 69e3722..31c708d 100644 --- a/sys-fs/aufs2-util/aufs2-util-9999.ebuild +++ b/sys-fs/aufs2-util/aufs2-util-9999.ebuild @@ -18,6 +18,10 @@ DEPEND="" RDEPEND="" CONFIG_CHECK="AUFS_FS" +src_prepare() { + epatch ${FILESDIR}/aufs-util.patch +} + src_compile() { emake KDIR="${KERNEL_DIR}" || die 'emake failed' } diff --git a/sys-fs/aufs2-util/files/aufs-util.patch b/sys-fs/aufs2-util/files/aufs-util.patch new file mode 100644 index 0000000..43fc909 --- /dev/null +++ b/sys-fs/aufs2-util/files/aufs-util.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 01ae53b..c27ad39 100644 +--- a/Makefile ++++ b/Makefile +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +-CFLAGS += -I./libau ++CFLAGS += -I./libau -I/usr/src/linux-zen/usr/include + CFLAGS += -O -Wall + + Cmd = auchk aubrsync |