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.

56 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../util-linux/disable_cramfs_tools.diff
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2003 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. # --- SDE-COPYRIGHT-NOTE-END ---
  18. --- disk-utils/Makefile.orig 2004-12-21 18:14:16.000000000 +0100
  19. +++ disk-utils/Makefile 2005-04-07 13:32:34.007568352 +0200
  20. @@ -20,7 +20,7 @@
  21. ETC= fdprm
  22. -MAYBE= setfdprm raw fsck.cramfs mkfs.cramfs
  23. +MAYBE= setfdprm raw
  24. ifneq "$(HAVE_FDUTILS)" "yes"
  25. USRBIN:=$(USRBIN) setfdprm
  26. @@ -32,26 +32,12 @@
  27. MAN8:=$(MAN8) raw.8
  28. endif
  29. -ifeq "$(HAVE_ZLIB)" "yes"
  30. -SBIN:=$(SBIN) fsck.cramfs mkfs.cramfs
  31. -endif
  32. -
  33. ifeq "$(HAVE_UUID)" "yes"
  34. MKSWAP_LIBS=-luuid
  35. endif
  36. all: $(SBIN) $(USRBIN)
  37. -fsck.cramfs: fsck.cramfs.o
  38. - $(CC) $(LDFLAGS) -o fsck.cramfs fsck.cramfs.o -lz
  39. -
  40. -mkfs.cramfs: mkfs.cramfs.o $(LIB)/md5.o
  41. - $(CC) $(LDFLAGS) -o mkfs.cramfs mkfs.cramfs.o $(LIB)/md5.o -lz
  42. -
  43. -mkfs.cramfs.o: $(LIB)/md5.h
  44. -
  45. -fsck.cramfs.o mkfs.cramfs.o: cramfs.h
  46. -
  47. fsck.minix.o mkfs.minix.o: bitops.h minix.h
  48. mkswap: mkswap.o $(LIB)/xstrncpy.o