diff options
Diffstat (limited to 'x11/fireflies/files/patch-src-main.cc')
-rw-r--r-- | x11/fireflies/files/patch-src-main.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/fireflies/files/patch-src-main.cc b/x11/fireflies/files/patch-src-main.cc new file mode 100644 index 000000000000..ac5a0404043b --- /dev/null +++ b/x11/fireflies/files/patch-src-main.cc @@ -0,0 +1,22 @@ +--- src/main.cc.orig Tue Jun 24 05:55:04 2003 ++++ src/main.cc Wed Feb 15 02:32:39 2006 +@@ -15,8 +15,10 @@ + #ifdef WIN32 + #include <windows.h> + #else ++#ifdef HAVE_ARGP_H + #include <argp.h> + #endif ++#endif + + CanvasBase *canvas; + Scene scene; +@@ -26,7 +28,7 @@ + int mspf = 1000/30; + bool full_screen = false; + +-#ifdef WIN32 ++#if defined(WIN32) || !defined (HAVE_ARGP_H) + // mingw doesn't have argp. implement half-assed version + + #define OPTION_HIDDEN 1 |