glpk-4.54-debundle-system-libs.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Remove suitesparse (camd,colamd) and zlib bundles
  2. bicatali - apr 2014
  3. --- configure.ac.orig 2014-04-05 14:18:56.045148287 -0700
  4. +++ configure.ac 2014-04-05 14:23:24.878803309 -0700
  5. @@ -59,6 +59,11 @@
  6. dnl Check for math library
  7. AC_CHECK_LIB([m], [exp])
  8. +AC_CHECK_LIB([amd], [amd_1])
  9. +AC_CHECK_LIB([colamd], [colamd])
  10. +AC_CHECK_HEADER([amd.h])
  11. +AC_CHECK_LIB([z], [gzopen])
  12. +
  13. dnl Check for <sys/time.h> header
  14. AC_CHECK_HEADER([sys/time.h],
  15. AC_DEFINE([HAVE_SYS_TIME_H], [1], [N/A]))
  16. --- src/Makefile.am.orig 2014-04-05 14:19:16.401273769 -0700
  17. +++ src/Makefile.am 2014-04-05 14:21:56.696259485 -0700
  18. @@ -6,15 +6,12 @@
  19. libglpk_la_CPPFLAGS = \
  20. -I$(srcdir) \
  21. --I$(srcdir)/amd \
  22. -I$(srcdir)/bflib \
  23. -I$(srcdir)/cglib \
  24. --I$(srcdir)/colamd \
  25. -I$(srcdir)/env \
  26. -I$(srcdir)/minisat \
  27. -I$(srcdir)/misc \
  28. --I$(srcdir)/proxy \
  29. --I$(srcdir)/zlib
  30. +-I$(srcdir)/proxy
  31. libglpk_la_LDFLAGS = \
  32. -version-info 37:1:1 \
  33. @@ -92,18 +89,6 @@
  34. glpssx02.c \
  35. glptsp.c \
  36. lux.c \
  37. -amd/amd_1.c \
  38. -amd/amd_2.c \
  39. -amd/amd_aat.c \
  40. -amd/amd_control.c \
  41. -amd/amd_defaults.c \
  42. -amd/amd_dump.c \
  43. -amd/amd_info.c \
  44. -amd/amd_order.c \
  45. -amd/amd_post_tree.c \
  46. -amd/amd_postorder.c \
  47. -amd/amd_preprocess.c \
  48. -amd/amd_valid.c \
  49. bflib/btf.c \
  50. bflib/btfint.c \
  51. bflib/fhv.c \
  52. @@ -117,7 +102,6 @@
  53. bflib/sva.c \
  54. cglib/cfg.c \
  55. cglib/cfg1.c \
  56. -colamd/colamd.c \
  57. env/alloc.c \
  58. env/dlsup.c \
  59. env/env.c \
  60. @@ -150,21 +134,6 @@
  61. misc/wclique.c \
  62. misc/wclique1.c \
  63. proxy/proxy.c \
  64. -proxy/proxy1.c \
  65. -zlib/adler32.c \
  66. -zlib/compress.c \
  67. -zlib/crc32.c \
  68. -zlib/deflate.c \
  69. -zlib/gzclose.c \
  70. -zlib/gzlib.c \
  71. -zlib/gzread.c \
  72. -zlib/gzwrite.c \
  73. -zlib/inffast.c \
  74. -zlib/inflate.c \
  75. -zlib/inftrees.c \
  76. -zlib/trees.c \
  77. -zlib/uncompr.c \
  78. -zlib/zio.c \
  79. -zlib/zutil.c
  80. +proxy/proxy1.c
  81. ## eof ##