Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=boost137.git;a=commitdiff;h=98ecf11ebc2b96755dce2147d9c25e8139fa837a

commit 98ecf11ebc2b96755dce2147d9c25e8139fa837a
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Dec 10 01:22:52 2008 +0100

pdfedit-0.4.1-2-i686

* rebuild with boost

diff --git a/source/xapps-extra/pdfedit/FrugalBuild 
b/source/xapps-extra/pdfedit/FrugalBuild
index e183f71..a1790e1 100644
--- a/source/xapps-extra/pdfedit/FrugalBuild
+++ b/source/xapps-extra/pdfedit/FrugalBuild
@@ -15,10 +15,13 @@ _F_desktop_name="PDFedit"
_F_desktop_icon="pdfedit.png"
_F_desktop_categories="Qt;GNOME;KDE;Utility"
options=('scriptlet')
-sha1sums=('5c3822da15f0c1c00e911fe7b29654032818aac1')
+source=($source gcc43.patch)
+sha1sums=('5c3822da15f0c1c00e911fe7b29654032818aac1' \
+          '32bffd1047a4c4ae989f07ee288eff3aea250bdf')

build()
{
+       Fpatchall
Fconf --with-boost-iostreams=mt
make || Fdie
make INSTALL_ROOT=$Fdestdir install
diff --git a/source/xapps-extra/pdfedit/gcc43.patch 
b/source/xapps-extra/pdfedit/gcc43.patch
new file mode 100644
index 0000000..7d0bdbc
--- /dev/null
+++ b/source/xapps-extra/pdfedit/gcc43.patch
@@ -0,0 +1,40 @@
+--- a/src/utils/confparser.h.orig      2008-02-22 01:42:09.000000000 -0700
++++ b/src/utils/confparser.h   2008-09-30 18:24:10.000000000 -0600
+@@ -25,6 +25,8 @@
+ #ifndef _CONFPARSER_H_
+ #define _CONFPARSER_H_
+
++#include <string.h>
++
+ #include<iostream>
+ #include<cstring>
+ #include<string>
+--- a/src/kernel/cpdf.cc
++++ b/src/kernel/cpdf.cc
+@@ -2347,7 +2347,7 @@ using namespace std;
+               instance->file = file;
+               kernelPrintDbg(debug::DBG_INFO, "Instance created successfully 
openMode=" << openMode);
+               return instance;
+-      }catch(exception &e)
++      }catch(std::exception &e)
+       {
+               kernelPrintDbg(DBG_CRIT, "Pdf instance creation failed. 
cause="<<e.what());
+               string what=string("CPdf open failed. reason=")+e.what();
+@@ -2631,7 +2631,7 @@ using namespace utils;
+               try
+               {
+                       minPos = getNodePosition(*this, newValue, 
&nodeCountCache);
+-              }catch(exception &e)
++              }catch(std::exception &e)
+               {
+                       // position can't be determined
+                       // no special handling is needed, minPos keeps its value
+@@ -2690,7 +2690,7 @@ using namespace utils;
+                               kernelPrintDbg(DBG_WARN, "page with original 
position="<<i->first<<" is ambiguous. Invalidating.");
+                               // page position is ambiguous and so it has to 
be invalidate
+                               i->second->invalidate();
+-                      }catch(exception & e)
++                      }catch(std::exception & e)
+                       {
+                               kernelPrintDbg(DBG_CRIT, "Unexpected error. 
cause="<<e.what());
+                               assert(!"Possibly bug.");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to