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.

59 lines
1.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../luafilesystem/no-compat-5.1.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -ruN luafilesystem-1.1-vanilla/Makefile luafilesystem-1.1/Makefile
  17. --- luafilesystem-1.1-vanilla/Makefile 2005-05-30 19:54:49.000000000 +0200
  18. +++ luafilesystem-1.1/Makefile 2006-03-13 23:53:31.000000000 +0100
  19. @@ -2,17 +2,14 @@
  20. T= lfs
  21. -include ./config
  22. -
  23. V= 1.1
  24. DIST_DIR= luafilesystem-$V
  25. TAR_FILE= $(DIST_DIR).tar.gz
  26. ZIP_FILE= $(DIST_DIR).zip
  27. LIBNAME= lib$T.$V.so
  28. -COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
  29. SRCS= src/$T.c
  30. -OBJS= src/$T.o $(COMPAT_O)
  31. +OBJS= src/$T.o
  32. lib: src/$(LIBNAME)
  33. @@ -20,9 +17,6 @@
  34. src/$(LIBNAME): $(OBJS)
  35. $(CC) $(CFLAGS) $(LIBS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS)
  36. -$(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c
  37. - $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
  38. -
  39. install: src/$(LIBNAME)
  40. mkdir -p $(LUA_LIBDIR)
  41. cp src/$(LIBNAME) $(LUA_LIBDIR)
  42. diff -ruN luafilesystem-1.1-vanilla/src/lfs.c luafilesystem-1.1/src/lfs.c
  43. --- luafilesystem-1.1-vanilla/src/lfs.c 2005-05-20 20:32:19.000000000 +0200
  44. +++ luafilesystem-1.1/src/lfs.c 2006-03-13 23:38:34.000000000 +0100
  45. @@ -35,7 +35,6 @@
  46. #include "lua.h"
  47. #include "lauxlib.h"
  48. #include "lualib.h"
  49. -#include "compat-5.1.h"
  50. #include "lfs.h"