Mercurial > mxe-octave
annotate src/libf2c-1.patch @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 979decb2b36d |
children |
rev | line source |
---|---|
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
1 This file is part of MXE. |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
2 See index.html for further information. |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
3 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
4 diff -ur libf2c.orig/makefile.u libf2c/makefile.u |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
5 --- libf2c.orig/makefile.u 2012-05-04 01:39:36.000000000 +1000 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
6 +++ libf2c/makefile.u 2012-05-04 01:45:30.000000000 +1000 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
7 @@ -20,7 +20,7 @@ |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
8 # compile, then strip unnecessary symbols |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
9 .c.o: |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
10 $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
11 - ld -r -x -o $*.xxx $*.o |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
12 + $(LD) -r -x -o $*.xxx $*.o |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
13 mv $*.xxx $*.o |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
14 ## Under Solaris (and other systems that do not understand ld -x), |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
15 ## omit -x in the ld line above. |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
16 @@ -72,8 +72,8 @@ |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
17 all: f2c.h signal1.h sysdep1.h libf2c.a |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
18 |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
19 libf2c.a: $(OFILES) |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
20 - ar r libf2c.a $? |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
21 - -ranlib libf2c.a |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
22 + $(AR) r libf2c.a $? |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
23 + -$(RANLIB) libf2c.a |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
24 |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
25 ## Shared-library variant: the following rule works on Linux |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
26 ## systems. Details are system-dependent. Under Linux, -fPIC |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
27 @@ -123,7 +123,7 @@ |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
28 |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
29 install: libf2c.a |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
30 cp libf2c.a $(LIBDIR) |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
31 - -ranlib $(LIBDIR)/libf2c.a |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
32 + -$(RANLIB) $(LIBDIR)/libf2c.a |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
33 |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
34 clean: |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
35 rm -f libf2c.a *.o arith.h signal1.h sysdep1.h |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
36 @@ -182,12 +182,6 @@ |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
37 xwsne.o: lio.h |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
38 xwsne.o: fmt.h |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
39 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
40 -arith.h: arithchk.c |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
41 - $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\ |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
42 - $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
43 - ./a.out >arith.h |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
44 - rm -f a.out arithchk.o |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
45 - |
2497
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
46 check: |
3dfd08abb308
new packages: cminpack levmar libf2c
Alois Schlögl <alois.schloegl@gmail.com>
parents:
diff
changeset
|
47 xsum Notice README abort_.c arithchk.c backspac.c c_abs.c c_cos.c \ |
2498
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
48 c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c cabs.c close.c comptry.bat \ |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
49 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
50 diff -urN tmp-libf2c.orig/arith.h tmp-libf2c/arith.h |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
51 --- tmp-libf2c.orig/arith.h 1970-01-01 10:00:00.000000000 +1000 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
52 +++ tmp-libf2c/arith.h 2012-05-04 01:16:16.000000000 +1000 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
53 @@ -0,0 +1,5 @@ |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
54 +#define IEEE_8087 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
55 +#define Arith_Kind_ASL 1 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
56 +#define Double_Align |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
57 +#define QNaN0 0x0 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
58 +#define QNaN1 0xfff80000 |
979decb2b36d
package libf2c: remove runtime test and unnecessary makefile options
Tony Theodore <tonyt@logyst.com>
parents:
2497
diff
changeset
|
59 + |