Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
lincity
fix-implicit-declarations.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-implicit-declarations.patch of Package lincity
Description: Fix implicit declaration of function warnings This patch fixes the FTBFS bug. Also fixes a crash bug on 64-bits systems. Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Last-Update: 2016-05-05 Index: lincity-1.13.1/main.c =================================================================== --- lincity-1.13.1.orig/main.c +++ lincity-1.13.1/main.c @@ -41,6 +41,10 @@ #include <lcx11.h> #endif +#if !defined(WIN32) +#include <locale.h> +#endif + #include "lctypes.h" #include "lin-city.h" #include "cliglobs.h" Index: lincity-1.13.1/readpng.c =================================================================== --- lincity-1.13.1.orig/readpng.c +++ lincity-1.13.1/readpng.c @@ -3,6 +3,7 @@ * This file is part of lincity (see COPYRIGHT for copyright information). * ---------------------------------------------------------------------- */ #include <stdlib.h> +#include <string.h> #include "png.h" #include "malloc.h" #include "lin-city.h"
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