diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-11-22 22:27:29 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-11-22 22:27:29 +0000 |
commit | a28acc2928274d9611dcd26224698b08c1caf31b (patch) | |
tree | 15bca7999952e7e761849fe0586359115f00ee53 /devel/gcvs/files/patch-common_Persistent.h | |
parent | - Mark BROKEN on 7.0 again: bad plist (diff) |
- Fix build with gcc 4.2/AMD64
PR: 118027
Submitted by: Pietro Cerutti <gahr@gahr.ch>
Approved by: portmgr (pav,linimon)
Notes
Notes:
svn path=/head/; revision=202797
Diffstat (limited to 'devel/gcvs/files/patch-common_Persistent.h')
-rw-r--r-- | devel/gcvs/files/patch-common_Persistent.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/gcvs/files/patch-common_Persistent.h b/devel/gcvs/files/patch-common_Persistent.h new file mode 100644 index 000000000000..94c64e3bbe3c --- /dev/null +++ b/devel/gcvs/files/patch-common_Persistent.h @@ -0,0 +1,15 @@ +--- common/Persistent.h.orig 2007-11-13 22:33:34.000000000 +0100 ++++ common/Persistent.h 2007-11-13 22:33:49.000000000 +0100 +@@ -47,9 +47,9 @@ + CPersistent(const char *uniqueName, kClassPersistent pclass); + virtual ~CPersistent(); + +- virtual unsigned int SizeOf(void) const = 0L; +- virtual const void *GetData(void) const = 0L; +- virtual void SetData(const void *ptr, unsigned int size) = 0L; ++ virtual unsigned int SizeOf(void) const = 0; ++ virtual const void *GetData(void) const = 0; ++ virtual void SetData(const void *ptr, unsigned int size) = 0; + // virtual access + + static void SaveAll(void); |