aboutsummaryrefslogtreecommitdiff
path: root/devel/picprog/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-12 23:38:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-12 23:38:05 +0000
commit1f1df39bed9c160fe0be5153083bd9cfa31c91c6 (patch)
treeda2970afd3ff694d6c21efd9b918e7ba8337039f /devel/picprog/files
parent5a60261461b84b35fdb3a59370e2e55336494f86 (diff)
Notes
Diffstat (limited to 'devel/picprog/files')
-rw-r--r--devel/picprog/files/patch-Makefile15
-rw-r--r--devel/picprog/files/patch-hexfile.h15
-rw-r--r--devel/picprog/files/patch-picport.cc11
3 files changed, 7 insertions, 34 deletions
diff --git a/devel/picprog/files/patch-Makefile b/devel/picprog/files/patch-Makefile
index 29adc16ed361..d67cea131fd9 100644
--- a/devel/picprog/files/patch-Makefile
+++ b/devel/picprog/files/patch-Makefile
@@ -1,27 +1,26 @@
---- Makefile.orig Thu Feb 7 13:33:59 2002
-+++ Makefile Tue Apr 29 02:57:00 2003
+--- Makefile.orig Mon Jan 12 22:42:23 2004
++++ Makefile Mon Jan 12 22:44:01 2004
@@ -26,10 +26,6 @@
# Please use a reasonably recent GNU make.
-CXX=g++
-CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes
--LDFLAGS=
+-LDFLAGS=-g
-
OBJS=main.o picport.o hexfile.o program.o
PROG=picprog
-@@ -38,6 +34,9 @@
+@@ -37,6 +33,8 @@
+
$(PROG): $(OBJS)
$(CXX) $(LDFLAGS) $(OBJS) -o $@
-
+.cc.o:
+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $>
-+
+
dep:
$(CXX) -M $(CXXFLAGS) *.cc > .depend
-
-@@ -55,10 +54,3 @@
+@@ -55,10 +53,3 @@
install: all
install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/
install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/
diff --git a/devel/picprog/files/patch-hexfile.h b/devel/picprog/files/patch-hexfile.h
deleted file mode 100644
index 6a825944f086..000000000000
--- a/devel/picprog/files/patch-hexfile.h
+++ /dev/null
@@ -1,15 +0,0 @@
---- hexfile.h.orig Tue Nov 19 12:49:44 2002
-+++ hexfile.h Tue Nov 19 12:50:20 2002
-@@ -43,10 +43,11 @@
- #ifndef H_HEXFILE
- #define H_HEXFILE
-
--#include <fstream.h>
-+#include <fstream>
-
- #include "picport.h"
-
-+using namespace std;
- class hexfile {
- static const int size = 0x4000;
- short pgm [size];
diff --git a/devel/picprog/files/patch-picport.cc b/devel/picprog/files/patch-picport.cc
deleted file mode 100644
index 914ebda6a443..000000000000
--- a/devel/picprog/files/patch-picport.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- picport.cc.orig Tue Nov 19 12:52:11 2002
-+++ picport.cc Tue Nov 19 12:52:20 2002
-@@ -192,7 +192,7 @@
-
- // -1 == error, no programmer present
-
--int picport::command (enum commands comm, int data = 0)
-+int picport::command (enum commands comm, int data)
- {
- int tmp1, tmp2;
-