lbreakout2-2.6.4-gentoo.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --- lbreakout2-2.6.1.orig/Makefile.am
  2. +++ lbreakout2-2.6.1/Makefile.am
  3. @@ -1,13 +1,8 @@
  4. SUBDIRS = intl m4 po common gui game server client docs
  5. EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \
  6. -README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \
  7. -lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive
  8. -
  9. -desktopdir = $(datadir)/applications
  10. -desktop_DATA = lbreakout2.desktop
  11. -icondir = $(datadir)/icons
  12. -icon_DATA = lbreakout48.gif
  13. +README-SDL.txt TODO lbreakout2.spec touchall \
  14. +win32_mancomp win32_preparchive
  15. WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \
  16. TODO lbreakout2.spec ABOUT-NLS
  17. --- lbreakout2-2.6.1.orig/common/gettext.h
  18. +++ lbreakout2-2.6.1/common/gettext.h
  19. @@ -24,6 +24,7 @@
  20. /* Get declarations of GNU message catalog functions. */
  21. # include <libintl.h>
  22. +# include <locale.h>
  23. #else
  24. --- lbreakout2-2.6.1.orig/configure.in
  25. +++ lbreakout2-2.6.1/configure.in
  26. @@ -80,8 +80,6 @@
  27. [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" )
  28. AC_SUBST(netdebug_flag)
  29. -dnl set localedir
  30. -localedir=$datadir/locale
  31. locdir_flag="-DLOCALEDIR=\\\"$localedir\\\""
  32. dnl installation&highscore path
  33. --- lbreakout2-2.6.1.orig/docs/Makefile.am
  34. +++ lbreakout2-2.6.1/docs/Makefile.am
  35. @@ -7,11 +7,11 @@
  36. warp.jpg screen.jpg
  37. install-data-local:
  38. - $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2
  39. + $(mkinstalldirs) $(DESTDIR)$(doc_dir)
  40. @for file in *.jpg; do\
  41. - $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\
  42. + $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\
  43. done
  44. - $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html
  45. + $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html
  46. win32-install-script:
  47. @for file in $(EXTRA_DIST); do \
  48. --- lbreakout2-2.6.1.orig/po/Makefile.in.in
  49. +++ lbreakout2-2.6.1/po/Makefile.in.in
  50. @@ -24,7 +24,7 @@
  51. exec_prefix = @exec_prefix@
  52. datadir = @datadir@
  53. datarootdir = @datarootdir@
  54. -localedir = $(datadir)/locale
  55. +localedir = @localedir@
  56. gettextsrcdir = $(datadir)/gettext/po
  57. INSTALL = @INSTALL@