diff --git a/orbit/orbit.patch b/orbit/orbit.patch new file mode 100644 index 0000000000..3db9462b48 --- /dev/null +++ b/orbit/orbit.patch @@ -0,0 +1,14 @@ +--- config.h.in.orig Tue Jul 2 19:30:48 2002 ++++ config.h.in Tue Jul 2 19:35:53 2002 +@@ -35,8 +35,10 @@ + + #undef ORBIT_HAVE_ALLOCA_H + +-#ifdef ORBIT_HAVE_ALLOCA_H ++#if defined(ORBIT_HAVE_ALLOCA_H) ++#if ORBIT_HAVE_ALLOCA_H != 0 + #include ++#endif + #endif + + /* Define if you have the `basename' function. */ diff --git a/orbit/orbit.spec b/orbit/orbit.spec index 9bf8d7ae4d..abf6d23b58 100644 --- a/orbit/orbit.spec +++ b/orbit/orbit.spec @@ -37,6 +37,7 @@ Release: 20020702 # list of sources Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/ORBit/ORBit-%{version}.tar.gz +Patch0: orbit.patch # build information Prefix: %{l_prefix} @@ -52,6 +53,7 @@ AutoReqProv: no %prep %setup -q -n ORBit-%{version} + %patch -p0 %build PATH="%{l_prefix}/bin:$PATH"; export PATH