diff options
Diffstat (limited to 'lang/afnix/files')
-rw-r--r-- | lang/afnix/files/patch-cnf::mak::aleph-rule.mak | 31 | ||||
-rw-r--r-- | lang/afnix/files/patch-src::plt::lib::cclk.cxx | 22 | ||||
-rw-r--r-- | lang/afnix/files/patch-src::plt::lib::cdir.cxx | 10 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_lib_txt_lib_PrintTable.cpp | 41 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_std_lib_Finalize.cpp | 14 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_std_lib_HashTable.cpp | 32 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_std_lib_QuarkTable.cpp | 32 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_std_lib_Reactor.cpp | 23 | ||||
-rw-r--r-- | lang/afnix/files/patch-src_std_lib_Vector.cpp | 41 |
9 files changed, 0 insertions, 246 deletions
diff --git a/lang/afnix/files/patch-cnf::mak::aleph-rule.mak b/lang/afnix/files/patch-cnf::mak::aleph-rule.mak deleted file mode 100644 index ad62af26242a..000000000000 --- a/lang/afnix/files/patch-cnf::mak::aleph-rule.mak +++ /dev/null @@ -1,31 +0,0 @@ ---- cnf/mak/aleph-rule.mak.orig Thu Mar 8 14:59:08 2001 -+++ cnf/mak/aleph-rule.mak Sat Apr 14 05:43:10 2001 -@@ -62,8 +62,8 @@ - endif - - ifeq ($(LKMODE),soname) --SONAME = $(SOLIB).$(MAJOR).$(MINOR) --SOVERS = $(SOLIB).$(MAJOR).$(MINOR).$(PATCH) -+SONAME = $(SOLIB).$(MAJOR) -+SOVERS = $(SOLIB).$(MAJOR) - endif - - # ---------------------------------------------------------------------------- -@@ -124,17 +124,13 @@ - $(SOLIB) : $(SOVERS) - @$(MKDIR) $(BLDLIB) - @$(CP) $(SOVERS) $(BLDLIB) -- @$(RM) $(BLDLIB)/$(SOLIB) - @$(RM) $(BLDLIB)/$(SONAME) -- @$(LN) $(SOVERS) $(BLDLIB)/$(SONAME) - @$(LN) $(SONAME) $(BLDLIB)/$(SOLIB) - - install-solib : $(SOVERS) - @$(MKDIR) $(LIBDIR) - @$(CP) $(SOVERS) $(LIBDIR) -- @$(RM) $(LIBDIR)/$(SONAME) - @$(RM) $(LIBDIR)/$(SOLIB) -- @$(LN) $(SOVERS) $(LIBDIR)/$(SONAME) - @$(LN) $(SONAME) $(LIBDIR)/$(SOLIB) - .PHONY: install-solib - endif diff --git a/lang/afnix/files/patch-src::plt::lib::cclk.cxx b/lang/afnix/files/patch-src::plt::lib::cclk.cxx deleted file mode 100644 index e680e3173619..000000000000 --- a/lang/afnix/files/patch-src::plt::lib::cclk.cxx +++ /dev/null @@ -1,22 +0,0 @@ ---- src/plt/lib/cclk.cxx.orig Fri Nov 29 13:10:11 2002 -+++ src/plt/lib/cclk.cxx Fri Nov 29 13:15:05 2002 -@@ -53,7 +53,8 @@ - s_tinfo* c_getlocal (const long tclk) { - // extract time info - struct tm* tval; -- if ((tval = localtime (&tclk)) == NULL) return 0; -+ time_t t = tclk; -+ if (t != tclk || (tval = localtime (&t)) == NULL) return 0; - // fill in the data structure - s_tinfo* tinfo = new s_tinfo; - tinfo->d_secs = tval->tm_sec; -@@ -72,7 +73,8 @@ - s_tinfo* c_getutc (const long tclk) { - // extract time info - struct tm* tval; -- if ((tval = gmtime (&tclk)) == NULL) return 0; -+ time_t t = tclk; -+ if (t != tclk || (tval = gmtime (&t)) == NULL) return 0; - // fill in the data structure - s_tinfo* tinfo = new s_tinfo; - tinfo->d_secs = tval->tm_sec; diff --git a/lang/afnix/files/patch-src::plt::lib::cdir.cxx b/lang/afnix/files/patch-src::plt::lib::cdir.cxx deleted file mode 100644 index decc8b5ac5a8..000000000000 --- a/lang/afnix/files/patch-src::plt::lib::cdir.cxx +++ /dev/null @@ -1,10 +0,0 @@ ---- src/plt/lib/cdir.cxx.orig Tue Oct 7 16:39:01 2003 -+++ src/plt/lib/cdir.cxx Tue Oct 7 16:39:21 2003 -@@ -14,6 +14,7 @@ - // - copyright (c) 1999-2003 amaury darsch - - // --------------------------------------------------------------------------- - -+#include <stdio.h> - #include "cdir.hpp" - #include "cstr.hpp" - #include "cdir.hxx" diff --git a/lang/afnix/files/patch-src_lib_txt_lib_PrintTable.cpp b/lang/afnix/files/patch-src_lib_txt_lib_PrintTable.cpp deleted file mode 100644 index 7121f5292769..000000000000 --- a/lang/afnix/files/patch-src_lib_txt_lib_PrintTable.cpp +++ /dev/null @@ -1,41 +0,0 @@ - -$FreeBSD$ - ---- src/lib/txt/lib/PrintTable.cpp.orig Sun Aug 22 21:13:07 2004 -+++ src/lib/txt/lib/PrintTable.cpp Sun Aug 22 21:13:50 2004 -@@ -85,7 +85,7 @@ - d_cols = 1; - d_rows = 0; - // initialize the data table -- p_data = new (String*)[d_size]; -+ p_data = new String*[d_size]; - for (long i = 0; i < d_size; i++) p_data[i] = nilp; - // initialize the format size and column width - p_csiz = new long [d_cols]; -@@ -107,7 +107,7 @@ - d_cols = cols; - d_rows = 0; - // initialize the data table -- p_data = new (String*)[d_size]; -+ p_data = new String*[d_size]; - for (long i = 0; i < d_size; i++) p_data[i] = nilp; - // initialize the format size and column width - p_csiz = new long [d_cols]; -@@ -129,7 +129,7 @@ - d_cols = cols; - d_rows = 0; - // initialize the data table -- p_data = new (String*)[d_size]; -+ p_data = new String*[d_size]; - for (long i = 0; i < d_size; i++) p_data[i] = nilp; - // initialize the format size and column width - p_csiz = new long [d_cols]; -@@ -362,7 +362,7 @@ - return; - } - // create a new table -- String** data = new (String*) [size]; -+ String** data = new String* [size]; - for (long i = 0; i < d_rows; i++) data[i] = p_data[i]; - for (long i = d_rows; i < size; i++) data[i] = nilp; - // update table and remove old one diff --git a/lang/afnix/files/patch-src_std_lib_Finalize.cpp b/lang/afnix/files/patch-src_std_lib_Finalize.cpp deleted file mode 100644 index 77086392d4bd..000000000000 --- a/lang/afnix/files/patch-src_std_lib_Finalize.cpp +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- src/std/lib/Finalize.cpp.orig Sun Aug 22 21:06:42 2004 -+++ src/std/lib/Finalize.cpp Sun Aug 22 21:06:51 2004 -@@ -27,7 +27,7 @@ - d_size = FIFO_SIZE; - d_pos = FIFO_SIZE-1; - d_lock = false; -- p_fifo = new (Object*)[d_size]; -+ p_fifo = new Object*[d_size]; - for (long i = 0; i < d_size; i++) p_fifo[i] = nilp; - } - diff --git a/lang/afnix/files/patch-src_std_lib_HashTable.cpp b/lang/afnix/files/patch-src_std_lib_HashTable.cpp deleted file mode 100644 index deb2811cf641..000000000000 --- a/lang/afnix/files/patch-src_std_lib_HashTable.cpp +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- src/std/lib/HashTable.cpp.orig Sun Aug 22 21:07:04 2004 -+++ src/std/lib/HashTable.cpp Sun Aug 22 21:07:46 2004 -@@ -90,7 +90,7 @@ - d_size = c_prime (0); - d_thrs = (d_size * 7) / 10; - d_count = 0; -- p_table = new (s_bucket*)[d_size]; -+ p_table = new s_bucket*[d_size]; - - // initialize the table with null pointers - for (long i = 0; i < d_size; i++) -@@ -104,7 +104,7 @@ - d_size = c_prime (size); - d_thrs = (size * 7) / 10; - d_count = 0; -- p_table = new (s_bucket*)[d_size]; -+ p_table = new s_bucket*[d_size]; - - // initialize the table with null pointers - for (long i = 0; i < d_size; i++) -@@ -248,7 +248,7 @@ - if (size < d_size) return; - - // initialize the new table -- s_bucket** table = new (s_bucket*)[size]; -+ s_bucket** table = new s_bucket*[size]; - for (long i = 0; i < size; i++) table[i] = nilp; - - // rebuild the table diff --git a/lang/afnix/files/patch-src_std_lib_QuarkTable.cpp b/lang/afnix/files/patch-src_std_lib_QuarkTable.cpp deleted file mode 100644 index f97031cf3266..000000000000 --- a/lang/afnix/files/patch-src_std_lib_QuarkTable.cpp +++ /dev/null @@ -1,32 +0,0 @@ - -$FreeBSD$ - ---- src/std/lib/QuarkTable.cpp.orig Sun Aug 22 21:08:41 2004 -+++ src/std/lib/QuarkTable.cpp Sun Aug 22 21:09:12 2004 -@@ -86,7 +86,7 @@ - d_size = c_prime (0); - d_thrs = (d_size * 7) / 10; - d_count = 0; -- p_table = new (s_quanode*)[d_size]; -+ p_table = new s_quanode*[d_size]; - for (long i = 0; i < d_size; i++) p_table[i] = nilp; - } - -@@ -97,7 +97,7 @@ - d_size = c_prime (size); - d_thrs = (size * 7) / 10; - d_count = 0; -- p_table = new (s_quanode*)[d_size]; -+ p_table = new s_quanode*[d_size]; - for (long i = 0; i < d_size; i++) p_table[i] = nilp; - } - -@@ -251,7 +251,7 @@ - if (size < d_size) return; - - // initialize the new table -- s_quanode** table = new (s_quanode*)[size]; -+ s_quanode** table = new s_quanode*[size]; - for (long i = 0; i < size; i++) table[i] = nilp; - - // rebuild the table diff --git a/lang/afnix/files/patch-src_std_lib_Reactor.cpp b/lang/afnix/files/patch-src_std_lib_Reactor.cpp deleted file mode 100644 index d4ca10188ea3..000000000000 --- a/lang/afnix/files/patch-src_std_lib_Reactor.cpp +++ /dev/null @@ -1,23 +0,0 @@ - -$FreeBSD$ - ---- src/std/lib/Reactor.cpp.orig Sun Aug 22 21:09:53 2004 -+++ src/std/lib/Reactor.cpp Sun Aug 22 21:10:10 2004 -@@ -60,7 +60,7 @@ - d_size = c_prime (0); - d_thrs = (d_size * 7) / 10; - d_count = 0; -- p_table = new (s_qnode*)[d_size]; -+ p_table = new s_qnode*[d_size]; - for (long i = 0; i < d_size; i++) p_table[i] = nilp; - p_vector = new Strvec (d_size); - p_vector->add (""); -@@ -111,7 +111,7 @@ - // check for the size - if (size < d_size) return; - // initialize the table -- s_qnode** table = new (s_qnode*)[size]; -+ s_qnode** table = new s_qnode*[size]; - for (long i = 0; i < size; i++) table[i] = nilp; - // rebuild the table - for (long i = 0; i < d_size; i++) { diff --git a/lang/afnix/files/patch-src_std_lib_Vector.cpp b/lang/afnix/files/patch-src_std_lib_Vector.cpp deleted file mode 100644 index e8bf9859d942..000000000000 --- a/lang/afnix/files/patch-src_std_lib_Vector.cpp +++ /dev/null @@ -1,41 +0,0 @@ - -$FreeBSD$ - ---- src/std/lib/Vector.cpp.orig Sun Aug 22 21:10:59 2004 -+++ src/std/lib/Vector.cpp Sun Aug 22 21:11:43 2004 -@@ -56,7 +56,7 @@ - if (size < 0) throw Exception ("size-error","in vector constructor"); - d_size = size; - d_length = 0; -- p_vector = new (Object*)[d_size]; -+ p_vector = new Object*[d_size]; - for (long i = 0; i < d_size; i++) p_vector[i] = nilp; - } - -@@ -65,7 +65,7 @@ - Vector::Vector (const Vector& that) { - d_size = that.d_size; - d_length = that.d_length; -- p_vector = new (Object*)[d_size]; -+ p_vector = new Object*[d_size]; - for (long i = 0; i < d_length; i++) - p_vector[i] = Object::iref (that.p_vector[i]); - } -@@ -100,7 +100,7 @@ - // copy old to new - d_size = that.d_size; - d_length = that.d_length; -- p_vector = new (Object*)[d_size]; -+ p_vector = new Object*[d_size]; - for (long i = 0; i < d_length; i++) - p_vector[i] = Object::iref (that.p_vector[i]); - return *this; -@@ -170,7 +170,7 @@ - // check if we have to resize the vector - if (d_length >= d_size) { - long size = (d_size <= 0) ? 1 : d_size * 2; -- Object** vector = new (Object*)[size]; -+ Object** vector = new Object*[size]; - for (long i = 0; i < d_length; i++) - vector[i] = p_vector[i]; - delete [] p_vector; |