diff options
author | dinoex <dinoex@FreeBSD.org> | 2006-10-08 02:41:09 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2006-10-08 02:41:09 +0800 |
commit | 8ac71371c7e7b9b0c19efe6d9156dc88dfe8a3e5 (patch) | |
tree | c59d7f3574e7a652ef8055d47be1929bd2aa66ce /mail | |
parent | e9de00b47c5d616caf7568b918372cd10dd1c16e (diff) | |
download | freebsd-ports-gnome-8ac71371c7e7b9b0c19efe6d9156dc88dfe8a3e5.tar.gz freebsd-ports-gnome-8ac71371c7e7b9b0c19efe6d9156dc88dfe8a3e5.tar.zst freebsd-ports-gnome-8ac71371c7e7b9b0c19efe6d9156dc88dfe8a3e5.zip |
- fix build for gcc41
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pathalias/files/patch-mem.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/pathalias/files/patch-mem.c b/mail/pathalias/files/patch-mem.c new file mode 100644 index 000000000000..7bfab9e2c864 --- /dev/null +++ b/mail/pathalias/files/patch-mem.c @@ -0,0 +1,22 @@ +--- mem.c.orig Wed Mar 3 22:11:23 1993 ++++ mem.c Sat Oct 7 20:16:25 2006 +@@ -19,6 +19,10 @@ + extern char *sbrk(); + #endif + ++#ifdef MYMALLOC ++STATIC void addtoheap(); ++#endif ++ + /* privates */ + STATIC void nomem(); + static link *Lcache; +@@ -105,8 +109,6 @@ + long size; + { + #ifdef MYMALLOC +- STATIC void addtoheap(); +- + addtoheap((char *) t, size * sizeof(node *)); + #else + free((char *) t); |