From 895b285ccf6eea2c87085069f9f7b7c0a3c4819b Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Tue, 2 Jul 2002 17:39:34 +0000 Subject: [PATCH] fix building under FreeBSD --- orbit/orbit.patch | 14 ++++++++++++++ orbit/orbit.spec | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 orbit/orbit.patch 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