summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-11 13:33:18 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-11 13:33:18 +0000
commit4ba90740b2093c362acd28db9122f653ada25f70 (patch)
treef5b2b8ac2e106273a2293b046c59eb052bb9863c /cad
parentbdb62dcd62cbc0e90fce654823ea5c79983efa5e (diff)
downloadpkgsrc-4ba90740b2093c362acd28db9122f653ada25f70.tar.gz
Remove obsolete patches.
Diffstat (limited to 'cad')
-rw-r--r--cad/xcircuit/patches/patch-ac66
-rw-r--r--cad/xcircuit/patches/patch-libraries.c13
-rw-r--r--cad/xcircuit/patches/patch-undo.c22
3 files changed, 0 insertions, 101 deletions
diff --git a/cad/xcircuit/patches/patch-ac b/cad/xcircuit/patches/patch-ac
deleted file mode 100644
index 6f04bf9a27a..00000000000
--- a/cad/xcircuit/patches/patch-ac
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2006/11/12 14:25:50 dmcmahill Exp $
-
---- Makefile.in.orig 2006-06-14 09:15:38.000000000 +0100
-+++ Makefile.in 2006-09-01 01:55:36.000000000 +0100
-@@ -102,7 +102,7 @@
- AWK = @AWK@
- CC = @CC@
- CCDEPMODE = @CCDEPMODE@
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ @SHLIB_CFLAGS@
- CPP = @CPP@
- CPPFLAGS = @CPPFLAGS@
- CYGPATH_W = @CYGPATH_W@
-@@ -123,7 +123,7 @@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- INSTALL_TARGET = @INSTALL_TARGET@
--INTERP_PATH = @INTERP_PATH@
-+INTERP_PATH = tcl
- LD = @LD@
- LDDL_FLAGS = @LDDL_FLAGS@
- LDFLAGS = @LDFLAGS@
-@@ -155,7 +155,7 @@
- SHLIB_LD = @SHLIB_LD@
- SHLIB_LIB_SPECS = @SHLIB_LIB_SPECS@
- SPICE_EXEC = @SPICE_EXEC@
--STARTUP_FILE = @STARTUP_FILE@
-+STARTUP_FILE = ../startup.script
- STDLIBS = @STDLIBS@
- STRIP = @STRIP@
- SUBDIRS = @SUBDIRS@
-@@ -226,7 +226,7 @@
-
- # Directories for app-defaults file and manual page
- appdefaultsdir = $(datadir)/$(PACKAGE)-$(VERSION)/app-defaults
--appmandir = $(datadir)/$(PACKAGE)-$(VERSION)/man
-+appmandir = $(mandir)
- PATHNAMES = -DPROG_VERSION=$(VERSION) \
- -DPROG_REVISION=$(REVISION) \
- -DCAD_DIR=\"$(libdir)\" \
-@@ -640,14 +640,14 @@
- xcwrap.c -c -o xcwrap.o
-
- lib/tcl/xcircuit${SHDLIB_EXT}: xcwrap.o ${xcircuit_OBJECTS} ${xcircuit_DEPEND}
-- $(RM) lib/xcircuit${SHDLIB_EXT}
-+# $(RM) lib/xcircuit${SHDLIB_EXT}
- $(CC) ${CFLAGS} ${SHLIB_CFLAGS} -o $@ ${LDDL_FLAGS} xcwrap.o \
- ${xcircuit_OBJECTS} ${xcircuit_LDADD} ${LDFLAGS} \
- ${X_EXTRA_LIBS} ${EXTRA_LIBS} -lc ${LIBS} ${EXTRA_LIB_SPECS} \
- ${SHLIB_LIB_SPECS}
-
- xcircexec$(EXEEXT): xcircexec.o
-- $(RM) ./xcircexec$(EXEEXT)
-+# $(RM) ./xcircexec$(EXEEXT)
- $(CC) ${CFLAGS} ${CPPFLAGS} ${DEFS} $(PATHNAMES) $(INCLUDES) \
- xcircexec.c -o xcircexec$(EXEEXT) ${LDFLAGS} \
- ${LIBS} ${LIB_SPECS} ${EXTRA_LIB_SPECS}
-@@ -694,7 +694,7 @@
- $(mkinstalldirs) $(DESTDIR)$(appdefaultsdir)
- $(mkinstalldirs) $(DESTDIR)$(appmandir)
- $(INSTALL_DATA) lib/XCircuit.ad $(DESTDIR)$(appdefaultsdir)/XCircuit
-- $(INSTALL_DATA) lib/xcircuit.1 $(DESTDIR)$(appmandir)/xcircuit.1
-+ $(INSTALL_DATA) lib/xcircuit.1 $(DESTDIR)$(appmandir)/man1/xcircuit.1
- @echo "Installing library files"
- $(mkinstalldirs) $(DESTDIR)$(librarydir)
- ( cd lib ; for i in $(PROLOGUE_FILE) *.lps; do \
diff --git a/cad/xcircuit/patches/patch-libraries.c b/cad/xcircuit/patches/patch-libraries.c
deleted file mode 100644
index 27ccc979ef8..00000000000
--- a/cad/xcircuit/patches/patch-libraries.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libraries.c,v 1.1 2013/03/02 18:21:39 joerg Exp $
-
---- libraries.c.orig 2013-03-01 15:01:58.000000000 +0000
-+++ libraries.c
-@@ -189,7 +189,7 @@ short *pagetotals(int page, short mode)
- int i;
- short *counts, *icount, *result;
-
-- if (xobjs.pagelist[page]->pageinst == NULL) return;
-+ if (xobjs.pagelist[page]->pageinst == NULL) return NULL;
-
- counts = (short *)malloc(xobjs.pages * sizeof(short));
- icount = (short *)malloc(xobjs.pages * sizeof(short));
diff --git a/cad/xcircuit/patches/patch-undo.c b/cad/xcircuit/patches/patch-undo.c
deleted file mode 100644
index d9d9f22000b..00000000000
--- a/cad/xcircuit/patches/patch-undo.c
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-undo.c,v 1.1 2013/03/02 18:21:39 joerg Exp $
-
---- undo.c.orig 2013-03-01 15:02:52.000000000 +0000
-+++ undo.c
-@@ -532,7 +532,7 @@ short undo_one_action()
- thisrecord = xobjs.undostack;
- if (thisrecord == NULL) {
- Fprintf(stderr, "Nothing to undo!\n");
-- return;
-+ return -1;
- }
-
- xobjs.undostack = thisrecord->next;
-@@ -775,7 +775,7 @@ short redo_one_action()
- thisrecord = xobjs.redostack;
- if (thisrecord == NULL) {
- Fprintf(stderr, "Nothing to redo!\n");
-- return;
-+ return -1;
- }
- xobjs.undostack = thisrecord;
- xobjs.redostack = thisrecord->last;