[DRE-commits] [diaspora-installer] 01/02: work around sigar bug

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Mar 13 13:50:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch conffiles
in repository diaspora-installer.

commit 4cafa5427da35b27a6120c4592f4fad2f247e99c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Mar 13 18:30:37 2016 +0530

    work around sigar bug
---
 debian/changelog | 1 +
 debian/postinst  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 16d4700..9daa674 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ diaspora-installer (0.5.7.1+debian1) unstable; urgency=medium
 
   [ Pirate Praveen ]
   * Install 0.5.7.1 version
+  * Work around sigar bug (Closes: #818054)
 
   [ Cédric Boutillier ]
   * Run wrap-and-sort on packaging files
diff --git a/debian/postinst b/debian/postinst
index 5d00cf0..e06fba5 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -68,6 +68,8 @@ case "$1" in
 
                 install_gems
 
+		# https://github.com/hyperic/sigar/issues/60
+                su diaspora -s /bin/sh -c 'bundle config --local build.sigar \'--with-cppflags="-fgnu89-inline"\''
                 su diaspora -s /bin/sh -c 'bundle install'
                 su diaspora -s /bin/sh -c "sed -i s/Rails.application.config.secret_token/Diaspora::Application.config.secret_key_base/ ${diaspora_home}/config/initializers/secret_token.rb"
 		migrate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list