crawl: 0.24.1 -> 0.25.0
Thanks to @emilazy adding support for pkgconfig for SQLite upstream, we can drop that part of the patch. The rest is still needed.
This commit is contained in:
parent
6be09e27c9
commit
27373f56b4
@ -1,7 +1,7 @@
|
|||||||
diff -ru3 crawl-ref-0.23.2-src-old/crawl-ref/source/Makefile crawl-ref-0.23.2-src-new/crawl-ref/source/Makefile
|
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
|
||||||
--- crawl-ref-0.23.2-src-old/crawl-ref/source/Makefile 1970-01-01 03:00:01.000000000 +0300
|
--- a/crawl-ref/source/Makefile
|
||||||
+++ crawl-ref-0.23.2-src-new/crawl-ref/source/Makefile 2017-07-27 14:45:34.611221571 +0300
|
+++ b/crawl-ref/source/Makefile
|
||||||
@@ -224,9 +224,9 @@
|
@@ -248,9 +248,9 @@ ifeq ($(uname_S),Darwin)
|
||||||
STRIP := strip -x
|
STRIP := strip -x
|
||||||
NEED_APPKIT = YesPlease
|
NEED_APPKIT = YesPlease
|
||||||
LIBNCURSES_IS_UNICODE = Yes
|
LIBNCURSES_IS_UNICODE = Yes
|
||||||
@ -14,24 +14,9 @@ diff -ru3 crawl-ref-0.23.2-src-old/crawl-ref/source/Makefile crawl-ref-0.23.2-sr
|
|||||||
ifdef TILES
|
ifdef TILES
|
||||||
EXTRA_LIBS += -framework AppKit -framework AudioUnit -framework CoreAudio -framework ForceFeedback -framework Carbon -framework IOKit -framework OpenGL -framework AudioToolbox -framework CoreVideo contrib/install/$(ARCH)/lib/libSDL2main.a
|
EXTRA_LIBS += -framework AppKit -framework AudioUnit -framework CoreAudio -framework ForceFeedback -framework Carbon -framework IOKit -framework OpenGL -framework AudioToolbox -framework CoreVideo contrib/install/$(ARCH)/lib/libSDL2main.a
|
||||||
BUILD_FREETYPE = YesPlease
|
BUILD_FREETYPE = YesPlease
|
||||||
@@ -286,13 +286,7 @@
|
diff --git a/crawl-ref/source/util/find_font b/crawl-ref/source/util/find_font
|
||||||
LIBZ := contrib/install/$(ARCH)/lib/libz.a
|
--- a/crawl-ref/source/util/find_font
|
||||||
|
+++ b/crawl-ref/source/util/find_font
|
||||||
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.23.2-src-old/crawl-ref/source/util/find_font crawl-ref-0.23.2-src-new/crawl-ref/source/util/find_font
|
|
||||||
--- crawl-ref-0.23.2-src-old/crawl-ref/source/util/find_font 1970-01-01 03:00:01.000000000 +0300
|
|
||||||
+++ crawl-ref-0.23.2-src-new/crawl-ref/source/util/find_font 2017-07-27 14:44:29.784235540 +0300
|
|
||||||
@@ -1,6 +1,6 @@
|
@@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "crawl-${version}${lib.optionalString tileMode "-tiles"}";
|
name = "crawl-${version}${lib.optionalString tileMode "-tiles"}";
|
||||||
version = "0.24.1";
|
version = "0.25.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "crawl";
|
owner = "crawl";
|
||||||
repo = "crawl";
|
repo = "crawl";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1fiizkigmbrw0nb1l1m3syl2mw4a4r36l1y0n4z8z7slp79bsbv4";
|
sha256 = "0swcl8cxz64yw8dl9macz8ar1ccwrkwz89j7s1f60inb5jlxifqm";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Patch hard-coded paths and remove force library builds
|
# Patch hard-coded paths and remove force library builds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user