]> git.pld-linux.org Git - packages/galib.git/blobdiff - galib246_gcc4.patch
- handle gcc >= 3
[packages/galib.git] / galib246_gcc4.patch
index 63b274d6976e6235536b60028054a16ea1823321..27ea142041028b43ae678cdbde493ceed72f7d9f 100644 (file)
@@ -6,21 +6,10 @@ diff -urN galib246/ga/gaconfig.h galib246_patched/ga/gaconfig.h
  #define GALIB_USE_EMPTY_TEMPLATES
  #define GALIB_NEED_INSTANTIATION_PREFIX
 -#if __GNUC__ == 3
-+#if __GNUC__ == 4
++#if __GNUC__ >= 3
  #define GALIB_USE_ANSI_HEADERS
  #define GALIB_USE_STD_NAMESPACE
  #define GALIB_USE_COMP_OPERATOR_TEMPLATES
-diff -urN galib246/ga/gaid.h galib246_patched/ga/gaid.h
---- galib246/ga/gaid.h 1999-11-11 19:56:03.000000000 +0100
-+++ galib246_patched/ga/gaid.h 2005-03-13 16:29:05.000000000 +0100
-@@ -53,6 +53,7 @@
-   int sameClass(const GAID &b) const {return(classID() == b.classID());} 
-   virtual const char * className() const {return "no class";} 
-   virtual int classID() const {return 0;}
-+  virtual ~GAID(){};
- };
 diff -urN galib246/ga/makefile.sources galib246_patched/ga/makefile.sources
 --- galib246/ga/makefile.sources       2000-02-03 21:00:46.000000000 +0100
 +++ galib246_patched/ga/makefile.sources       2005-03-13 16:14:53.000000000 +0100
This page took 1.392537 seconds and 4 git commands to generate.