diff options
author | 2008-03-26 17:25:37 +0000 | |
---|---|---|
committer | 2008-03-26 17:25:37 +0000 | |
commit | d36c2302e02ac2713686468391cefba9bda09433 (patch) | |
tree | 964d1407fa2cdfd52abe5a593b0d2d47c1390050 /app-misc/endeavour/files | |
parent | amd64 stable wrt bug #214913 (diff) | |
download | historical-d36c2302e02ac2713686468391cefba9bda09433.tar.gz historical-d36c2302e02ac2713686468391cefba9bda09433.tar.bz2 historical-d36c2302e02ac2713686468391cefba9bda09433.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/endeavour/files')
-rw-r--r-- | app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch | 31 | ||||
-rw-r--r-- | app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch | 16 |
2 files changed, 0 insertions, 47 deletions
diff --git a/app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch b/app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch deleted file mode 100644 index 33a3e4594f4a..000000000000 --- a/app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch +++ /dev/null @@ -1,31 +0,0 @@ -Work around a gcc-3.3.x bug where redefining prototypes with different -__THROW / attribute(nonnull) markings throws an error: - -string.cpp:31: error: declaration of `char* strcasestr(const char*, const char*)' throws different exceptions -../include/string.h:46: error: than previous declaration `char* strcasestr(const char*, const char*) throw ()' - -basically we just use the glibc strcasestr() instead of the internal one. - -http://bugs.gentoo.org/show_bug.cgi?id=85780 - ---- endeavour2/string.cpp -+++ endeavour2/string.cpp -@@ -28,3 +28,5 @@ - #endif -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle); -+#endif - int strpfx(const char *s, const char *pfx); -@@ -217,3 +219,4 @@ - */ -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle) - { -@@ -274,6 +277,7 @@ - - return(NULL); - } -+#endif - - /* - * Checks if string pfx is a prefix of string s. diff --git a/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch b/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch deleted file mode 100644 index cf8557d968f7..000000000000 --- a/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur endeavour-2.4.6-orig/endeavour2/disk.cpp endeavour-2.4.6/endeavour2/disk.cpp ---- endeavour-2.4.6-orig/endeavour2/disk.cpp 2006-03-10 00:08:03.000000000 -0500 -+++ endeavour-2.4.6/endeavour2/disk.cpp 2006-03-10 00:12:37.000000000 -0500 -@@ -130,12 +130,7 @@ - if(path == NULL) - return(0); - -- // Dan S: typecast is due to const. --#if defined(__cplusplus) || defined(c_plusplus) -- while(ISBLANK(reinterpret_cast<char>(*path))) --#else - while(ISBLANK(*path)) --#endif - path++; - - return(*path == DIR_DELIMINATOR); |