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

Felix Yan felixonmars at archlinux.org
Sun Aug 12 05:51:52 UTC 2018


    Date: Sunday, August 12, 2018 @ 05:51:52
  Author: felixonmars
Revision: 371211

upgpkg: deepin-anything 0.0.3-1

Added:
  deepin-anything/trunk/fix-include.patch
Modified:
  deepin-anything/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   13 ++++++++-----
 fix-include.patch |   12 ++++++++++++
 2 files changed, 20 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-12 05:47:22 UTC (rev 371210)
+++ PKGBUILD	2018-08-12 05:51:52 UTC (rev 371211)
@@ -2,8 +2,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=deepin-anything
-pkgver=0.0.2
-pkgrel=2
+pkgver=0.0.3
+pkgrel=1
 pkgdesc="Deepin Anything file search tool"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-anything"
@@ -11,12 +11,15 @@
 depends=('dkms' 'qt5-base')
 groups=('deepin' 'qt5-tools')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-anything/archive/$pkgver.tar.gz"
-        deepin-anything-server.sysusers)
-sha512sums=('90ebd80800e09f2f110d3b40472615fe82cbcdda48b8d71bfdf17691d63bfc74fc3eb4779920e94fd7292b086aafdf905a9405456d50210b6270ce1a92ec8090'
-            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85')
+        deepin-anything-server.sysusers
+        fix-include.patch)
+sha512sums=('8a506ba57d6a2ac9c9089719d18013fbde6443cb4f63de79498269e728b7e8725b4e06e7029ae2d2242aaac955c63e56c680fdd18e3fb0d72e9953a9fc5e8402'
+            '0ff6a6de1fbfb0c33eaac511b989da321a9e43ece92708af88aee34ad1a05e55572713b1290bc2705d70b91dc7bec4fb4abd3dc664a0abe01de27d88bd9e9c85'
+            '55498f8b14e1b233b4052d516b880f4c27797eede46481135dcf76808e9f00f4ac4fdd0e2e2d7d478d335fb12b7137ca1bef0745e1c8b4195e025b81eec94d21')
 
 prepare() {
   cd deepin-anything-$pkgver
+  patch -p1 -i ../fix-include.patch
   sed -i 's|^systemd_service.path.*|systemd_service.path = /usr/lib/systemd/system|' server/src/src.pro
 }
 

Added: fix-include.patch
===================================================================
--- fix-include.patch	                        (rev 0)
+++ fix-include.patch	2018-08-12 05:51:52 UTC (rev 371211)
@@ -0,0 +1,12 @@
+diff --git a/library/src/walkdir.c b/library/src/walkdir.c
+index ffd78df..8319fc0 100644
+--- a/library/src/walkdir.c
++++ b/library/src/walkdir.c
+@@ -6,6 +6,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <dirent.h>
+ #include <limits.h>
+ 



More information about the arch-commits mailing list