Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 0dcabc693c6048c76613d3bfb864eea8d9e2dae0 Mon Sep 17 00:00:00 2001
From: Allen Zhong <moeallenz@gmail.com>
Date: Fri, 27 Apr 2018 13:21:35 +0800
Subject: [PATCH] fix timers with 4.15 kernel
---
.SRCINFO | 7 +++++--
PKGBUILD | 9 ++++++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 6761d2f..23d271d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Fri Apr 27 05:10:02 UTC 2018
pkgbase = systemtap
pkgdesc = provides infrastructure to simplify the gathering of information about the running system.
pkgver = 3.2
- pkgrel = 2
+ pkgrel = 3
url = http://sourceware.org/systemtap/
install = systemtap.install
arch = x86_64
@@ -16,10 +18,11 @@ pkgbase = systemtap
source = systemtap-3.2.tar.gz::https://sourceware.org/systemtap/ftp/releases/systemtap-3.2.tar.gz
source = systemtap-3.2.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/systemtap-3.2.tar.gz.asc
source = stp_remove_install_hooks.patch
- validpgpkeys = 5D38116FA4D3A7CC77E378D37E83610126DCC2E8
+ source = fix-pr22551-by-updateing-the-use-of-timers.patch::https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=patch;h=fbb26e17a
sha512sums = 6036ed1b5189fd3fcfdeeaa526a3539ac632d0b687a063b5e3424e8f613bfc2c8d079742b0262b547128e97e30e4beb61898b23761657aee519e61346ac92e94
sha512sums = SKIP
sha512sums = 1d2758e9f875e06d08d37679587454fb43e025aa83ceeb405b1bc8d3277476502f2d67cf9e8383cc4c63ae545d7d0e9ebaab814f880b2f53bba47bef4afcd537
+ sha512sums = f4ad61e82df38d5acc4d5ca764e3fc3b22fe1c12a827a69ad3006bcd493f283540bbd03b47824f50377bf735569f993b709652f04c541b441483ae2a22435f90
pkgname = systemtap
diff --git a/PKGBUILD b/PKGBUILD
index 1757e2c..163962c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor:dront78 <dront78@gmail.com>
pkgname=systemtap
pkgver=3.2
-pkgrel=2
+pkgrel=3
pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
url="http://sourceware.org/systemtap/"
arch=('x86_64' 'i686')
@@ -12,16 +12,19 @@ makedepends=('python2-setuptools' 'xmlto')
optdepends=('sqlite3: for storing results in a database')
source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
"${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc"
- 'stp_remove_install_hooks.patch')
+ 'stp_remove_install_hooks.patch'
+ "fix-pr22551-by-updateing-the-use-of-timers.patch::https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=patch;h=fbb26e17a")
sha512sums=('6036ed1b5189fd3fcfdeeaa526a3539ac632d0b687a063b5e3424e8f613bfc2c8d079742b0262b547128e97e30e4beb61898b23761657aee519e61346ac92e94'
'SKIP'
- '1d2758e9f875e06d08d37679587454fb43e025aa83ceeb405b1bc8d3277476502f2d67cf9e8383cc4c63ae545d7d0e9ebaab814f880b2f53bba47bef4afcd537')
+ '1d2758e9f875e06d08d37679587454fb43e025aa83ceeb405b1bc8d3277476502f2d67cf9e8383cc4c63ae545d7d0e9ebaab814f880b2f53bba47bef4afcd537'
+ 'f4ad61e82df38d5acc4d5ca764e3fc3b22fe1c12a827a69ad3006bcd493f283540bbd03b47824f50377bf735569f993b709652f04c541b441483ae2a22435f90')
install='systemtap.install'
validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/stp_remove_install_hooks.patch"
+ patch -Np1 -i "${srcdir}/fix-pr22551-by-updateing-the-use-of-timers.patch"
autoreconf -i
}
build() {
--
2.17.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.