public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: xbmc-9.04-gcc.patch
@ 2009-05-16 14:49 Mike Frysinger (vapier)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2009-05-16 14:49 UTC (permalink / raw
  To: gentoo-commits

vapier      09/05/16 14:49:14

  Added:                xbmc-9.04-gcc.patch
  Log:
  Version bump #269400 by Tim Bastiaenssens.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-tv/xbmc/files/xbmc-9.04-gcc.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch?rev=1.1&content-type=text/plain

Index: xbmc-9.04-gcc.patch
===================================================================
fix build error with gcc-4.4

--- xbmc/visualizations/XBMCProjectM/libprojectM/BuiltinParams.cpp
+++ xbmc/visualizations/XBMCProjectM/libprojectM/BuiltinParams.cpp
@@ -1,3 +1,4 @@
+#include <stdio.h>
 
 #include "fatal.h"
 #include "BuiltinParams.hpp"






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: xbmc-9.04-gcc.patch
@ 2009-07-20  6:51 Mike Frysinger (vapier)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2009-07-20  6:51 UTC (permalink / raw
  To: gentoo-commits

vapier      09/07/20 06:51:24

  Modified:             xbmc-9.04-gcc.patch
  Log:
  Update gcc-4.4 patch #277562 by Diego E. Pettenò.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  media-tv/xbmc/files/xbmc-9.04-gcc.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch?r1=1.1&r2=1.2

Index: xbmc-9.04-gcc.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/files/xbmc-9.04-gcc.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xbmc-9.04-gcc.patch	16 May 2009 14:49:14 -0000	1.1
+++ xbmc-9.04-gcc.patch	20 Jul 2009 06:51:24 -0000	1.2
@@ -7,3 +7,74 @@
  
  #include "fatal.h"
  #include "BuiltinParams.hpp"
+
+http://xbmc.org/trac/ticket/6627
+
+--- xbmc/cores/DllLoader/exports/exports_msvcrt.cpp
++++ xbmc/cores/DllLoader/exports/exports_msvcrt.cpp
+@@ -307,6 +307,14 @@
+ extern "C" void* track_fopen();
+ extern "C" void* track_freopen();
+ 
++#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 4)
++#define strchr __builtin_strchr
++#define strrchr __builtin_strrchr
++#define strpbrk __builtin_strpbrk
++#define strstr __builtin_strstr
++#define memchr __builtin_memchr
++#endif
++
+ Export export_msvcrt[] =
+ {
+   { "_close",                     -1, (void*)dll_close,                     (void*)track_close},
+
+--- tools/XBMCTex/XBMCTex.cpp
++++ tools/XBMCTex/XBMCTex.cpp
+@@ -659,7 +659,7 @@
+ 			valid = true;
+ #ifdef _LINUX
+       char *c = NULL;
+-      while ((c = strchr(OutputFilename, '\\')) != NULL) *c = '/';
++      while ((c = (char *)strchr(OutputFilename, '\\')) != NULL) *c = '/';
+ #endif
+ 		}
+     else if (!stricmp(args[i], "-noprotect") || !stricmp(args[i], "-p"))
+
+--- xbmc/cores/paplayer/MACDll/Source/MACLib/APELink.cpp
++++ xbmc/cores/paplayer/MACDll/Source/MACLib/APELink.cpp
+@@ -55,10 +55,10 @@
+     if (pData != NULL)
+     {
+         // parse out the information
+-        char * pHeader = strstr(pData, APE_LINK_HEADER);
+-        char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
+-        char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
+-        char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
++        const char * pHeader = strstr(pData, APE_LINK_HEADER);
++        const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
++        const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
++        const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
+ 
+         if (pHeader && pImageFile && pStartBlock && pFinishBlock)
+         {
+@@ -73,7 +73,7 @@
+                 
+                 // get the path
+                 char cImageFile[MAX_PATH + 1]; int nIndex = 0;
+-                char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
++                const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
+                 while ((*pImageCharacter != 0) && (*pImageCharacter != '\r') && (*pImageCharacter != '\n'))
+                     cImageFile[nIndex++] = *pImageCharacter++;
+                 cImageFile[nIndex] = 0;
+
+--- xbmc/lib/cximage-6.0/CxImage/DllInterface.cpp
++++ xbmc/lib/cximage-6.0/CxImage/DllInterface.cpp
+@@ -51,7 +51,7 @@
+ // helper functions
+ DWORD GetImageType(const char *file)
+ { // determines based on file extension the type of file
+-  char *ext = (char *)file + strlen(file) - 1;
++  const char *ext = file + strlen(file) - 1;
+   while (ext > file)
+   {
+     if (*ext == '.')






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: xbmc-9.04-gcc.patch
@ 2009-12-18 16:46 Mike Frysinger (vapier)
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2009-12-18 16:46 UTC (permalink / raw
  To: gentoo-commits

vapier      09/12/18 16:46:36

  Removed:              xbmc-9.04-gcc.patch
  Log:
  Punt older versions with random build problems.
  (Portage version: 2.2_rc55/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-18 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-16 14:49 [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: xbmc-9.04-gcc.patch Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2009-07-20  6:51 Mike Frysinger (vapier)
2009-12-18 16:46 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox