Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ab09158218a89e2d92e78230b31083b54791998f

commit ab09158218a89e2d92e78230b31083b54791998f
Author: Priyank <[EMAIL PROTECTED]>
Date:   Sun Mar 30 21:36:23 2008 +0530

bug-buddy-2.20.1-3-i686
* Rebuild with new heimdal-1.1
* Added a patch to fix compilation with gcc43

diff --git a/source/gnome/bug-buddy/FrugalBuild 
b/source/gnome/bug-buddy/FrugalBuild
index 5571755..948231d 100644
--- a/source/gnome/bug-buddy/FrugalBuild
+++ b/source/gnome/bug-buddy/FrugalBuild
@@ -1,12 +1,13 @@
-# Compiling time: 0.31 SBU
+# Compiling time: 0.19 SBU
# Maintainer: Christian Hamar alias krix <[EMAIL PROTECTED]>

pkgname=bug-buddy
pkgver=2.20.1
-pkgrel=2
+pkgrel=3
pkgdesc="A bug reporting tool for GNOME"
depends=('gnome-desktop>=2.20.0' 'gnome-menus>=2.20.0' 'rarian' 
'desktop-file-utils' \
-       'libsoup>=2.2.104-2' 'libgtop>=2.20.0' 
'evolution-data-server>=1.12.2-2' 'libelf')
+       'libsoup>=2.2.104-2' 'libgtop>=2.20.0' 
'evolution-data-server>=1.12.2-2' 'libelf' \
+       'heimdal>=1.1')
makedepends=('intltool' 'gnome-doc-utils>=0.12.0')
groups=('gnome' 'gnome-minimal')
archs=('i686' 'x86_64')
@@ -15,6 +16,8 @@ _F_gnome_scrollkeeper="y"
_F_gnome_desktop="y"
_F_gnome_iconcache="y"
Finclude gnome gnome-scriptlet
-sha1sums=('ef6f82b2444e3b72bd6ac4197086d9b1697ae928')
+source=([EMAIL PROTECTED] ${pkgname}-${pkgver}_gcc43.patch)
+sha1sums=('ef6f82b2444e3b72bd6ac4197086d9b1697ae928' \
+          '1961ee3700bb5938620ffcad1b1c2f0d361c85ef')

# optimization OK
diff --git a/source/gnome/bug-buddy/bug-buddy-2.20.1_gcc43.patch 
b/source/gnome/bug-buddy/bug-buddy-2.20.1_gcc43.patch
new file mode 100644
index 0000000..cdc278c
--- /dev/null
+++ b/source/gnome/bug-buddy/bug-buddy-2.20.1_gcc43.patch
@@ -0,0 +1,97 @@
+diff -Naur 
bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/exception_handler.cc 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/exception_handler.cc
+--- 
bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/exception_handler.cc  
   2007-09-29 03:10:27.000000000 +0530
++++ 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/exception_handler.cc
 2008-03-30 21:24:44.000000000 +0530
+@@ -36,6 +36,7 @@
+
+ #include <cassert>
+ #include <cstdlib>
++#include <climits>
+ #include <ctime>
+
+ #include "client/linux/handler/exception_handler.h"
+diff -Naur 
bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/linux_thread.cc 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/linux_thread.cc
+--- bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/linux_thread.cc  
2007-09-29 03:10:27.000000000 +0530
++++ 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/linux_thread.cc   
   2008-03-30 21:31:17.000000000 +0530
+@@ -41,6 +41,7 @@
+ #include <algorithm>
+ #include <cassert>
+ #include <cstdio>
++#include <cstring>
+ #include <cstdlib>
+ #include <functional>
+
+diff -Naur 
bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/minidump_generator.cc 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/minidump_generator.cc
+--- 
bug-buddy-2.20.1/google-breakpad/src/client/linux/handler/minidump_generator.cc 
   2007-09-29 03:10:27.000000000 +0530
++++ 
bug-buddy-2.20.1.new/google-breakpad/src/client/linux/handler/minidump_generator.cc
        2008-03-30 21:26:21.000000000 +0530
+@@ -39,6 +39,8 @@
+ #include <sys/wait.h>
+
+ #include <cstdlib>
++#include <cstring>
++#include <climits>
+ #include <ctime>
+
+ #include "common/linux/file_id.h"
+diff -Naur bug-buddy-2.20.1/google-breakpad/src/common/string_conversion.cc 
bug-buddy-2.20.1.new/google-breakpad/src/common/string_conversion.cc
+--- bug-buddy-2.20.1/google-breakpad/src/common/string_conversion.cc   
2007-09-29 03:10:27.000000000 +0530
++++ bug-buddy-2.20.1.new/google-breakpad/src/common/string_conversion.cc       
2008-03-30 21:29:19.000000000 +0530
+@@ -27,6 +27,7 @@
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
++#include <cstring>
+ #include "common/convert_UTF.h"
+ #include "processor/scoped_ptr.h"
+ #include "common/string_conversion.h"
+diff -Naur bug-buddy-2.20.1/google-breakpad/src/processor/minidump.cc 
bug-buddy-2.20.1.new/google-breakpad/src/processor/minidump.cc
+--- bug-buddy-2.20.1/google-breakpad/src/processor/minidump.cc 2007-09-29 
03:10:27.000000000 +0530
++++ bug-buddy-2.20.1.new/google-breakpad/src/processor/minidump.cc     
2008-03-30 20:55:56.000000000 +0530
+@@ -36,6 +36,7 @@
+
+ #include <fcntl.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include <unistd.h>
+ #ifdef _WIN32
+diff -Naur 
bug-buddy-2.20.1/google-breakpad/src/processor/minidump_stackwalk.cc 
bug-buddy-2.20.1.new/google-breakpad/src/processor/minidump_stackwalk.cc
+--- bug-buddy-2.20.1/google-breakpad/src/processor/minidump_stackwalk.cc       
2007-09-29 03:10:27.000000000 +0530
++++ bug-buddy-2.20.1.new/google-breakpad/src/processor/minidump_stackwalk.cc   
2008-03-30 21:20:01.000000000 +0530
+@@ -35,6 +35,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include <string>
++#include <string.h>
+ #include <vector>
+
+ #include "google_breakpad/processor/basic_source_line_resolver.h"
+diff -Naur 
bug-buddy-2.20.1/google-breakpad/src/processor/simple_symbol_supplier.cc 
bug-buddy-2.20.1.new/google-breakpad/src/processor/simple_symbol_supplier.cc
+--- bug-buddy-2.20.1/google-breakpad/src/processor/simple_symbol_supplier.cc   
2007-09-29 03:10:27.000000000 +0530
++++ 
bug-buddy-2.20.1.new/google-breakpad/src/processor/simple_symbol_supplier.cc    
   2008-03-30 21:13:57.000000000 +0530
+@@ -37,6 +37,8 @@
+ #include <sys/stat.h>
+
+ #include <cassert>
++#include <cctype>
++#include <algorithm>
+
+ #include "processor/simple_symbol_supplier.h"
+ #include "google_breakpad/processor/code_module.h"
+@@ -44,6 +46,8 @@
+ #include "processor/logging.h"
+ #include "processor/pathname_stripper.h"
+
++using namespace std;
++
+ namespace google_breakpad {
+
+ static bool file_exists(const string &file_name) {
+@@ -114,7 +118,7 @@
+   if (debug_file_name.size() > 4)
+     debug_file_extension = debug_file_name.substr(debug_file_name.size() - 4);
+   std::transform(debug_file_extension.begin(), debug_file_extension.end(),
+-                 debug_file_extension.begin(), tolower);
++                 debug_file_extension.begin(), (int(*)(int))tolower);
+   if (debug_file_extension == ".pdb") {
+     path.append(debug_file_name.substr(0, debug_file_name.size() - 4));
+   } else {
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to