OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
3.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../lvm2/no_dynamic.diff
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- ./make.tmpl.in.orig 2006-07-07 19:57:41.000000000 +0000
  18. +++ ./make.tmpl.in 2006-07-07 19:58:24.000000000 +0000
  19. @@ -110,7 +110,7 @@
  20. SUBDIRS.clean := $(SUBDIRS:=.clean)
  21. SUBDIRS.distclean := $(SUBDIRS:=.distclean)
  22. -TARGETS += $(LIB_SHARED) $(LIB_STATIC)
  23. +TARGETS += $(LIB_STATIC)
  24. all: $(SUBDIRS) $(TARGETS)
  25. --- ./tools/Makefile.in.orig 2007-03-30 17:00:26.000000000 -0400
  26. +++ ./tools/Makefile.in 2007-05-17 19:56:45.000000000 -0400
  27. @@ -67,11 +67,10 @@
  28. vgsplit.c
  29. TARGETS =\
  30. - .commands \
  31. - lvm
  32. + .commands
  33. -INSTALL_TARGETS = install_tools_dynamic
  34. -INSTALL_CMDLIB_TARGETS = install_cmdlib_dynamic
  35. +INSTALL_TARGETS =
  36. +INSTALL_CMDLIB_TARGETS =
  37. ifeq ("@STATIC_LINK@", "yes")
  38. TARGETS += lvm.static
  39. @@ -87,7 +86,7 @@
  40. lvmcmdlib.o lvm-static.o
  41. ifeq ("@CMDLIB@", "yes")
  42. - TARGETS += liblvm2cmd.so
  43. + TARGETS += liblvm2cmd.a
  44. INSTALL_TARGETS += $(INSTALL_CMDLIB_TARGETS)
  45. endif
  46. --- ./tools/Makefile.in.orig 2007-07-18 20:11:11.000000000 -0400
  47. +++ ./tools/Makefile.in 2007-07-18 20:12:41.000000000 -0400
  48. @@ -105,7 +105,7 @@
  49. lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a
  50. $(CC) -o $@ $(CFLAGS) $(OBJECTS) lvm-static.o -static \
  51. - $(LDFLAGS) $(LVMLIBS) $(LIBS) -rdynamic
  52. + $(LDFLAGS) $(LVMLIBS) $(LIBS)
  53. liblvm2cmd.a: $(top_srcdir)/lib/liblvm.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
  54. cat $(top_srcdir)/lib/liblvm.a > $@
  55. --- ./configure.orig 2007-07-18 20:19:25.000000000 -0400
  56. +++ ./configure 2007-07-18 20:19:44.000000000 -0400
  57. @@ -1948,7 +1948,6 @@
  58. CLDWHOLEARCHIVE="-Wl,-whole-archive"
  59. CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
  60. LDDEPS="$LDDEPS .export.sym"
  61. - LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
  62. LIB_SUFFIX="so"
  63. DEVMAPPER=yes
  64. ODIRECT=yes
  65. --- ./configure.in.orig 2007-07-18 20:22:31.000000000 -0400
  66. +++ ./configure.in 2007-07-18 20:22:42.000000000 -0400
  67. @@ -37,7 +37,6 @@
  68. CLDWHOLEARCHIVE="-Wl,-whole-archive"
  69. CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
  70. LDDEPS="$LDDEPS .export.sym"
  71. - LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
  72. LIB_SUFFIX="so"
  73. DEVMAPPER=yes
  74. ODIRECT=yes
  75. --- ./tools/Makefile.in.orig 2007-10-11 16:19:43.000000000 -0400
  76. +++ ./tools/Makefile.in 2007-10-11 16:20:25.000000000 -0400
  77. @@ -170,7 +170,7 @@
  78. install_tools_static: lvm.static
  79. $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
  80. - $(staticdir)/lvm.static
  81. + $(staticdir)/lvm
  82. install: $(INSTALL_TARGETS)