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