diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2020-09-24 10:37:54 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2020-09-24 10:37:54 +0000 |
commit | dde71668c44497c28698341dd578264ab5914ae8 (patch) | |
tree | 0d61900b11adfb4842fcc35c3872934b3d02c938 /games/jfsw/files/patch-jfbuild-kenbuild-bstub.c | |
parent | net/scamper: Update to 20200923 (diff) |
Update to 20200116
Notes
Notes:
svn path=/head/; revision=549915
Diffstat (limited to 'games/jfsw/files/patch-jfbuild-kenbuild-bstub.c')
-rw-r--r-- | games/jfsw/files/patch-jfbuild-kenbuild-bstub.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/games/jfsw/files/patch-jfbuild-kenbuild-bstub.c b/games/jfsw/files/patch-jfbuild-kenbuild-bstub.c new file mode 100644 index 000000000000..fba8d5860747 --- /dev/null +++ b/games/jfsw/files/patch-jfbuild-kenbuild-bstub.c @@ -0,0 +1,17 @@ +Rename PREFIX to DATADIR as its only purpose is to access data files +(and avoid conflict with FreeBSD PREFIX, which has another meaning) + +--- jfbuild/kenbuild/bstub.c.orig 2020-09-22 22:08:35 UTC ++++ jfbuild/kenbuild/bstub.c +@@ -73,9 +73,9 @@ int ExtInit(void) + getch(); + */ + +-#if defined(PREFIX) ++#if defined(DATADIR) + { +- const char *prefixdir = PREFIX; ++ const char *prefixdir = DATADIR; + if (prefixdir && prefixdir[0]) { + addsearchpath(prefixdir); + } |