freebsd-ports/games/quakeforge/files/patch-configure
Tijl Coosemans 290c0c4a2e - Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Stop trying to build libQFrenderer_sw as a shared library.  The library
  contains x86 asm that does not support PIC.  It looks like this asm can
  be disabled by adding -DPIC to the command line but doing so leads to
  build errors.
2014-09-11 11:06:02 +00:00

28 lines
554 B
Text

--- configure.orig Sun May 2 17:53:17 2004
+++ configure Fri Dec 29 17:54:22 2006
@@ -22733,7 +22733,7 @@
int
main ()
{
-void *(*foo)(size_t) = alloca;
+int *foo = alloca(sizeof(int));
;
return 0;
}
@@ -34649,16 +34649,6 @@
done
;;
default ) chmod +x RPM/build_rpm
- if test -n "$AR" -a "$AR" != "ar"; then
- sed -e 's/^AR="ar"$/AR="'$AR'"/' libtool > libtool.qf
- if cmp -s libtool.qf libtool; then
- echo libtool is unchanged
- rm -f libtool.qf
- else
- rm -f libtool
- mv libtool.qf libtool
- fi
- fi
;;
esac
done