]> git.pld-linux.org Git - packages/drawtool.git/blame - drawtool-build.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/drawtool.git] / drawtool-build.patch
CommitLineData
ac8cf50d
JB
1--- drawtool-3.2.2/src/drawtool.h.orig 1999-11-29 18:49:02.000000000 +0100
2+++ drawtool-3.2.2/src/drawtool.h 2004-03-28 18:57:16.551344128 +0200
3@@ -56,8 +56,8 @@
4 gint stdin_func (GtkWidget *widget, gint src, GdkInputCondition cond);
5
6 char *cmdline(int argc,char *argv[],int *xsize,int *ysize,int *xoff,int *yoff,int *show,int *showW,int *inFilename,int *outFilename,int *dieOnEOF);
7-//int min(int a,int b); // TURN ME INTO A MACRO!!!
8-//int max(int a,int b); // TURN ME INTO A MACRO!!!
9+#define max(a,b) ((a) > (b) ? (a) : (b))
10+#define min(a,b) ((a) < (b) ? (a) : (b))
11 void handle_buttons(GtkWidget *w,gpointer d);
12
13 gint expose_event (GtkWidget *widget, GdkEventExpose *event);
14--- drawtool-3.2.2/src/macromenu.c.orig 1999-06-30 23:57:39.000000000 +0200
15+++ drawtool-3.2.2/src/macromenu.c 2004-03-28 18:57:16.954282872 +0200
16@@ -7,9 +7,6 @@
17 #include <sys/dir.h>
18 #include "drawtool.h"
19
20-#define max(a,b) ((a) > (b) ? (a) : (b))
21-#define min(a,b) ((a) < (b) ? (a) : (b))
22-
23 extern int tag;
24 extern GtkWidget *darea;
25 static int mytag=-1;
This page took 0.029068 seconds and 4 git commands to generate.