summaryrefslogtreecommitdiff
path: root/palm/pilot_makedoc/files
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-05-30 20:07:46 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-05-30 20:07:46 +0000
commit3ee973c63bc80c07d7a21189640fc167ceb46856 (patch)
tree0e28e1f7b2aec664a31314e9650ee3103b1b88cc /palm/pilot_makedoc/files
parentImport of a quick'n'dirty interface to p5-Penguin (diff)
Import of a util to create PalPilot Doc format files from text files
Notes
Notes: svn path=/head/; revision=6646
Diffstat (limited to 'palm/pilot_makedoc/files')
-rw-r--r--palm/pilot_makedoc/files/Makefile12
-rw-r--r--palm/pilot_makedoc/files/patch-aa24
2 files changed, 36 insertions, 0 deletions
diff --git a/palm/pilot_makedoc/files/Makefile b/palm/pilot_makedoc/files/Makefile
new file mode 100644
index 000000000000..7d9285dfbe21
--- /dev/null
+++ b/palm/pilot_makedoc/files/Makefile
@@ -0,0 +1,12 @@
+#
+# $Id$
+#
+
+CC= g++
+CFLAGS= -O2
+
+pilot_makedoc: makedoc7.cpp
+ ${CC} -o pilot_makedoc makedoc7.cpp
+
+#
+# EOF
diff --git a/palm/pilot_makedoc/files/patch-aa b/palm/pilot_makedoc/files/patch-aa
new file mode 100644
index 000000000000..29dc5263848c
--- /dev/null
+++ b/palm/pilot_makedoc/files/patch-aa
@@ -0,0 +1,24 @@
+--- makedoc7.cpp.orig Sat May 10 20:05:27 1997
++++ makedoc7.cpp Sat May 10 20:05:53 1997
+@@ -31,11 +31,7 @@
+ // ver 0.7 change header and record0 to structs
+ // ver 0.7a minor mispellings and portability issues
+
+-#ifdef sparc
+-# ifndef UNIX
+-# define UNIX 1
+-# endif
+-#endif
++#define UNIX 1
+
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -588,7 +584,7 @@
+ printf("\n -n builds the .prc file without compression");
+ printf("\n -b option compresses/decompresses binary");
+ #if UNIX
+- printf("\n");
++ printf("\n\n");
+ #endif
+ exit(1);
+ }