Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
lincity
lincity-gcc5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lincity-gcc5.patch of Package lincity
diff -Nur lincity-1.12.1/mouse.c new/mouse.c --- lincity-1.12.1/mouse.c 2003-10-05 07:53:32.000000000 +0200 +++ new/mouse.c 2016-08-29 14:49:40.332860157 +0200 @@ -1056,7 +1056,7 @@ and set to 1 if the existing transport if the more expensive sort (e.g. GROUP_RAIL when overwriting GROUP_ROAD). */ -inline int +int mt_erase(int x, int y) { if (x < 0 || y < 0 || x >= WORLD_SIDE_LEN || y >= WORLD_SIDE_LEN) @@ -1093,7 +1093,7 @@ return 0; } -inline int +int mt_temp(int x, int y) { if (x < 0 || y < 0 || x >= WORLD_SIDE_LEN || y >= WORLD_SIDE_LEN) @@ -1127,7 +1127,7 @@ return 0; } -inline int +int mt_perm(int x, int y) { /* By now, it has already been mt_erase()'d */ diff -Nur lincity-1.12.0/pixmap.c lincity-1.12.0-new/pixmap.c --- lincity-1.12.0/pixmap.c 2003-12-19 04:17:50.000000000 +0100 +++ lincity-1.12.0-new/pixmap.c 2015-12-28 00:40:25.131652306 +0100 @@ -390,7 +390,7 @@ likes it in the file. Still need to fix this in autoconf, but for now this will do. */ #if !defined (WIN32) -inline int +extern inline int pixmap_index (int x, int y) { return y*pixmap_width + x;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor