diff options
author | revel | 2022-01-25 04:30:40 +0100 |
---|---|---|
committer | revel | 2022-01-25 04:30:40 +0100 |
commit | e1376b829365a7e87be6629cd1e731d3ab5f971d (patch) | |
tree | a1c2c52dbc062e963839cb013380e4ce0d1842ad | |
parent | a1357fa78c928e771e55cbd7f2cb79248f2c2d51 (diff) | |
download | aur-gopenvpn-git.tar.gz |
- fixes compilation error
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | compile.patch | 11 |
3 files changed, 20 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = gopenvpn-git pkgdesc = gopenvpn is a simple graphical front-end for OpenVPN, the open source VPN solution. pkgver = svn.migration.r12.gb4192eb - pkgrel = 7 + pkgrel = 8 url = http://gopenvpn.sourceforge.net/ arch = i686 arch = x86_64 @@ -15,8 +15,9 @@ pkgbase = gopenvpn-git optdepends = gnome-keyring: handle credentials source = gopenvpn-git::git://gopenvpn.git.sourceforge.net/gitroot/gopenvpn/gopenvpn.git source = config.patch + source = compile.patch sha256sums = SKIP sha256sums = 51ec862cbd94c156e247331b357d08da805aaf458e9935dad9198c8a45a31ebc + sha256sums = 72268df6992bc91b57acd9dcf12b49fbd5078cfefa5bee99145b4ff53d28097a pkgname = gopenvpn-git - @@ -2,7 +2,7 @@ pkgname=gopenvpn-git pkgver=svn.migration.r12.gb4192eb -pkgrel=7 +pkgrel=8 pkgdesc='gopenvpn is a simple graphical front-end for OpenVPN, the open source VPN solution.' arch=('i686' 'x86_64') url='http://gopenvpn.sourceforge.net/' @@ -11,9 +11,11 @@ depends=('libglade' 'libgnome-keyring' 'gtk2' 'openvpn') optdepends=('gnome-keyring: handle credentials') makedepends=('git' 'polkit') source=("$pkgname"::'git://gopenvpn.git.sourceforge.net/gitroot/gopenvpn/gopenvpn.git' - 'config.patch') + 'config.patch' + 'compile.patch') sha256sums=('SKIP' - '51ec862cbd94c156e247331b357d08da805aaf458e9935dad9198c8a45a31ebc') + '51ec862cbd94c156e247331b357d08da805aaf458e9935dad9198c8a45a31ebc' + '72268df6992bc91b57acd9dcf12b49fbd5078cfefa5bee99145b4ff53d28097a') pkgver() { cd "$pkgname" @@ -27,6 +29,7 @@ prepare() { sed -i "s/AM_GNU_GETTEXT_VERSION(\[0\.18\.1\])/AM_GNU_GETTEXT_VERSION([0.20])/g" configure.ac sed -i "s/\/usr\/sbin\/openvpn/\/usr\/bin\/openvpn/g" polkit/net.openvpn.gui.gopenvpn.policy patch -p1 -i ../config.patch + patch -p1 -i ../compile.patch } build() { diff --git a/compile.patch b/compile.patch new file mode 100644 index 000000000000..15aca11d6883 --- /dev/null +++ b/compile.patch @@ -0,0 +1,11 @@ +diff --color -ruN 1/src/gopenvpn.c 2/src/gopenvpn.c +--- 1/src/gopenvpn.c 2022-01-25 04:26:13.664424128 +0100 ++++ 2/src/gopenvpn.c 2022-01-25 04:25:57.275182667 +0100 +@@ -751,6 +751,7 @@ + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, ++ "%s", + text); + + g_free(text); |