From 63d2921f4469c3bd329bc5a8fdf9c84ce7ed1d00 Mon Sep 17 00:00:00 2001 From: mezz Date: Sun, 29 Jul 2007 23:03:43 +0000 Subject: share/gnome/ -> share/. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9265 df743ca5-7f9a-e211-a948-0013205c9059 --- math/scigraphica/files/patch-ad | 10 ++++++++ math/scigraphica/files/patch-ag | 15 ++++++++++++ math/scigraphica/files/patch-ltmain.sh | 28 ++++++++++++++++++++++ math/scigraphica/files/patch-src::Makefile.in | 14 +++++++++++ math/scigraphica/files/patch-src::python::pstat.py | 13 ++++++++++ .../files/patch-src::python::python_config.c | 18 ++++++++++++++ 6 files changed, 98 insertions(+) create mode 100644 math/scigraphica/files/patch-ad create mode 100644 math/scigraphica/files/patch-ag create mode 100644 math/scigraphica/files/patch-ltmain.sh create mode 100644 math/scigraphica/files/patch-src::Makefile.in create mode 100644 math/scigraphica/files/patch-src::python::pstat.py create mode 100644 math/scigraphica/files/patch-src::python::python_config.c (limited to 'math/scigraphica/files') diff --git a/math/scigraphica/files/patch-ad b/math/scigraphica/files/patch-ad new file mode 100644 index 000000000..5565d24e2 --- /dev/null +++ b/math/scigraphica/files/patch-ad @@ -0,0 +1,10 @@ +--- zvt/subshell.c 2000/08/31 07:45:08 1.1 ++++ zvt/subshell.c 2000/08/31 07:46:53 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/math/scigraphica/files/patch-ag b/math/scigraphica/files/patch-ag new file mode 100644 index 000000000..efc43e10b --- /dev/null +++ b/math/scigraphica/files/patch-ag @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- sg.desktop.orig Fri Nov 24 21:46:09 2000 ++++ sg.desktop Wed Dec 5 12:40:32 2001 +@@ -1,7 +1,7 @@ + [Desktop Entry] + Name=SciGraphica + Comment=Data Plotting and Visualization +-Exec=sga +-Icon=sg_icon.xpm ++Exec=scigraphica ++Icon=scigraphica/sg_icon.xpm + Terminal=0 + Type=Application diff --git a/math/scigraphica/files/patch-ltmain.sh b/math/scigraphica/files/patch-ltmain.sh new file mode 100644 index 000000000..98cb05e4d --- /dev/null +++ b/math/scigraphica/files/patch-ltmain.sh @@ -0,0 +1,28 @@ + +$FreeBSD$ + +--- ltmain.sh 2001/08/27 09:51:26 1.1 ++++ ltmain.sh 2001/08/27 09:51:42 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4178,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/math/scigraphica/files/patch-src::Makefile.in b/math/scigraphica/files/patch-src::Makefile.in new file mode 100644 index 000000000..b81e93782 --- /dev/null +++ b/math/scigraphica/files/patch-src::Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/Makefile.in.orig Wed Dec 5 11:13:00 2001 ++++ src/Makefile.in Wed Dec 5 11:14:40 2001 +@@ -148,7 +148,7 @@ + INCLUDES = -Ipython $(GTK_CFLAGS) $(GTK_EXTRA_CFLAGS) $(XML_CFLAGS) $(PY_CFLAGS) $(BONOBO_CFLAGS) $(OAF_CFLAGS) $(LIBART_CFLAGS) $(GNOME_PRINT_CFLAGS) + + +-scigraphica_LDADD = -L./python python/libpint.a $(GTK_LIBS) $(GTK_EXTRA_LIBS) $(XML_LIBS) $(BONOBO_LIBS) $(OAF_LIBS) -L$(PY_LIB_LOC)/config -l$(PY_LIBS) $(PY_EXTRA_LIBS) $(UTIL_LIBS) $(READLINE_LIB) $(LIBART_LIBS) $(GNOME_PRINT_LIBS) ++scigraphica_LDADD = -L./python python/libpint.a $(GTK_LIBS) $(GTK_EXTRA_LIBS) $(XML_LIBS) $(BONOBO_LIBS) $(OAF_LIBS) -L$(PY_LIB_LOC)/config $(PTHREAD_LIBS) -l$(PY_LIBS) $(PY_EXTRA_LIBS) $(UTIL_LIBS) $(READLINE_LIB) $(LIBART_LIBS) $(GNOME_PRINT_LIBS) + + + LIBS = @LIBS@ diff --git a/math/scigraphica/files/patch-src::python::pstat.py b/math/scigraphica/files/patch-src::python::pstat.py new file mode 100644 index 000000000..8c3c32831 --- /dev/null +++ b/math/scigraphica/files/patch-src::python::pstat.py @@ -0,0 +1,13 @@ +--- src/python/pstat.py.orig Wed Aug 20 18:00:12 2003 ++++ src/python/pstat.py Wed Aug 20 18:00:32 2003 +@@ -214,8 +214,8 @@ + index = col + column = abut(column,map(lambda x: x[index], listoflists)) + elif type(cnums) == StringType: # if an 'x[3:]' type expr. +- execstring = 'column = map(lambda x: x'+cnums+', listoflists)' +- exec(execstring) ++ execstring = 'map(lambda x: x'+cnums+', listoflists)' ++ column = eval(execstring) + else: # else it's just 1 col to get + index = cnums + column = map(lambda x: x[index], listoflists) diff --git a/math/scigraphica/files/patch-src::python::python_config.c b/math/scigraphica/files/patch-src::python::python_config.c new file mode 100644 index 000000000..0300aee8d --- /dev/null +++ b/math/scigraphica/files/patch-src::python::python_config.c @@ -0,0 +1,18 @@ +--- src/python/python_config.c.orig Mon Mar 7 22:00:46 2005 ++++ src/python/python_config.c Mon Mar 7 22:00:53 2005 +@@ -236,6 +236,7 @@ + } + break; + default: ++ break; /* do nothing */; + } + } + #ifdef WITH_GNOME +@@ -610,6 +611,7 @@ + break; + + default: ++ break;/* do nothing */; + } + } + -- cgit v1.2.3