diff options
Diffstat (limited to 'libre/linux-libre-tools')
-rw-r--r-- | libre/linux-libre-tools/03-fix-tmon-ltinfo.patch | 13 | ||||
-rw-r--r-- | libre/linux-libre-tools/PKGBUILD | 22 |
2 files changed, 25 insertions, 10 deletions
diff --git a/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch b/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch new file mode 100644 index 000000000..986f1c408 --- /dev/null +++ b/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch @@ -0,0 +1,13 @@ +# Copyright 2014 Sébastien Luttringer + +--- a/tools/thermal/tmon/Makefile ++++ b/tools/thermal/tmon/Makefile +@@ -21,7 +21,7 @@ OBJS = tmon.o tui.o sysfs.o pid.o + OBJS += + + tmon: $(OBJS) Makefile tmon.h +- $(CC) ${CFLAGS} $(LDFLAGS) $(OBJS) -o $(TARGET) -lm -lpanel -lncursesw -ltinfo -lpthread ++ $(CC) ${CFLAGS} $(LDFLAGS) $(OBJS) -o $(TARGET) -lm -lpanel -lncursesw -lpthread + + valgrind: tmon + sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET) 1> /dev/null diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD index bdeebdb56..5ff82d377 100644 --- a/libre/linux-libre-tools/PKGBUILD +++ b/libre/linux-libre-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 112360 2014-06-01 08:43:39Z fyan $ +# $Id: PKGBUILD 116876 2014-08-05 00:19:20Z seblu $ # Maintainer (Arch): Sébastien Luttringer <seblu@archlinux.org> # Maintainer: André Silva <emulatorman@parabola.nu> @@ -14,11 +14,11 @@ pkgname=( 'usbip-libre' 'x86_energy_perf_policy-libre' ) -_basekernel=3.14 -#_sublevel=3 +_basekernel=3.16 +#_sublevel=7 #_pkgver=$_basekernel.$_sublevel pkgver=$_basekernel -pkgrel=3 +pkgrel=1 license=('GPL2') arch=('i686' 'x86_64' 'mips64el') url='http://linux-libre.fsfla.org/' @@ -31,7 +31,7 @@ makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'libunwind' 'numactl') # cpupower-libre deps makedepends+=('pciutils') # usbip-libre deps -makedepends+=('glib2' 'sysfsutils') +makedepends+=('glib2' 'sysfsutils' 'udev') # tmon-libre deps makedepends+=('ncurses') groups=("$pkgbase") @@ -42,15 +42,16 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$_basekernel-gnu/ 'cpupower.service' 'usbipd.service' '01-fix-perf-python.patch' - '02-parabola-paths.patch') -sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b' - #'561644a6a5d4c434dcd1f1e1dc48c4d8924bfa0407f697b66b7e6de02451acbb' + '02-parabola-paths.patch' + '03-fix-tmon-ltinfo.patch') +sha256sums=('9c2a524c901febe0f0138f702bfdeb52d6f79f22c1fdbabaa37580bc70f16218' '4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f' 'fbf6e0ce6eb0ef15703fe212958de6ca46e62188900b5e9f9272ed3cc9cfd54e' 'a89284d0ecb556ca53a66d1c2087b5fd6d0a901ab2769cd3aebb93f4478905dc' '2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f' 'fce128f5e0abfa6916d5cb881456d892d1b163b9639166a4c6c1d53e4dc5086a' - 'eb866a589a26b1979ffb2fe08be09417e277a4befac34bdb279a6bb3a27b0570') + 'eb866a589a26b1979ffb2fe08be09417e277a4befac34bdb279a6bb3a27b0570' + '7547815bb761d49d198b85f95011535713c2ed4a004f249a9cf6ba985af8c4ed') prepare() { cd linux-$pkgver @@ -61,6 +62,7 @@ prepare() { fi patch -N -p1 -i "$srcdir/01-fix-perf-python.patch" patch -N -p1 -i "$srcdir/02-parabola-paths.patch" + patch -N -p1 -i "$srcdir/03-fix-tmon-ltinfo.patch" } build() { @@ -211,7 +213,7 @@ package_x86_energy_perf_policy-libre() { package_usbip-libre() { pkgdesc='An USB device sharing system over IP network' - depends=('glib2' 'sysfsutils') + depends=('glib2' 'sysfsutils' 'libsystemd') replaces=('usbip') conflicts=('usbip') provides=("usbip=$pkgver") |