makedeb


netease-cloud-music-patched 1.2.1-8


Patched official Netease Cloud Music, re-ported from AUR

Click here to go back to the commit logs for netease-cloud-music-patched.

Commit:


Hash: 1beae84dd326b1b6de2b8438b7d0274d18c712b0

Message: fix memory leakage by abolishing LD_LIBRARY_PATH

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 250cfd3..1c8cf4c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = netease-cloud-music
 	pkgdesc = Netease Cloud Music, converted from .deb package
 	pkgver = 0.9.0_2
-	pkgrel = 3
+	pkgrel = 4
 	url = http://music.163.com/
 	arch = x86_64
 	license = custom
diff --git a/PKGBUILD b/PKGBUILD
index aad5e28..605f899 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Justin Wong <justin.w.xd at gmail dot com>
 pkgname=netease-cloud-music
 pkgver=0.9.0_2
-pkgrel=3
+pkgrel=4
 pkgdesc="Netease Cloud Music, converted from .deb package"
 arch=("x86_64")
 url="http://music.163.com/"
diff --git a/netease-cloud-music b/netease-cloud-music
index e9fd028..1a7d158 100755
--- a/netease-cloud-music
+++ b/netease-cloud-music
@@ -1,2 +1,3 @@
 #!/bin/sh
-LD_LIBRARY_PATH=/usr/lib/netease-cloud-music /usr/lib/netease-cloud-music/netease-cloud-music $*
+cd /usr/lib/netease-cloud-music
+/usr/lib/netease-cloud-music/netease-cloud-music $*