Browse Source

fix building under FreeBSD

master
parent
commit
895b285ccf
  1. 14
      orbit/orbit.patch
  2. 2
      orbit/orbit.spec

14
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 <alloca.h>
+#endif
#endif
/* Define if you have the `basename' function. */

2
orbit/orbit.spec

@ -37,6 +37,7 @@ Release: 20020702
# list of sources # list of sources
Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/ORBit/ORBit-%{version}.tar.gz Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/ORBit/ORBit-%{version}.tar.gz
Patch0: orbit.patch
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
@ -52,6 +53,7 @@ AutoReqProv: no
%prep %prep
%setup -q -n ORBit-%{version} %setup -q -n ORBit-%{version}
%patch -p0
%build %build
PATH="%{l_prefix}/bin:$PATH"; export PATH PATH="%{l_prefix}/bin:$PATH"; export PATH

Loading…
Cancel
Save