summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-12-04 12:52:57 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-12-04 12:52:57 +0000
commit3adabe4209af9a3f5fbe2793858a49fcd9350882 (patch)
tree33d174306c59b0337089d749820566492b2b0d7a /dev-util/ddd/files
parentunmask x86 (diff)
downloadhistorical-3adabe4209af9a3f5fbe2793858a49fcd9350882.tar.gz
historical-3adabe4209af9a3f5fbe2793858a49fcd9350882.tar.bz2
historical-3adabe4209af9a3f5fbe2793858a49fcd9350882.zip
bug fix
Diffstat (limited to 'dev-util/ddd/files')
-rw-r--r--dev-util/ddd/files/ddd-3.3.1-detect-hipot.patch28
-rw-r--r--dev-util/ddd/files/ddd-3.3.1-link-libstdc++.patch11
-rw-r--r--dev-util/ddd/files/digest-ddd-3.3.1-r32
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/ddd/files/ddd-3.3.1-detect-hipot.patch b/dev-util/ddd/files/ddd-3.3.1-detect-hipot.patch
new file mode 100644
index 000000000000..28e9b9517f38
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.1-detect-hipot.patch
@@ -0,0 +1,28 @@
+--- ddd-3.3.1/ddd/configure.orig 2002-12-04 09:44:09.000000000 +0200
++++ ddd-3.3.1/ddd/configure 2002-12-04 10:45:04.000000000 +0200
+@@ -13282,13 +13282,14 @@
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+ #include <assert.h>
++#include <math.h>
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+-char $ac_func();
++/* char $ac_func(); */
+
+ int main() {
+
+@@ -13298,7 +13299,8 @@
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ choke me
+ #else
+-$ac_func();
++double x = 0, y =0;
++x = $ac_func(x, y);
+ #endif
+
+ ; return 0; }
diff --git a/dev-util/ddd/files/ddd-3.3.1-link-libstdc++.patch b/dev-util/ddd/files/ddd-3.3.1-link-libstdc++.patch
new file mode 100644
index 000000000000..075269af6523
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.1-link-libstdc++.patch
@@ -0,0 +1,11 @@
+--- ddd-3.3.1/ddd/Makefile.in.orig 2002-12-04 12:42:54.000000000 +0200
++++ ddd-3.3.1/ddd/Makefile.in 2002-12-04 12:43:18.000000000 +0200
+@@ -684,7 +684,7 @@
+ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ CXXLD = $(CXX)
+-CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
++CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) $(CXXLIBS) -o $@
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
diff --git a/dev-util/ddd/files/digest-ddd-3.3.1-r3 b/dev-util/ddd/files/digest-ddd-3.3.1-r3
new file mode 100644
index 000000000000..12b848a8cb9a
--- /dev/null
+++ b/dev-util/ddd/files/digest-ddd-3.3.1-r3
@@ -0,0 +1,2 @@
+MD5 38589618d7cd02a03d062bb116bbf1d2 ddd-3.3.1.tar.gz 5820713
+MD5 e74807d11ae6caaa2f3ef82791384ce0 ddd-3.3.1-html-manual.tar.gz 5129744