Khvalovsky / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

Build failure on openSUSE Build Service with 0.9.7 #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use OBS

What is the expected output? What do you see instead?

This is the output from the build checks which causes a halt to the build;

(using /usr/lib/build/checks-data/check_gcc_output)
(using //.build.log)

I: Program is using implicit definitions of special functions.
these functions need to use their correct prototypes to allow
the lightweight buffer overflow checking to work.
- Implicit memory/string functions need #include <string.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *read* functions need #include <unistd.h>.
- Implicit *recv* functions need #include <sys/socket.h>.
E: gecko-mediaplayer implicit-fortify-decl gm_file.c:66

What version of the product are you using? On what operating system?
0.9.7 openSUSE 11.1 32 and 64bit builds

Please provide any additional information below.

Patching the gm_file.c as follows allows build to continue.

--- src/libgmlib/gm_file.c  2009-06-08 12:11:18.000000000 -0500  
+++ src/libgmlib/gm_file.c.orig 2009-08-30 23:33:20.000000000 -0500  
@@ -24,6 +24,12 @@  

 #include "gm_file.h"  

+#include <string.h>  
+#include <stdio.h>  
+#include <stdio.h>  
+#include <unistd.h>  
+#include <sys/socket.h>  
+  
 gchar *gm_tempname(gchar * path, const gchar * name_template)  
 {  
     gchar *result;

Original issue reported on code.google.com by coyoteu...@gmail.com on 31 Aug 2009 at 3:15

GoogleCodeExporter commented 8 years ago
Patch committed upstream

Original comment by kdeko...@gmail.com on 31 Aug 2009 at 7:05