summaryrefslogtreecommitdiff
path: root/cad/xcircuit
diff options
context:
space:
mode:
authorryoon <ryoon>2013-06-11 13:33:18 +0000
committerryoon <ryoon>2013-06-11 13:33:18 +0000
commitf4ac9e52f3046c797eaa8d473fcbdaa18d405b5f (patch)
treef5b2b8ac2e106273a2293b046c59eb052bb9863c /cad/xcircuit
parentc41a7b8251f95f37e99cf72c1ee34c1ec9bc0522 (diff)
downloadpkgsrc-f4ac9e52f3046c797eaa8d473fcbdaa18d405b5f.tar.gz
Remove obsolete patches.
Diffstat (limited to 'cad/xcircuit')
-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;