Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

firefox-gnome-keyring

View 27.patch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
diff -Naur a/GnomeKeyring.cpp b/GnomeKeyring.cpp
--- a/GnomeKeyring.cpp 2013-12-30 12:00:59.000000000 +0100
+++ b/GnomeKeyring.cpp 2014-03-25 13:49:10.721467356 +0100
@@ -37,6 +37,9 @@
*
* ***** END LICENSE BLOCK ***** */
 
+#define __PRUNICHAR__
+typedef char16_t PRUnichar;
+
#include "GnomeKeyring.h"
#include "nsMemory.h"
#include "nsILoginInfo.h"
@@ -614,8 +617,7 @@
return ret;
}
 
-NS_IMETHODIMP GnomeKeyring::InitWithFile(nsIFile *aInputFile,
- nsIFile *aOutputFile)
+NS_IMETHODIMP GnomeKeyring::InitWithFile(nsIFile *aInputFile)
{
// TODO
return Init();
diff -Naur a/xpcom_abi.cpp b/xpcom_abi.cpp
--- a/xpcom_abi.cpp 2013-12-30 12:00:59.000000000 +0100
+++ b/xpcom_abi.cpp 2014-03-25 13:47:39.831765249 +0100
@@ -1,3 +1,4 @@
+#define __PRUNICHAR__
#include <stdio.h>
#include <stdint.h>
View 27.patch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
pkgname='firefox-gnome-keyring'
pkgver=26.0
pkgrel=1
pkgdesc="Gnome-keyring integration for Firefox"
arch=('i686' 'x86_64')
url='http://github.com/lepokle/firefox-gnome-keyring'
license=('GPL')
depends=('firefox>=26.0' 'gnome-keyring')
makedepends=('zip' 'unzip' 'libgnome-keyring' 'xulrunner-current>=27.0')
provides=('firefox-gnome-keyring')
source=("${pkgname}-v${pkgver}-$pkgrel.tar.gz::$url/tarball/v$pkgver-$pkgrel"
"27.patch")
 
md5sums=('3ee9b05584f8909dd7a05f528b618549'
'0d48e79b64a95bae3e52baa61646e1c6')
 
_subdir="lepokle-firefox-gnome-keyring-64de0ee"
 
build()
{
cd ${srcdir}/${_subdir}
patch -p1 < ../../27.patch
msg "Building extension..."
make
}
 
package()
{
cd ${srcdir}
 
mkdir -p ${pkgdir}/usr/lib/firefox/browser/extensions
unzip ${srcdir}/${_subdir}/mozilla-gnome-keyring-*.xpi -d ${pkgdir}/usr/lib/firefox/browser/extensions/{6f9d85e0-794d-11dd-ad8b-0800200c9a66}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.