]> git.pld-linux.org Git - packages/galib.git/commitdiff
- handle gcc >= 3
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 13 Mar 2005 20:53:00 +0000 (20:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't change vtable and abi to fix only gcc warnings.

Changed files:
    galib246_gcc4.patch -> 1.2

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 0.083093 seconds and 4 git commands to generate.