0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
termux-packages/packages/libgts/src-Makefile-in.patch
Fredrik Fornwall 736a77c587 fix(main/libgts): Fix undefined symbols
Fix the following build error:

> ERROR: ./lib/libgts-0.7.so.5.0.1 contains undefined symbols:
>    32: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND atan2
>    64: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND sincos
>    67: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND cos
>    77: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND log
>    78: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND exp
2024-05-16 13:42:05 +02:00

13 lines
632 B
Diff

diff -u -r ../gts-0.7.6/src/Makefile.in ./src/Makefile.in
--- ../gts-0.7.6/src/Makefile.in 2006-03-10 00:31:05.000000000 +0000
+++ ./src/Makefile.in 2024-05-16 11:09:10.292099773 +0000
@@ -54,7 +54,7 @@
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(includedir)"
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
-libgts_la_LIBADD =
+libgts_la_LIBADD = -lm
am_libgts_la_OBJECTS = object.lo point.lo vertex.lo segment.lo edge.lo \
triangle.lo face.lo kdtree.lo bbtree.lo misc.lo predicates.lo \
heap.lo eheap.lo fifo.lo matrix.lo surface.lo stripe.lo \