[nethack] 27/31: Ensure correct path to x11tiles is compiled in

James Cowgill jcowgill-guest at moszumanska.debian.org
Mon Mar 7 17:54:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch master
in repository nethack.

commit 23f6b35640338e0f095dd3d527d314e364c64420
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Mon Mar 7 14:43:37 2016 +0000

    Ensure correct path to x11tiles is compiled in
---
 ...008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/patches/0008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch b/debian/patches/0008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch
index 280e097..05d5be5 100644
--- a/debian/patches/0008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch
+++ b/debian/patches/0008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch
@@ -9,7 +9,15 @@ Subject: Use /usr/share/pixmaps/nethack/ for pretty pictures.
 
 --- a/win/X11/winX.c
 +++ b/win/X11/winX.c
-@@ -976,19 +976,19 @@ static XtResource resources[] = {
+@@ -969,26 +969,26 @@ static XtResource resources[] = {
+       sizeof(Boolean), XtOffset(AppResources *, double_tile_size), XtRString,
+       nhStr("False") },
+     { nhStr("tile_file"), nhStr("Tile_file"), XtRString, sizeof(String),
+-      XtOffset(AppResources *, tile_file), XtRString, nhStr("x11tiles") },
++      XtOffset(AppResources *, tile_file), XtRString, nhStr(PIXMAPDIR "x11tiles") },
+     { nhStr("icon"), nhStr("Icon"), XtRString, sizeof(String),
+       XtOffset(AppResources *, icon), XtRString, nhStr("nh72") },
+     { nhStr("message_lines"), nhStr("Message_lines"), XtRInt, sizeof(int),
        XtOffset(AppResources *, message_lines), XtRString, nhStr("12") },
      { nhStr("pet_mark_bitmap"), nhStr("Pet_mark_bitmap"), XtRString,
        sizeof(String), XtOffset(AppResources *, pet_mark_bitmap), XtRString,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/nethack.git



More information about the Pkg-games-commits mailing list