aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ptoc/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-03-27 18:51:23 +0800
committertg <tg@FreeBSD.org>1998-03-27 18:51:23 +0800
commit272bbf588e60f0e80900a16d2f07b623cbf9ecd4 (patch)
tree03b8b3a345fe1b4c2a85a43b06b20b54333085d2 /lang/ptoc/files
parent49da2cd4983f0fd5cd60cc969d47e08e222f2dab (diff)
downloadfreebsd-ports-gnome-272bbf588e60f0e80900a16d2f07b623cbf9ecd4.tar.gz
freebsd-ports-gnome-272bbf588e60f0e80900a16d2f07b623cbf9ecd4.tar.zst
freebsd-ports-gnome-272bbf588e60f0e80900a16d2f07b623cbf9ecd4.zip
Import of ptoc port. ptoc is another Pascal to C translator. It comes
with an X implementation of the BGI. PR: 5270 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'lang/ptoc/files')
-rw-r--r--lang/ptoc/files/patch-aa22
-rw-r--r--lang/ptoc/files/patch-ab17
-rw-r--r--lang/ptoc/files/patch-ac11
3 files changed, 50 insertions, 0 deletions
diff --git a/lang/ptoc/files/patch-aa b/lang/ptoc/files/patch-aa
new file mode 100644
index 000000000000..70f7f0227596
--- /dev/null
+++ b/lang/ptoc/files/patch-aa
@@ -0,0 +1,22 @@
+--- makefile Tue Sep 2 08:49:02 1997
++++ /home/andy/tmp/wrk/makefile Wed Dec 10 11:26:08 1997
+@@ -18,8 +18,8 @@
+ # Chose compiler You prefere.
+ #
+
+-CC = gcc -O5 -g -Wall -c
+-CFLAGS =
++CC = gcc
++CFLAGS+= -c
+
+ DEFINES =
+ INCLUDES = -I.
+@@ -31,7 +31,7 @@
+ # Chose linker You prefere.
+ #
+
+-LD = gcc -static
++LD = gcc
+ #LD = cxx -non_shared
+ LDFLAGS =
+
diff --git a/lang/ptoc/files/patch-ab b/lang/ptoc/files/patch-ab
new file mode 100644
index 000000000000..b710a851fc96
--- /dev/null
+++ b/lang/ptoc/files/patch-ab
@@ -0,0 +1,17 @@
+--- Xbgi/makefile Thu Jun 26 14:43:30 1997
++++ /home/andy/tmp/wrk/Xbgi/makefile Mon Dec 8 17:01:03 1997
+@@ -44,12 +44,12 @@
+ LIB = ../libXbgi.a
+
+ CC = gcc
+-CCFLAGS = -O2 -g
++CFLAGS+= -I/usr/X11R6/include
+ AR = ar
+ ARFLAGS = rc
+
+ .c.o:
+- $(CC) $(CCFLAGS) -c $<
++ $(CC) $(CFLAGS) -c $<
+
+ ../libXbgi.a: $(OBJ)
+ $(AR) $(ARFLAGS) $(LIB) $(OBJ)
diff --git a/lang/ptoc/files/patch-ac b/lang/ptoc/files/patch-ac
new file mode 100644
index 000000000000..5c213037e784
--- /dev/null
+++ b/lang/ptoc/files/patch-ac
@@ -0,0 +1,11 @@
+--- main.h Tue Aug 26 21:16:28 1997
++++ /home/andy/tmp/wrk/main.h Mon Dec 8 17:58:12 1997
+@@ -31,7 +31,7 @@
+
+ #define CALL_GRAPH_FILE "call.grp"
+ #define RECURSIVE_PROC_FILE "recur.prc"
+-#define CONFIG_FILE "ptoc.cfg"
++#define CONFIG_FILE "/usr/local/etc/ptoc.cfg"
+
+ extern bool use_call_graph;
+ extern bool pio_init;