diff options
author | arved <arved@FreeBSD.org> | 2004-08-16 23:18:19 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-16 23:18:19 +0800 |
commit | 985346b4280b148dc49ea6c973b6b03719be02ab (patch) | |
tree | 68641059f1c63d941a1db43cf50c89445562e915 /irc/ezbounce-devel/files | |
parent | 959312cdd0b4645f9cc1856ea1547c5484550a12 (diff) | |
download | freebsd-ports-gnome-985346b4280b148dc49ea6c973b6b03719be02ab.tar.gz freebsd-ports-gnome-985346b4280b148dc49ea6c973b6b03719be02ab.tar.zst freebsd-ports-gnome-985346b4280b148dc49ea6c973b6b03719be02ab.zip |
Respect CFLAGS,
Unbreak with gcc 3.4
Diffstat (limited to 'irc/ezbounce-devel/files')
-rw-r--r-- | irc/ezbounce-devel/files/patch-linkedlist.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/irc/ezbounce-devel/files/patch-linkedlist.h b/irc/ezbounce-devel/files/patch-linkedlist.h new file mode 100644 index 000000000000..be5f1a3a74e6 --- /dev/null +++ b/irc/ezbounce-devel/files/patch-linkedlist.h @@ -0,0 +1,20 @@ +--- lib/linkedlist.h.orig Mon Aug 16 16:53:58 2004 ++++ lib/linkedlist.h Mon Aug 16 17:08:25 2004 +@@ -89,7 +89,7 @@ + list_iterator(__list_core * x) : __list_iter(x) { } + T * next() { return (T *) __list_iter::next(); } + T * remove() { return (T *) __list_iter::remove(); } +- T * get(void) { return (T *) __list_iter::get(); } ++ //T * get(void) { return (T *) __list_iter::get(); } + T * set(int x) { return (T *) __list_iter::set(x); } + }; + +@@ -97,7 +97,7 @@ + { + public: + int add(T *x) { return __list_core::add((void *) x); } +- int add(int w, T * x) { return __list_core::insert(w, (void *) x); } ++ //int add(int w, T * x) { return __list_core::insert(w, (void *) x); } + T * get(int idx) { return (T *) __list_core::get(idx); } + T * remove(int idx) { return (T *) __list_core::remove(idx); } + bool remove(T * d) { return __list_core::remove(d); } |