Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / warsow / libpath.patch
blobad248710237950a7ef47830e8f42af67b5a5d073
1 diff -ru3 warsow_21_sdk_old/source/source/gameshared/q_arch.h warsow_21_sdk_new/source/source/gameshared/q_arch.h
2 --- warsow_21_sdk_old/source/source/gameshared/q_arch.h 2016-03-26 22:22:10.000000000 +0300
3 +++ warsow_21_sdk_new/source/source/gameshared/q_arch.h 2018-03-13 00:37:29.907019953 +0300
4 @@ -206,15 +206,15 @@
5 #endif
7 // FIXME: move these to CMakeLists.txt
8 -#define LIBZ_LIBNAME "libz.so.1|libz.so"
9 -#define LIBCURL_LIBNAME "libcurl.so.4|libcurl.so.3|libcurl.so"
10 -#define LIBPNG_LIBNAME "libpng16.so.16|libpng15.so.15|libpng14.so.14|libpng12.so.0|libpng.so"
11 -#define LIBJPEG_LIBNAME "libjpeg.so.8|libjpeg.so"
12 -#define LIBOGG_LIBNAME "libogg.so.0|libogg.so"
13 -#define LIBVORBIS_LIBNAME "libvorbis.so.0|libvorbis.so"
14 -#define LIBVORBISFILE_LIBNAME "libvorbisfile.so.3|libvorbisfile.so"
15 -#define LIBTHEORA_LIBNAME "libtheora.so.0|libtheora.so"
16 -#define LIBFREETYPE_LIBNAME "libfreetype.so.6|libfreetype.so"
17 +#define LIBZ_LIBNAME "@zlib@/lib/libz.so"
18 +#define LIBCURL_LIBNAME "@curl@/lib/libcurl.so"
19 +#define LIBPNG_LIBNAME "@libpng@/lib/libpng.so"
20 +#define LIBJPEG_LIBNAME "@libjpeg@/lib/libjpeg.so"
21 +#define LIBOGG_LIBNAME "@libogg@/lib/libogg.so"
22 +#define LIBVORBIS_LIBNAME "@libvorbis@/lib/libvorbis.so"
23 +#define LIBVORBISFILE_LIBNAME "@libvorbis@/lib/libvorbisfile.so"
24 +#define LIBTHEORA_LIBNAME "@libtheora@/lib/libtheora.so"
25 +#define LIBFREETYPE_LIBNAME "@freetype@/lib/libfreetype.so"
27 #if defined ( __FreeBSD__ )
28 #define BUILDSTRING "FreeBSD"