Mercurial > mxe-octave
view src/libf2c-1.patch @ 4449:1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
* src/of-actuarial.mk, src/of-communications.mk, src/of-control.mk, src/of-data-smoothing.mk,
src/of-database.mk, src/of-dataframe.mk, src/of-dicom.mk, src/of-financial.mk, src/of-fits.mk,
src/of-fl-core.mk, src/of-fuzzy-logic-toolkit.mk, src/of-ga.mk, src/of-general.mk, src/of-generate_html.mk,
src/of-geometry.mk, src/of-gsl.mk, src/of-image.mk, src/of-instrument-control.mk, src/of-interval.mk,
src/of-io.mk, src/of-linear-algebra.mk, src/of-lssa.mk, src/of-ltfat.mk, src/of-mapping.mk,
src/of-miscellaneous.mk, src/of-nan.mk, src/of-netcdf.mk, src/of-nurbs.mk, src/of-ocs.mk, src/of-octcdf.mk,
src/of-odepkg.mk, src/of-optim.mk, src/of-quaternion.mk, src/of-queueing.mk, src/of-signal.mk, src/of-sockets.mk,
src/of-sparsersb.mk, src/of-specfun.mk, src/of-splines.mk, src/of-statistics.mk, src/of-stk.mk,
src/of-strings.mk, src/of-struct.mk, src/of-tisean.mk, src/of-tsa.mk, src/of-video.mk, src/of-windows.mk,
src/of-zenity.mk, src/of-zeromq.mk: add $(PKG)_DEPS += $(OCTAVE_TARGET) if ENABLE_BINARY_PACKAGES = yes
author | John D |
---|---|
date | Mon, 14 Aug 2017 09:12:34 -0400 |
parents | 979decb2b36d |
children |
line wrap: on
line source
This file is part of MXE. See index.html for further information. diff -ur libf2c.orig/makefile.u libf2c/makefile.u --- libf2c.orig/makefile.u 2012-05-04 01:39:36.000000000 +1000 +++ libf2c/makefile.u 2012-05-04 01:45:30.000000000 +1000 @@ -20,7 +20,7 @@ # compile, then strip unnecessary symbols .c.o: $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c - ld -r -x -o $*.xxx $*.o + $(LD) -r -x -o $*.xxx $*.o mv $*.xxx $*.o ## Under Solaris (and other systems that do not understand ld -x), ## omit -x in the ld line above. @@ -72,8 +72,8 @@ all: f2c.h signal1.h sysdep1.h libf2c.a libf2c.a: $(OFILES) - ar r libf2c.a $? - -ranlib libf2c.a + $(AR) r libf2c.a $? + -$(RANLIB) libf2c.a ## Shared-library variant: the following rule works on Linux ## systems. Details are system-dependent. Under Linux, -fPIC @@ -123,7 +123,7 @@ install: libf2c.a cp libf2c.a $(LIBDIR) - -ranlib $(LIBDIR)/libf2c.a + -$(RANLIB) $(LIBDIR)/libf2c.a clean: rm -f libf2c.a *.o arith.h signal1.h sysdep1.h @@ -182,12 +182,6 @@ xwsne.o: lio.h xwsne.o: fmt.h -arith.h: arithchk.c - $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\ - $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm - ./a.out >arith.h - rm -f a.out arithchk.o - check: xsum Notice README abort_.c arithchk.c backspac.c c_abs.c c_cos.c \ c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c cabs.c close.c comptry.bat \ diff -urN tmp-libf2c.orig/arith.h tmp-libf2c/arith.h --- tmp-libf2c.orig/arith.h 1970-01-01 10:00:00.000000000 +1000 +++ tmp-libf2c/arith.h 2012-05-04 01:16:16.000000000 +1000 @@ -0,0 +1,5 @@ +#define IEEE_8087 +#define Arith_Kind_ASL 1 +#define Double_Align +#define QNaN0 0x0 +#define QNaN1 0xfff80000 +