diff --git a/games/lincity/Makefile b/games/lincity/Makefile index 53dcd525f34..12481e79778 100644 --- a/games/lincity/Makefile +++ b/games/lincity/Makefile @@ -3,7 +3,7 @@ COMMENT= Rich city simulation game for X DISTNAME= lincity-1.13.1 CATEGORIES= games HOMEPAGE= http://lincity.sourceforge.net/ -REVISION= 1 +REVISION= 2 # GPLv2 only PERMIT_PACKAGE= Yes diff --git a/games/lincity/patches/patch-mouse_c b/games/lincity/patches/patch-mouse_c new file mode 100644 index 00000000000..201190f2d56 --- /dev/null +++ b/games/lincity/patches/patch-mouse_c @@ -0,0 +1,14 @@ +Drop pointless inline that leads to undefined symbol when built with clang 15. + +Index: mouse.c +--- mouse.c.orig ++++ mouse.c +@@ -1128,7 +1128,7 @@ mt_temp(int x, int y) + return 0; + } + +-inline int ++int + mt_perm(int x, int y) + { + /* By now, it has already been mt_erase()'d */