Merge pull request #2050 from beefcurtains/partclone

New package: partclone-0.2.79
This commit is contained in:
beefcurtains 2015-07-20 17:19:45 +02:00
commit edd0859e3f
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,34 @@
--- src/main.c.orig
+++ src/main.c
@@ -20,7 +20,6 @@
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
-#include <mcheck.h>
#include <stdint.h>
#include <stdarg.h>
#include <string.h>
--- src/exfat/platform.h.orig
+++ src/exfat/platform.h
@@ -24,7 +24,7 @@
#ifndef PLATFORM_H_INCLUDED
#define PLATFORM_H_INCLUDED
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) || 1
#include <endian.h>
#include <byteswap.h>
--- src/btrfs/rbtree.h.orig
+++ src/btrfs/rbtree.h
@@ -38,6 +38,10 @@
extern "C" {
#endif
+#ifndef __always_inline
+#define __always_inline inline __attribute__((always_inline))
+#endif
+
struct rb_node {
unsigned long __rb_parent_color;
struct rb_node *rb_right;

View file

@ -0,0 +1,23 @@
# Template file for 'partclone'
pkgname=partclone
version=0.2.79
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --enable-ncursesw
--enable-extfs
--enable-hfsp
--enable-fat
--enable-exfat
--enable-ntfs
--enable-btrfs
--enable-minix
"
hostmakedepends="pkg-config"
makedepends="e2fsprogs-devel libuuid-devel ncurses-devel ntfs-3g-devel"
short_desc="File system clone and restore utilities"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="GPL-2"
homepage="http://www.${pkgname}.org/"
distfiles="https://github.com/Thomas-Tsai/${pkgname}/archive/${version}.tar.gz"
checksum=9d474326952c6ef7901c4012bd9d240c8971b19b1ab2c33a8c5e3dc8fbfc8bee
CFLAGS="-DBTRFS_DISABLE_BACKTRACE"