updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / bjfilter-2.5 / patch.diff
bloba8c993c77d64084e24206b36d53fafd4edde4e01
1 --- src/bjfilter.c
2 +++ src/bjfilter.org.c
3 @@ -91,7 +91,7 @@
5 #if DEBUGLOG
7 -#define DEBUGLOGFILE "/var/tmp/bjlogXXXXXX"
8 +#define DEBUGLOGFILE "/tmp/bjlogXXXXXX"
10 char log_path_name[256];
11 int log_fd;
12 @@ -1748,7 +1748,7 @@
13 int fd;
15 strncpy(log_path_name, DEBUGLOGFILE, sizeof(log_path_name));
16 - log_path_name[sizeof(log_path_name)-1] = '\0'
17 + log_path_name[sizeof(log_path_name)-1] = '\0';
18 fd = mkstemp(log_path_name);
19 if (fd < 0) return;
20 close(fd);
21 --- src/Makefile.in
22 +++ src/Makefile.org.in
23 @@ -261,27 +261,6 @@
24 || cp -p $$d/$$file $(distdir)/$$file || :; \
25 fi; \
26 done
27 -bjferror.o: bjferror.c bjferror.h
28 -bjfilter.o: bjfilter.c ../include/cncl/cncl.h ../include/cncl/cpktypes.h \
29 - ../include/cncl/cncldef.h ../include/cncl/cnclucom.h \
30 - ../include/cncl/cncludef.h bjfimage.h bjfoption.h bjfrcaccess.h \
31 - bjfpos.h bjipc.h bjfilter.h uitypes.h bjflist.h bjfpath.h \
32 - ../config.h
33 -bjfimage.o: bjfimage.c ../include/cncl/cpktypes.h ../include/cncl/cncl.h \
34 - ../include/cncl/cncldef.h bjfimage.h bjferror.h
35 -bjflist.o: bjflist.c bjflist.h
36 -bjfoption.o: bjfoption.c ../include/cncl/cncl.h \
37 - ../include/cncl/cpktypes.h ../include/cncl/cncldef.h \
38 - ../include/cncl/cnclucom.h ../include/cncl/cncludef.h \
39 - bjfoption.h bjfrcaccess.h uitypes.h bjipc.h \
40 - ../include/misc/psize.h bjfversion.h bjfpath.h ../config.h
41 -bjfpos.o: bjfpos.c ../include/cncl/cncl.h ../include/cncl/cpktypes.h \
42 - ../include/cncl/cncldef.h ../include/cncl/cnclucom.h \
43 - ../include/cncl/cncludef.h bjfoption.h bjfpos.h bjipc.h
44 -bjfrcaccess.o: bjfrcaccess.c bjfrcaccess.h bjfpath.h ../config.h
45 -getipc.o: getipc.c ../include/cncl/cnclucom.h bjipc.h \
46 - ../include/cncl/cncldef.h
48 info-am:
49 info: info-am
50 dvi-am:
51 --- configure
52 +++ configure.org
53 @@ -1322,6 +1322,16 @@
57 +cat >>confdefs.h <<\_ACEOF
58 +#define DEBUG 1
59 +_ACEOF
62 +cat >>confdefs.h <<\_ACEOF
63 +#define DEBUGLOG 1
64 +_ACEOF
67 # Check whether --enable-binpath or --disable-binpath was given.
68 if test "${enable_binpath+set}" = set; then
69 enableval="$enable_binpath"
70 --- configure.in
71 +++ configure.org.in
72 @@ -19,6 +19,8 @@
73 AC_SUBST(PIXMAIP1000)
74 AC_SUBST(PIXMAIP1500)
76 +AC_DEFINE(DEBUG, 1, "temp")
77 +AC_DEFINE(DEBUGLOG, 1, "temp")
79 AC_ARG_ENABLE(binpath)
80 if test "${enable_binpath}" = ""; then
81 --- config.h.in
82 +++ config.h.org.in
83 @@ -1,5 +1,11 @@
84 /* config.h.in. Generated from configure.in by autoheader. */
86 +/* "temp" */
87 +#undef DEBUG
89 +/* "temp" */
90 +#undef DEBUGLOG
92 /* Define to 1 if you have the <inttypes.h> header file. */
93 #undef HAVE_INTTYPES_H