duperemove: update to 0.11.
Closes #14456. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
740824adbd
commit
327d7495c5
@ -1,37 +0,0 @@
|
|||||||
--- util.c.orig 2016-04-25 08:52:55.441658244 +0200
|
|
||||||
+++ util.c 2016-04-25 08:53:56.314297430 +0200
|
|
||||||
@@ -24,7 +24,9 @@
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <inttypes.h>
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
#include <execinfo.h>
|
|
||||||
+#endif
|
|
||||||
#include <sys/time.h>
|
|
||||||
|
|
||||||
#include "debug.h"
|
|
||||||
@@ -125,12 +127,14 @@ void print_stack_trace(void)
|
|
||||||
char **messages = (char **)NULL;
|
|
||||||
int i, trace_size = 0;
|
|
||||||
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
trace_size = backtrace(trace, 16);
|
|
||||||
messages = backtrace_symbols(trace, trace_size);
|
|
||||||
printf("[stack trace follows]\n");
|
|
||||||
for (i=0; i < trace_size; i++)
|
|
||||||
printf("%s\n", messages[i]);
|
|
||||||
free(messages);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void record_start(struct elapsed_time *e, const char *name)
|
|
||||||
--- util.h.orig 2016-04-25 08:56:23.538843339 +0200
|
|
||||||
+++ util.h 2016-04-25 08:56:38.194997238 +0200
|
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
#define __UTIL_H__
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
+#include <sys/time.h>
|
|
||||||
|
|
||||||
/* controlled by user options, turns pretty print on if true. */
|
|
||||||
extern int human_readable;
|
|
@ -1,15 +1,15 @@
|
|||||||
# Template file for 'duperemove'
|
# Template file for 'duperemove'
|
||||||
pkgname=duperemove
|
pkgname=duperemove
|
||||||
version=0.10
|
version=0.11
|
||||||
revision=2
|
revision=1
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="sqlite-devel libglib-devel libgcrypt-devel libatomic-devel"
|
||||||
short_desc="Tools for deduping file systems"
|
short_desc="Tools for deduping file systems"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
hostmakedepends="pkg-config"
|
|
||||||
makedepends="sqlite-devel libglib-devel libgcrypt-devel"
|
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://github.com/markfasheh/duperemove"
|
homepage="https://github.com/markfasheh/duperemove"
|
||||||
distfiles="https://github.com/markfasheh/duperemove/archive/v$version.tar.gz"
|
distfiles="https://github.com/markfasheh/duperemove/archive/v$version.tar.gz"
|
||||||
checksum=1ef855c4d0a85efc8757edcac5ea7189d896d2f2abad0e572c47f6568cf050aa
|
checksum=854735ae5e47527afbe5e07712753b498fd93966615c6d645189632f08ac5566
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
|
make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user