mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03:00
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
diff -ru3 crawl-ref-0.20.1-src-old/crawl-ref/source/Makefile crawl-ref-0.20.1-src-new/crawl-ref/source/Makefile
|
|
--- crawl-ref-0.20.1-src-old/crawl-ref/source/Makefile 1970-01-01 03:00:01.000000000 +0300
|
|
+++ crawl-ref-0.20.1-src-new/crawl-ref/source/Makefile 2017-07-27 14:45:34.611221571 +0300
|
|
@@ -286,13 +286,7 @@
|
|
LIBZ := contrib/install/$(ARCH)/lib/libz.a
|
|
|
|
ifndef CROSSHOST
|
|
- # FreeBSD keeps all of its userland includes in /usr/local so
|
|
- # look there
|
|
- ifeq ($(uname_S),FreeBSD)
|
|
- SQLITE_INCLUDE_DIR := /usr/local/include
|
|
- else
|
|
- SQLITE_INCLUDE_DIR := /usr/include
|
|
- endif
|
|
+ SQLITE_INCLUDE_DIR := ${sqlite}/include
|
|
else
|
|
# This is totally wrong, works only with some old-style setups, and
|
|
# on some architectures of Debian/new FHS multiarch -- excluding, for
|
|
diff -ru3 crawl-ref-0.20.1-src-old/crawl-ref/source/util/find_font crawl-ref-0.20.1-src-new/crawl-ref/source/util/find_font
|
|
--- crawl-ref-0.20.1-src-old/crawl-ref/source/util/find_font 1970-01-01 03:00:01.000000000 +0300
|
|
+++ crawl-ref-0.20.1-src-new/crawl-ref/source/util/find_font 2017-07-27 14:44:29.784235540 +0300
|
|
@@ -1,6 +1,6 @@
|
|
#! /bin/sh
|
|
|
|
-FONTDIRS="/usr/share/fonts /usr/local/share/fonts /usr/*/lib/X11/fonts"
|
|
+FONTDIRS="${fontsPath}/share/fonts"
|
|
|
|
name=$1
|
|
[ "$name" ] || { echo "Usage: $0 <fontname.ttf>" >&2; exit 100; }
|
|
@@ -11,6 +11,6 @@
|
|
for dir in $FONTDIRS; do
|
|
[ -d "$dir" ] && echo "$dir"
|
|
done
|
|
- } | xargs -I% find % \( -type f -o -type l \) -iname "$name" -print \
|
|
+ } | xargs -I% find -L % \( -type f -o -type l \) -iname "$name" -print \
|
|
| head -n1
|
|
} 2>/dev/null
|