/[pkgs]/devel/MagicPoint/magicpoint-1.10a-fix-gcc34.patch
ViewVC logotype

Contents of /devel/MagicPoint/magicpoint-1.10a-fix-gcc34.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Sat Oct 21 14:39:38 2006 UTC (3 years, 1 month ago) by jwrdegoede
Branch: MAIN
CVS Tags: MagicPoint-1_11b-9_fc12, FC-6-split, F-7-split, F-12-split, MagicPoint-1_11b-4_fc8, MagicPoint-1_11b-6_fc9, MagicPoint-1_11b-10_fc12, F-10-split, MagicPoint-1_11b-4_fc7, MagicPoint-1_11b-7_fc10, MagicPoint-1_11b-5_fc9, F-11-split, F-8-split, F-9-split, MagicPoint-1_11b-8_fc11, HEAD
Changes since 1.2: +0 -0 lines
File MIME type: text/x-patch
* Sat Oct 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.11b-4
- Unorphan
- Take some patches from Debian
- Actually make ./configure detect and use freetype1, it was testing for it
  but the test failed
- Package mgp2html and mgp2latex from the contrib dir
1 diff -ruN magicpoint-1.10a.orig/contrib/xwintoppm/dsimple.c magicpoint-1.10a/contrib/xwintoppm/dsimple.c
2 --- magicpoint-1.10a.orig/contrib/xwintoppm/dsimple.c 2004-06-21 22:05:39.870925000 +0900
3 +++ magicpoint-1.10a/contrib/xwintoppm/dsimple.c 2004-06-21 22:05:32.567891488 +0900
4 @@ -35,6 +35,7 @@
5 #include <X11/Xutil.h>
6 #include <X11/cursorfont.h>
7 #include <stdio.h>
8 +#include <stdarg.h>
9 /*
10 * Other_stuff.h: Definitions of routines in other_stuff.
11 *
12 @@ -55,6 +56,7 @@
13 void blip();
14 Window Window_With_Name();
15 void Fatal_Error();
16 +void outl(char *msg, ...);
17
18 /*
19 * Just_display: A group of routines designed to make the writting of simple
20 @@ -496,12 +498,16 @@
21 */
22 /* VARARGS1 */
23 void
24 -outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6)
25 - char *msg;
26 - char *arg0, *arg1, *arg2, *arg3, *arg4, *arg5, *arg6;
27 +outl(char *msg, ...)
28 {
29 + va_list args;
30 +
31 fflush(stdout);
32 - fprintf(stderr, msg, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
33 +
34 + va_start(args, msg);
35 + vfprintf(stderr, msg, args);
36 + va_end(args);
37 +
38 fprintf(stderr, "\n");
39 fflush(stderr);
40 }
41 diff -ruN magicpoint-1.10a.orig/contrib/xwintoppm/xwintoppm.c magicpoint-1.10a/contrib/xwintoppm/xwintoppm.c
42 --- magicpoint-1.10a.orig/contrib/xwintoppm/xwintoppm.c 2004-06-21 22:05:39.871924000 +0900
43 +++ magicpoint-1.10a/contrib/xwintoppm/xwintoppm.c 2004-06-21 22:05:32.568891356 +0900
44 @@ -138,6 +138,7 @@
45
46 extern int (*_XErrorFunction)();
47 extern int _XDefaultError();
48 +void Window_Dump(Window window, FILE *out);
49
50 static long parse_long (s)
51 char *s;

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2