Updated the libsdl patches to get rid of the "dllexport" attribute directive ignored warning.

This commit is contained in:
Scott McCreary
2010-09-17 22:25:03 +00:00
parent c42e6d32cd
commit f9197faca6
2 changed files with 33 additions and 9 deletions

View File

@@ -1,6 +1,18 @@
diff -r 31b0f2e06e3c src/main/beos/SDL_BeApp.cc
--- libsdl-1.2-hg/src/main/beos/SDL_BeApp.cc Sun Apr 25 20:16:38 2010 -0400
+++ libsdl-1.2-hg-haiku/src/main/beos/SDL_BeApp.cc Sun Jun 06 08:55:47 2010 +0000
diff -r 5002d6aeb85c libsdl-1.2-hg/include/begin_code.h
--- libsdl-1.2-hg/include/begin_code.h Fri Jul 09 17:19:18 2010 +0200
+++ libsdl-1.2-hg-haiku/include/begin_code.h Fri Sep 17 14:58:26 2010 +0000
@@ -43,7 +43,7 @@
#ifndef DECLSPEC
# if defined(__BEOS__) || defined(__HAIKU__)
# if defined(__GNUC__)
-# define DECLSPEC __declspec(dllexport)
+# define DECLSPEC
# else
# define DECLSPEC __declspec(export)
# endif
diff -r 5002d6aeb85c libsdl-1.2-hg/src/main/beos/SDL_BeApp.cc
--- libsdl-1.2-hg/src/main/beos/SDL_BeApp.cc Fri Jul 09 17:19:18 2010 +0200
+++ libsdl-1.2-hg-haiku/src/main/beos/SDL_BeApp.cc Fri Sep 17 14:58:26 2010 +0000
@@ -39,13 +39,15 @@
static int StartBeApp(void *unused)
@@ -27,9 +39,9 @@ diff -r 31b0f2e06e3c src/main/beos/SDL_BeApp.cc
}
/* Quit the Be Application, if there's nothing left to do */
diff -r 31b0f2e06e3c src/video/bwindow/SDL_sysvideo.cc
--- libsdl-1.2-hg/src/video/bwindow/SDL_sysvideo.cc Sun Apr 25 20:16:38 2010 -0400
+++ libsdl-1.2-hg-haiku/src/video/bwindow/SDL_sysvideo.cc Sun Jun 06 08:55:47 2010 +0000
diff -r 5002d6aeb85c libsdl-1.2-hg/src/video/bwindow/SDL_sysvideo.cc
--- libsdl-1.2-hg/src/video/bwindow/SDL_sysvideo.cc Fri Jul 09 17:19:18 2010 +0200
+++ libsdl-1.2-hg-haiku/src/video/bwindow/SDL_sysvideo.cc Fri Sep 17 14:58:26 2010 +0000
@@ -57,7 +57,6 @@
static void BE_FreeHWSurface(_THIS, SDL_Surface *surface);
@@ -38,9 +50,9 @@ diff -r 31b0f2e06e3c src/video/bwindow/SDL_sysvideo.cc
/* OpenGL functions */
#if SDL_VIDEO_OPENGL
diff -r 31b0f2e06e3c src/video/bwindow/SDL_sysyuv.h
--- libsdl-1.2-hg/src/video/bwindow/SDL_sysyuv.h Sun Apr 25 20:16:38 2010 -0400
+++ libsdl-1.2-hg-haiku/src/video/bwindow/SDL_sysyuv.h Sun Jun 06 08:55:47 2010 +0000
diff -r 5002d6aeb85c libsdl-1.2-hg/src/video/bwindow/SDL_sysyuv.h
--- libsdl-1.2-hg/src/video/bwindow/SDL_sysyuv.h Fri Jul 09 17:19:18 2010 +0200
+++ libsdl-1.2-hg-haiku/src/video/bwindow/SDL_sysyuv.h Fri Sep 17 14:58:26 2010 +0000
@@ -62,7 +62,7 @@
};

View File

@@ -1,3 +1,15 @@
diff -r 5002d6aeb85c libsdl-1.2.14/nclude/begin_code.h
--- SDL-1.2.14/include/begin_code.h Fri Jul 09 17:19:18 2010 +0200
+++ SDL-1.2.14-haiku/include/begin_code.h Fri Sep 17 14:58:26 2010 +0000
@@ -43,7 +43,7 @@
#ifndef DECLSPEC
# if defined(__BEOS__) || defined(__HAIKU__)
# if defined(__GNUC__)
-# define DECLSPEC __declspec(dllexport)
+# define DECLSPEC
# else
# define DECLSPEC __declspec(export)
# endif
diff -r 31b0f2e06e3c src/main/beos/SDL_BeApp.cc
--- SDL-1.2.14/src/main/beos/SDL_BeApp.cc Sun Apr 25 20:16:38 2010 -0400
+++ SDL-1.2.14-haiku/src/main/beos/SDL_BeApp.cc Sun Jun 06 08:55:47 2010 +0000