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

commit bfdb8a85bdf714dff2ee12e8dd1a3992b3576bb0
Author: James Buren <r...@frugalware.org>
Date:   Sat May 15 19:21:58 2010 -0500

fme-1.1.2-3-i686
* add gcc patch

diff --git a/source/xapps-extra/fme/FrugalBuild 
b/source/xapps-extra/fme/FrugalBuild
index f6b337c..2a48e1c 100644
--- a/source/xapps-extra/fme/FrugalBuild
+++ b/source/xapps-extra/fme/FrugalBuild
@@ -8,8 +8,10 @@ pkgdesc="Fluxbox Menu Editor is a nice and useful menu editor 
for the Fluxbox WM
depends=('libglademm>=2.6.7-4' 'freetype2' 'libxau>=1.0.4' 'libxdmcp' 
'libstdc++' 'libxdamage' 'libxext' 'fluxbox')
_F_googlecode_dirname="fluxbox-menu-editor"
Finclude googlecode
+source=(${sour...@]} $pkgname-1.1.2-gcc-4.5.patch)
groups=('xapps-extra')
archs=('i686' 'x86_64')
-sha1sums=('843213d1afe818f5f8fc82ed433f8cd0cf9072be')
+sha1sums=('843213d1afe818f5f8fc82ed433f8cd0cf9072be' \
+          '863e5313d1ac39dcace3402763ae3d11754cc3b0')

# optimization OK
diff --git a/source/xapps-extra/fme/fme-1.1.2-gcc-4.5.patch 
b/source/xapps-extra/fme/fme-1.1.2-gcc-4.5.patch
new file mode 100644
index 0000000..b37cc61
--- /dev/null
+++ b/source/xapps-extra/fme/fme-1.1.2-gcc-4.5.patch
@@ -0,0 +1,30 @@
+diff -aur fme-1.1.2/src/ui.cc fme-1.1.2-2/src/ui.cc
+--- fme-1.1.2/src/ui.cc        2008-07-27 09:33:08.000000000 -0500
++++ fme-1.1.2-2/src/ui.cc      2010-05-15 19:18:51.000000000 -0500
+@@ -886,7 +886,7 @@
+       unsigned i=1;
+       for ( 
Glib::Container_Helpers::ArrayHandleIterator<Glib::Container_Helpers::TypeTraits<Glib::ustring>
 > iter=dirs.begin(); iter!=dirs.end(); iter++ ) {
+               try {
+-                      Glib::Dir::Dir directory(*iter);
++                      Glib::Dir directory(*iter);
+ #else
+       boost::regex re("\\:");
+       boost::sregex_token_iterator dir(path.begin(), path.end(), re, -1);
+@@ -894,7 +894,7 @@
+
+       for ( unsigned i=1; dir!=end;) {
+               try {
+-                      Glib::Dir::Dir directory(*dir++);
++                      Glib::Dir directory(*dir++);
+ #endif /* GLIBMM_REGEX */
+                       for ( Glib::DirIterator iter=directory.begin(); 
iter!=directory.end(); iter++ ) {
+                               Gtk::TreeModel::Row rowCompletion = 
*(refCompletionModel->append());
+@@ -1259,7 +1259,7 @@
+
+       for ( std::vector<Glib::ustring>::iterator iterPath = 
preferences.getPathsIcons().begin(); 
iterPath!=preferences.getPathsIcons().end(); iterPath++ ) {
+               try {
+-                      Glib::Dir::Dir directory(*iterPath);
++                      Glib::Dir directory(*iterPath);
+                       for ( Glib::DirIterator iter=directory.begin(); 
iter!=directory.end(); iter++ ) {
+                               Glib::ustring icon_name = *iter;
+                               if ( 
icon_name.find(command_name)!=Glib::ustring::npos ) {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to