aboutsummaryrefslogtreecommitdiffstats
path: root/biology/seaview/files
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2003-05-22 13:59:32 +0800
committerhoek <hoek@FreeBSD.org>2003-05-22 13:59:32 +0800
commit7613e020901886960b21fea759acafbe222ee4d2 (patch)
tree8187051f09ac8991de68b5cc4093ee2a66e49620 /biology/seaview/files
parent66f9052ce829190d85ab1c8ae07219092601c72e (diff)
downloadfreebsd-ports-gnome-7613e020901886960b21fea759acafbe222ee4d2.tar.gz
freebsd-ports-gnome-7613e020901886960b21fea759acafbe222ee4d2.tar.zst
freebsd-ports-gnome-7613e020901886960b21fea759acafbe222ee4d2.zip
Upgrade to 2003.01.21. Appears to only add some more file export/print
options. Additional patches were necessary since the fltk port seems to have been upgraded and thus also broken this port (which would been already broken due to the checksum failure).
Diffstat (limited to 'biology/seaview/files')
-rw-r--r--biology/seaview/files/patch-aa27
-rw-r--r--biology/seaview/files/patch-chooser_plus.cxx20
-rw-r--r--biology/seaview/files/patch-old_file_chooser.cxx14
-rw-r--r--biology/seaview/files/patch-seaview.cxx14
4 files changed, 44 insertions, 31 deletions
diff --git a/biology/seaview/files/patch-aa b/biology/seaview/files/patch-aa
index fdca7da38e5f..b75dfb81157e 100644
--- a/biology/seaview/files/patch-aa
+++ b/biology/seaview/files/patch-aa
@@ -1,14 +1,15 @@
---- makefile.orig Wed Sep 25 23:58:15 2002
-+++ makefile Mon Nov 18 11:26:42 2002
-@@ -1,13 +1,15 @@
+
+$FreeBSD$
+
+--- makefile.orig Thu Nov 21 10:48:08 2002
++++ makefile Thu May 22 01:12:43 2003
+@@ -1,16 +1,16 @@
-FLTK = ../fltk-1.1.0
-+OPT = -O2
+-
+ OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o old_file_chooser.o
--OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o old_file_chooser.o
-+OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o
-
--CFLAGS = -c $(OPT) -I$(FLTK)
-+CFLAGS = -c $(OPT) -I$(PREFIX)/include
+-CFLAGS = -c $(OPT) -I$(FLTK) $(DEBUG)
++CFLAGS+= -I $(PREFIX)/include -L $(PREFIX)/lib
-CXX = CC
+CXX = g++
@@ -16,8 +17,12 @@
+all: seaview
seaview : $(OBJECTS)
-- $(CXX) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk -lX11 -lm
-+ $(CXX) -o $@ $(OBJECTS) -L$(PREFIX)/lib -lfltk -lX11 -lMesaGL -lXext -lm
+- $(CXX) $(DEBUG) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk -lX11 -lm
++ $(CXX) $(CFLAGS) -o $@ $(OBJECTS) -lfltk -lX11 -lMesaGL -lXext -lm
.SUFFIXES: .cxx .h .o
+
+ .cxx.o :
+- $(CXX) $(CFLAGS) $<
++ $(CXX) -c $(CFLAGS) $<
diff --git a/biology/seaview/files/patch-chooser_plus.cxx b/biology/seaview/files/patch-chooser_plus.cxx
deleted file mode 100644
index fe62a4edf2d6..000000000000
--- a/biology/seaview/files/patch-chooser_plus.cxx
+++ /dev/null
@@ -1,20 +0,0 @@
---- chooser_plus.cxx.orig Mon Nov 18 11:14:10 2002
-+++ chooser_plus.cxx Mon Nov 18 11:17:52 2002
-@@ -442,7 +442,7 @@
- strcmp(pat,f->browser.pattern))) {
- // if pattern is different, remove name but leave old directory:
- const char* p = f->input.value();
-- const char* q = fl_filename_name(p);
-+ const char* q = filename_name(p);
- f->input.value(p, q-p);
- }
- f->browser.pattern = pat;
-@@ -500,7 +500,7 @@
- strcmp(pat,f->browser.pattern))) {
- // if pattern is different, remove name but leave old directory:
- const char* p = f->input.value();
-- const char* q = fl_filename_name(p);
-+ const char* q = filename_name(p);
- f->input.value(p, q-p);
- }
- f->browser.pattern = pat;
diff --git a/biology/seaview/files/patch-old_file_chooser.cxx b/biology/seaview/files/patch-old_file_chooser.cxx
new file mode 100644
index 000000000000..1ea674915abd
--- /dev/null
+++ b/biology/seaview/files/patch-old_file_chooser.cxx
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- old_file_chooser.cxx.orig Thu May 22 01:14:52 2003
++++ old_file_chooser.cxx Thu May 22 01:14:57 2003
+@@ -23,7 +23,7 @@
+ // Please report all bugs and problems to "fltk-bugs@fltk.org".
+ //
+
+-#include <config.h>
++//#include <config.h>
+
+ #include <FL/Fl.H>
+ #include <FL/Fl_Window.H>
diff --git a/biology/seaview/files/patch-seaview.cxx b/biology/seaview/files/patch-seaview.cxx
new file mode 100644
index 000000000000..29588b08349c
--- /dev/null
+++ b/biology/seaview/files/patch-seaview.cxx
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- seaview.cxx.orig Thu May 22 01:45:14 2003
++++ seaview.cxx Thu May 22 01:37:25 2003
+@@ -164,6 +164,8 @@
+ "seaview.hlp",
+ #elif defined(__APPLE__)
+ NULL,
++#elif defined(DEFAULT_HELPFILE)
++ __XSTRING(DEFAULT_HELPFILE),
+ #else
+ "seaview.help",
+ #endif