]> git.pld-linux.org Git - packages/icewm.git/commitdiff
- fixes compile errors
authorgrzegol <grzegol@pld-linux.org>
Fri, 15 Nov 2002 00:22:52 +0000 (00:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    icewm-compile-fixes.patch -> 1.1

icewm-compile-fixes.patch [new file with mode: 0644]

diff --git a/icewm-compile-fixes.patch b/icewm-compile-fixes.patch
new file mode 100644 (file)
index 0000000..6eabcbb
--- /dev/null
@@ -0,0 +1,26 @@
+diff -urN aaa/icewm-1.2.3pre1/src/aapm.cc icewm-1.2.3pre1/src/aapm.cc
+--- aaa/icewm-1.2.3pre1/src/aapm.cc    Sun Oct 20 16:04:55 2002
++++ icewm-1.2.3pre1/src/aapm.cc        Fri Nov 15 01:12:20 2002
+@@ -463,7 +463,7 @@
+     if (gradient) {
+         g.copyPixbuf(*gradient, this->x(), this->y(),
+-                     width((), height(), 0, 0));
++                     width(), height(), 0, 0);
+     }
+     else
+ #endif
+diff -urN aaa/icewm-1.2.3pre1/src/icesound.cc icewm-1.2.3pre1/src/icesound.cc
+--- aaa/icewm-1.2.3pre1/src/icesound.cc        Sun Oct 20 16:04:55 2002
++++ icewm-1.2.3pre1/src/icesound.cc    Fri Nov 15 01:13:20 2002
+@@ -82,6 +82,10 @@
+ #define OSS_DEFAULT_DEVICE "/dev/dsp"
+ #define YIFF_DEFAULT_SERVER "127.0.0.1:9433"
++#define THROW(Result) { rc = (Result); goto exceptionHandler; }
++#define TRY(Command) { if ((rc = (Command))) THROW(rc); }
++#define CATCH(Handler) { exceptionHandler: { Handler } return rc; }
++
+ /******************************************************************************
+  * IceSound application
+  ******************************************************************************/
This page took 0.157762 seconds and 4 git commands to generate.