mirror of the now-defunct rocklinux.org
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.

65 lines
3.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/rene/blender/compile.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  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. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. This works around some Makefile limitations I want not invest time in fixing
  20. correctly ...
  21. - Rene Rebe <rene@rocklinux.org>
  22. diff -ur blender-2.33-orig/source/Makefile blender-2.33/source/Makefile
  23. --- blender-2.33-orig/source/Makefile 2004-04-16 17:55:12.000000000 +0200
  24. +++ blender-2.33/source/Makefile 2004-05-13 13:24:46.189355464 +0200
  25. @@ -107,10 +107,10 @@
  26. COMLIB += $(OCGDIR)/gameengine/blconverter/$(DEBUG_DIR)libblconverter.a
  27. COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
  28. COMLIB += $(OCGDIR)/gameengine/ketsji/$(DEBUG_DIR)libketsji.a
  29. - COMLIB += $(NAN_SOLID)/lib/libsolid.a
  30. + COMLIB += $(SRCHOME)/../extern/solid/src/.libs/libsolid.a
  31. COMLIB += $(OCGDIR)/gameengine/blphys/sumo/$(DEBUG_DIR)libsumo.a
  32. COMLIB += $(OCGDIR)/gameengine/blphys/fuzzics/$(DEBUG_DIR)libfuzzics.a
  33. - COMLIB += $(NAN_QHULL)/lib/libqhull.a
  34. + COMLIB += $(SRCHOME)/../extern/qhull/src/libqhull.a
  35. COMLIB += $(OCGDIR)/gameengine/blphys/dummy/$(DEBUG_DIR)libdummy.a
  36. COMLIB += $(OCGDIR)/gameengine/blphys/common/$(DEBUG_DIR)libcommon.a
  37. # COMLIB += $(OCGDIR)/gameengine/blphys/sumo/$(DEBUG_DIR)libsumo.a
  38. @@ -316,11 +316,10 @@
  39. BINTARGETS += xplink
  40. BINTARGETS += blenderdynamic
  41. BINTARGETS += blenderplayer
  42. - BINTARGETS += blenderstatic
  43. endif
  44. ifeq ($(CPU),powerpc)
  45. BINTARGETS = blenderdynamic
  46. - BINTARGETS += blenderstatic
  47. + BINTARGETS += blenderplayer
  48. endif
  49. PYLIB = $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
  50. PYLIB += $(NAN_MXTEXTTOOLS)
  51. diff -ur blender-2.33-orig/source/nan_definitions.mk blender-2.33/source/nan_definitions.mk
  52. --- blender-2.33-orig/source/nan_definitions.mk 2004-05-01 20:07:58.000000000 +0200
  53. +++ blender-2.33/source/nan_definitions.mk 2004-05-13 13:20:58.566959328 +0200
  54. @@ -276,7 +276,7 @@
  55. export NAN_FREETYPE ?= /usr
  56. export NAN_GETTEXT ?= /usr
  57. export NAN_SDL ?= $(shell sdl-config --prefix)
  58. - export NAN_SDLLIBS ?= $(shell sdl-config --libs)
  59. + export NAN_SDLLIBS ?= $(shell sdl-config --libs) -lsmpeg
  60. export NAN_SDLCFLAGS ?= $(shell sdl-config --cflags)
  61. # Uncomment the following line to use Mozilla inplace of netscape