Date: Tuesday, June 30, 2020 @ 10:38:32
  Author: felixonmars
Revision: 657147

upgpkg: golang-deepin-lib 5.5.0.1-3: fix it properly

Modified:
  golang-deepin-lib/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-06-30 10:08:07 UTC (rev 657146)
+++ PKGBUILD    2020-06-30 10:38:32 UTC (rev 657147)
@@ -2,7 +2,7 @@
 
 pkgname=golang-deepin-lib
 pkgver=5.5.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A library containing many useful go routines for things such as glib, 
gettext, archive, graphic,etc.'
 arch=('any')
 url="https://github.com/linuxdeepin/go-lib";
@@ -20,7 +20,7 @@
 
 prepare() {
   cd go-lib-$pkgver
-  sed -i '/connect_timeout/d' pulse/dde-pulse.h
+  sed -i 's/int connect_timeout;/extern int connect_timeout;/' 
pulse/dde-pulse.h
 }
 
 check() {

Reply via email to