[arch-commits] Commit in deepin-anything/trunk (PKGBUILD kernel-5.1.patch)

Felix Yan felixonmars at archlinux.org
Thu May 9 06:25:43 UTC 2019


    Date: Thursday, May 9, 2019 @ 06:25:43
  Author: felixonmars
Revision: 463896

upgpkg: deepin-anything 0.0.8-1

Modified:
  deepin-anything/trunk/PKGBUILD
Deleted:
  deepin-anything/trunk/kernel-5.1.patch

------------------+
 PKGBUILD         |   13 +++++--------
 kernel-5.1.patch |   13 -------------
 2 files changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-09 06:25:09 UTC (rev 463895)
+++ PKGBUILD	2019-05-09 06:25:43 UTC (rev 463896)
@@ -2,9 +2,9 @@
 
 pkgbase=deepin-anything
 pkgname=(deepin-anything deepin-anything-dkms)
-pkgver=0.0.7
+pkgver=0.0.8
 _extramodules=extramodules-ARCH
-pkgrel=2
+pkgrel=1
 pkgdesc="Deepin Anything file search tool"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-anything"
@@ -11,16 +11,13 @@
 license=('GPL3')
 makedepends=('dtkcore' 'udisks2-qt5')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
-        deepin-anything-server.sysusers
-        kernel-5.1.patch)
-sha512sums=('b0951ada69a12123337d276e2cdfdd3f3c7ca3f41ac8688f0e4758b732bbe5635b34e9064dd778fb3cf9e7829e20dfa9b59135db5b19a107f194e71071662924'
-            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
-            'b23a7ad54866e04bb86ba401b144ea73725451852e8fb1ab54059a4c685203e9bbd16205b558191f0f33caa8c22a6066077a2068a346ff16f007ae7c5e31ccc7')
+        deepin-anything-server.sysusers)
+sha512sums=('362cb94124daae214bf477179ff19177501938b8fb7972bbc208486cd24c7712e13f0ebe2d47df4583fe2d0735734282ee8461c57323b2dd3b8d2827b2b180b6'
+            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85')
 
 prepare() {
   cd deepin-anything-$pkgver
   sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/monitor/src/src.pro server/tool/tool.pro
-  patch -p1 -i ../kernel-5.1.patch
 }
 
 build() {

Deleted: kernel-5.1.patch
===================================================================
--- kernel-5.1.patch	2019-05-09 06:25:09 UTC (rev 463895)
+++ kernel-5.1.patch	2019-05-09 06:25:43 UTC (rev 463896)
@@ -1,13 +0,0 @@
-diff --git a/kernelmod/vfs_utils.c b/kernelmod/vfs_utils.c
-index d166f18..2549e10 100644
---- a/kernelmod/vfs_utils.c
-+++ b/kernelmod/vfs_utils.c
-@@ -24,7 +24,7 @@ char* __init read_file_content(const char* filename, int *real_size)
- 		return 0;
- 	}
- 	mm_segment_t old_fs = get_fs();
--	set_fs(get_ds());
-+	set_fs(KERNEL_DS);
- 
- 	// i_size_read is useless here because procfs does not have i_size
- 	// loff_t size = i_size_read(file_inode(filp));



More information about the arch-commits mailing list