]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/came/came-1.7/compile.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / came / came-1.7 / compile.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- camE-1.7/webcam.c~compile
7 +++ camE-1.7/webcam.c
8 @@ -39,6 +39,13 @@
9  
10  #define VERSION "1.7"
11  
12 +#ifndef TRUE
13 +# define TRUE 1
14 +#endif
15 +#ifndef FALSE
16 +# define FALSE 0
17 +#endif
18 +
19  void log(char *fmt,
20           ...);
21  
22 --- camE-1.7/Makefile~compile
23 +++ camE-1.7/Makefile
24 @@ -5,6 +5,7 @@
25  exec_prefix=${prefix}
26  bindir=${exec_prefix}/bin
27  mandir=${prefix}/man
28 +docdir=${prefix}/doc/camE-1.7
29  
30  CC=gcc
31  CFLAGS=-O2 -g -Wall
32 @@ -34,6 +35,9 @@
33  install: all
34         $(INSTALL_DIR) $(DESTDIR)$(bindir)
35         $(INSTALL_PROGRAM) camE $(DESTDIR)$(bindir)
36 +       $(INSTALL_DIR) $(DESTDIR)$(docdir)
37 +       $(INSTALL_DATA) camE_text.style camE_title.style \
38 +                       example.camErc.ssh example.camErc $(DESTDIR)$(docdir)
39  
40  clean:
41         -rm -f $(OBJS) *.moc *~ core* *.bak TAGS camE