summaryrefslogtreecommitdiff
path: root/devel/picprog/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/picprog/files')
-rw-r--r--devel/picprog/files/patch-Makefile33
-rw-r--r--devel/picprog/files/patch-picport.cc11
2 files changed, 11 insertions, 33 deletions
diff --git a/devel/picprog/files/patch-Makefile b/devel/picprog/files/patch-Makefile
deleted file mode 100644
index d67cea131fd9..000000000000
--- a/devel/picprog/files/patch-Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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=-g
--
- OBJS=main.o picport.o hexfile.o program.o
- PROG=picprog
-
-@@ -37,6 +33,8 @@
-
- $(PROG): $(OBJS)
- $(CXX) $(LDFLAGS) $(OBJS) -o $@
-+.cc.o:
-+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $>
-
- dep:
- $(CXX) -M $(CXXFLAGS) *.cc > .depend
-@@ -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/
--
--#
--# include a dependency file if one exists
--#
--ifeq (.depend,$(wildcard .depend))
--include .depend
--endif
diff --git a/devel/picprog/files/patch-picport.cc b/devel/picprog/files/patch-picport.cc
new file mode 100644
index 000000000000..0b4f619e0294
--- /dev/null
+++ b/devel/picprog/files/patch-picport.cc
@@ -0,0 +1,11 @@
+--- picport.cc.orig Thu Apr 29 06:08:10 2004
++++ picport.cc Wed May 25 11:09:06 2005
+@@ -40,7 +40,7 @@
+ #include <unistd.h>
+ #include <termios.h>
+ #include <sysexits.h>
+-#include <string.h>
++#include <string>
+ #include <sched.h>
+
+ #include "picport.h"