[arch-commits] Commit in deepin-file-manager/trunk (PKGBUILD fix-include.diff)

Felix Yan felixonmars at archlinux.org
Mon Aug 6 18:58:08 UTC 2018


    Date: Monday, August 6, 2018 @ 18:58:07
  Author: felixonmars
Revision: 369868

upgpkg: deepin-file-manager 1:4.6.3-1

Added:
  deepin-file-manager/trunk/fix-include.diff
Modified:
  deepin-file-manager/trunk/PKGBUILD

------------------+
 PKGBUILD         |   12 +++++++++---
 fix-include.diff |   12 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-06 17:37:16 UTC (rev 369867)
+++ PKGBUILD	2018-08-06 18:58:07 UTC (rev 369868)
@@ -4,7 +4,7 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-file-manager
-pkgver=4.6.2
+pkgver=4.6.3
 pkgrel=1
 epoch=1
 pkgdesc='Deepin File Manager'
@@ -21,9 +21,15 @@
 provides=('deepin-desktop')
 conflicts=('deepin-desktop')
 replaces=('deepin-desktop')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-file-manager/archive/$pkgver.tar.gz")
-sha512sums=('9a54ae5bc4090f168182077554c51a1423ad5a74d924dfa7e27fb9c4485db9ceef16d888b8fe485e27831f2f59a64ef0d1d556691a9bb8d756ee372b254f73e4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/dde-file-manager/archive/$pkgver.tar.gz"
+        fix-include.diff)
+sha512sums=('4eda28ec46ab9942313b98669a4b84bad79676da1f38199348c76ea8b58ee851e4556748115818a4d9c8ac8ac6c2d3458aea841f237d23b351eb8522ac734b9e'
+            '42268ae64dd803884aa5573283ac500ebbc4628fd2ac1b10cf56286b64321fc05fce7a67f1e8883115ac2e7887143fe89e17e9a83e11ee3f06efad94b076659d')
 
+prepare() {
+  patch -d dde-file-manager-$pkgver -p1 -i ../fix-include.diff
+}
+
 build() {
   cd dde-file-manager-$pkgver
   qmake-qt5 PREFIX=/usr

Added: fix-include.diff
===================================================================
--- fix-include.diff	                        (rev 0)
+++ fix-include.diff	2018-08-06 18:58:07 UTC (rev 369868)
@@ -0,0 +1,12 @@
+diff --git a/dde-file-manager-lib/quick_search/dquicksearch.cpp b/dde-file-manager-lib/quick_search/dquicksearch.cpp
+index b4f1c70b..1a74c25a 100644
+--- a/dde-file-manager-lib/quick_search/dquicksearch.cpp
++++ b/dde-file-manager-lib/quick_search/dquicksearch.cpp
+@@ -24,6 +24,7 @@
+ #include <string>
+ #include <fstream>
+ #include <iomanip>
++#include <sys/sysmacros.h>
+ 
+ #include <zlib.h>
+ 



More information about the arch-commits mailing list