diff options
Diffstat (limited to 'math/gretl/files')
| -rw-r--r-- | math/gretl/files/patch-Makefile.in | 14 | ||||
| -rw-r--r-- | math/gretl/files/patch-aclocal.m4 | 207 | ||||
| -rw-r--r-- | math/gretl/files/patch-cli::Makefile.in | 48 | ||||
| -rw-r--r-- | math/gretl/files/patch-doc::manual.xml | 11 | ||||
| -rw-r--r-- | math/gretl/files/patch-gnome::Makefile.in | 41 | ||||
| -rw-r--r-- | math/gretl/files/patch-gui2::Makefile.in | 54 | ||||
| -rw-r--r-- | math/gretl/files/patch-gui2::gretl.c | 20 | ||||
| -rw-r--r-- | math/gretl/files/patch-gui2::omf-install::Makefile.in | 23 | ||||
| -rw-r--r-- | math/gretl/files/patch-lib::Makefile.in | 49 | ||||
| -rw-r--r-- | math/gretl/files/patch-lib::src::gretl_utils.c | 13 | ||||
| -rw-r--r-- | math/gretl/files/patch-plugin::Makefile.in | 47 | ||||
| -rw-r--r-- | math/gretl/files/patch-plugin::libole2::ms-ole2.h | 14 | ||||
| -rw-r--r-- | math/gretl/files/patch-plugin::workbook.c | 10 | ||||
| -rw-r--r-- | math/gretl/files/patch-po::Makefile.in.in | 11 | ||||
| -rw-r--r-- | math/gretl/files/patch-share::Makefile.in | 17 | ||||
| -rw-r--r-- | math/gretl/files/patch-tools::ltmain.sh | 49 |
16 files changed, 0 insertions, 628 deletions
diff --git a/math/gretl/files/patch-Makefile.in b/math/gretl/files/patch-Makefile.in deleted file mode 100644 index c4dab95e3ebc..000000000000 --- a/math/gretl/files/patch-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig Thu Sep 12 00:35:22 2002 -+++ Makefile.in Mon Oct 21 10:02:37 2002 -@@ -22,8 +22,9 @@ - GUIDIR = gui - endif - --INSTALL_PROGRAM = ${INSTALL} -m 755 --INSTALL_DATA = ${INSTALL} -m 644 -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ -+INSTALL_DATA = @INSTALL_DATA@ - - export - diff --git a/math/gretl/files/patch-aclocal.m4 b/math/gretl/files/patch-aclocal.m4 deleted file mode 100644 index fb147833b171..000000000000 --- a/math/gretl/files/patch-aclocal.m4 +++ /dev/null @@ -1,207 +0,0 @@ ---- aclocal.m4.dist Thu Oct 10 11:39:35 2002 -+++ aclocal.m4 Mon Oct 21 09:34:35 2002 -@@ -11,7 +11,7 @@ - # even the implied warranty of MERCHANTABILITY or FITNESS FOR A - # PARTICULAR PURPOSE. - --# gettext.m4 serial 13 (gettext-0.11.1) -+# gettext.m4 serial 17 (gettext-0.11.5) - dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. - dnl This file is free software, distributed under the terms of the GNU - dnl General Public License. As a special exception to the GNU General -@@ -46,7 +46,9 @@ - dnl $(top_builddir)/intl/libintl.a will be created. - dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext - dnl implementations (in libc or libintl) without the ngettext() function --dnl will be ignored. -+dnl will be ignored. If NEEDSYMBOL is specified and is -+dnl 'need-formatstring-macros', then GNU gettext implementations that don't -+dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. - dnl INTLDIR is used to find the intl libraries. If empty, - dnl the value `$(top_builddir)/intl/' is used. - dnl -@@ -73,9 +75,9 @@ - ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , - [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT - ])])])])]) -- ifelse([$2], [], , [ifelse([$2], [need-ngettext], , -+ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , - [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT --])])]) -+])])])]) - define(gt_included_intl, ifelse([$1], [external], [no], [yes])) - define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) - -@@ -88,6 +90,21 @@ - AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) - AC_REQUIRE([AC_LIB_RPATH]) - -+ dnl Sometimes libintl requires libiconv, so first search for libiconv. -+ dnl Ideally we would do this search only after the -+ dnl if test "$USE_NLS" = "yes"; then -+ dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then -+ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT -+ dnl the configure script would need to contain the same shell code -+ dnl again, outside any 'if'. There are two solutions: -+ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. -+ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. -+ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not -+ dnl documented, we avoid it. -+ ifelse(gt_included_intl, yes, , [ -+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) -+ ]) -+ - AC_MSG_CHECKING([whether NLS is requested]) - dnl Default is enabled NLS - AC_ARG_ENABLE(nls, -@@ -123,13 +140,20 @@ - dnl to fall back to GNU NLS library. - - dnl Add a version number to the cache macros. -- define([gt_api_version], ifelse([$2], [need-ngettext], 2, 1)) -+ define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) - define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) - define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) - - AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, - [AC_TRY_LINK([#include <libintl.h> --extern int _nl_msg_cat_cntr; -+]ifelse([$2], [need-formatstring-macros], -+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -+#endif -+changequote(,)dnl -+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -+changequote([,])dnl -+], [])[extern int _nl_msg_cat_cntr; - extern int *_nl_domain_bindings;], - [bindtextdomain ("", ""); - return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], -@@ -154,30 +178,42 @@ - LIBS="$LIBS $LIBINTL" - dnl Now see whether libintl exists and does not depend on libiconv. - AC_TRY_LINK([#include <libintl.h> --extern int _nl_msg_cat_cntr; --extern int *_nl_domain_bindings; -+]ifelse([$2], [need-formatstring-macros], -+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -+#endif -+changequote(,)dnl -+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -+changequote([,])dnl -+], [])[extern int _nl_msg_cat_cntr; - extern - #ifdef __cplusplus - "C" - #endif - const char *_nl_expand_alias ();], - [bindtextdomain ("", ""); --return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)], -+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], - gt_cv_func_gnugettext_libintl=yes, - gt_cv_func_gnugettext_libintl=no) - dnl Now see whether libintl exists and depends on libiconv. - if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" - AC_TRY_LINK([#include <libintl.h> --extern int _nl_msg_cat_cntr; --extern int *_nl_domain_bindings; -+]ifelse([$2], [need-formatstring-macros], -+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -+#endif -+changequote(,)dnl -+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -+changequote([,])dnl -+], [])[extern int _nl_msg_cat_cntr; - extern - #ifdef __cplusplus - "C" - #endif - const char *_nl_expand_alias ();], - [bindtextdomain ("", ""); --return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)], -+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], - [LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" - gt_cv_func_gnugettext_libintl=yes -@@ -465,7 +501,7 @@ - ;; - esac - done], -- [# Capture the value of obsolete $ALL_LINGUAS because we need it to compute -+ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute - # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it - # from automake. - eval 'ALL_LINGUAS''="$ALL_LINGUAS"' -@@ -494,6 +530,10 @@ - AC_REQUIRE([AC_FUNC_ALLOCA])dnl - AC_REQUIRE([AC_FUNC_MMAP])dnl - AC_REQUIRE([jm_GLIBC21])dnl -+ AC_REQUIRE([gt_INTDIV0])dnl -+ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl -+ AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl -+ AC_REQUIRE([gt_INTTYPES_PRI])dnl - - AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ - stdlib.h string.h unistd.h sys/param.h]) -@@ -503,7 +543,9 @@ - - AM_ICONV - AM_LANGINFO_CODESET -- AM_LC_MESSAGES -+ if test $ac_cv_header_locale_h = yes; then -+ AM_LC_MESSAGES -+ fi - - dnl intl/plural.c is generated from intl/plural.y. It requires bison, - dnl because plural.y uses bison specific features. It requires at least -@@ -1322,7 +1364,7 @@ - AC_LIB_PROG_LD_GNU - ]) - --# iconv.m4 serial AM3 (gettext-0.11) -+# iconv.m4 serial AM4 (gettext-0.11.3) - dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. - dnl This file is free software, distributed under the terms of the GNU - dnl General Public License. As a special exception to the GNU General -@@ -1332,11 +1374,8 @@ - - dnl From Bruno Haible. - --AC_DEFUN([AM_ICONV_LINK], -+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], - [ -- dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and -- dnl those with the standalone portable GNU libiconv installed). -- - dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. - AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) - AC_REQUIRE([AC_LIB_RPATH]) -@@ -1344,6 +1383,16 @@ - dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV - dnl accordingly. - AC_LIB_LINKFLAGS_BODY([iconv]) -+]) -+ -+AC_DEFUN([AM_ICONV_LINK], -+[ -+ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and -+ dnl those with the standalone portable GNU libiconv installed). -+ -+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV -+ dnl accordingly. -+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) - - dnl Add $INCICONV to CPPFLAGS before performing the following checks, - dnl because if the user has installed libiconv and not disabled its use -@@ -1393,7 +1442,7 @@ - - AC_DEFUN([AM_ICONV], - [ -- AC_REQUIRE([AM_ICONV_LINK]) -+ AM_ICONV_LINK - if test "$am_cv_func_iconv" = yes; then - AC_MSG_CHECKING([for iconv declaration]) - AC_CACHE_VAL(am_cv_proto_iconv, [ diff --git a/math/gretl/files/patch-cli::Makefile.in b/math/gretl/files/patch-cli::Makefile.in deleted file mode 100644 index afef1f23fac4..000000000000 --- a/math/gretl/files/patch-cli::Makefile.in +++ /dev/null @@ -1,48 +0,0 @@ ---- cli/Makefile.in.orig Tue Nov 12 04:28:19 2002 -+++ cli/Makefile.in Mon Nov 18 20:00:01 2002 -@@ -15,6 +15,10 @@ - RL_OBJ = @RL_OBJ@ - USE_NLS = @USE_NLS@ - -+CPPFLAGS = @CPPFLAGS@ -+LDFLAGS = @LDFLAGS@ -+INTL_LIBS = @LTLIBINTL@ -+ - ifeq ($(CC),) - CC = gcc - endif -@@ -25,15 +29,14 @@ - LN = ln -sf - endif - ifeq ($(USE_NLS),yes) -- datadir = @datadir@ -- localedir = $(datadir)/locale -+ localedir = $(prefix)/share/locale - DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H - endif - - GRETLLIB = ../lib/libgretl-1.0.la - - # General compile options and libs: --LIBS = $(CLI_LIBS) -+LIBS = $(CLI_LIBS) $(INTL_LIBS) - - # Directories - tooldir = $(topsrc)/tools -@@ -41,14 +44,14 @@ - - #### End of system configuration section. #### - --override CFLAGS += -I. -I.. -I$(libsrc) $(DEFS) -+override CFLAGS += -I. -I.. -I$(libsrc) $(DEFS) $(CPPFLAGS) - - CLI = gretlcli - LIBTOOL = $(topsrc)/libtool - - $(CLI): gretlcli.o $(RL_OBJ) - ../libtool --mode=link $(CC) -o $@ $< \ -- $(RL_OBJ) $(GRETLLIB) $(CLI_LIBS) -+ $(RL_OBJ) $(GRETLLIB) $(CLI_LIBS) $(LDFLAGS) - - .PHONY : - diff --git a/math/gretl/files/patch-doc::manual.xml b/math/gretl/files/patch-doc::manual.xml deleted file mode 100644 index 903d8b6e8bd6..000000000000 --- a/math/gretl/files/patch-doc::manual.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/manual.xml.orig Fri Nov 8 01:30:56 2002 -+++ doc/manual.xml Mon Nov 18 20:26:15 2002 -@@ -1,6 +1,6 @@ - <?xml version="1.0"?> --<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" --"/usr/share/sgml/docbook-xml-4.2/docbookx.dtd" [ -+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" -+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ - - <!ENTITY version "1.0"> - <!ENTITY latex "LaTeX"> diff --git a/math/gretl/files/patch-gnome::Makefile.in b/math/gretl/files/patch-gnome::Makefile.in deleted file mode 100644 index 0daf4dce042b..000000000000 --- a/math/gretl/files/patch-gnome::Makefile.in +++ /dev/null @@ -1,41 +0,0 @@ ---- gnome/Makefile.in.orig Tue Aug 27 03:11:56 2002 -+++ gnome/Makefile.in Mon Oct 21 08:27:48 2002 -@@ -2,10 +2,10 @@ - docdir = ../doc - - INSTALL = @INSTALL@ --gnome_prefix = @gnome_prefix@ -+datadir = @datadir@ - have_gnome = @have_gnome@ - --sysconfdir = $(gnome_prefix)/etc -+sysconfdir = @sysconfdir@ - - GCONFTOOL = @GCONFTOOL@ - GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ -@@ -24,11 +24,11 @@ - install_help = install-help-1 - endif - --desktopdir = $(gnome_prefix)/share/applications --mimedir = $(gnome_prefix)/share/mime-info --gpixmaps = $(gnome_prefix)/share/pixmaps --ghelpdir = $(gnome_prefix)/share/gnome/help/gretl --schemadir = $(gnome_prefix)/etc/gconf/schemas -+desktopdir = $(datadir)/applications -+mimedir = $(datadir)/mime-info -+gpixmaps = $(datadir)/pixmaps -+ghelpdir = $(datadir)/help/gretl -+schemadir = $(sysconfdir)/gconf/schemas - - install: install-images install-misc install-help-dirs $(install_help) $(install_schemas) - -@@ -58,7 +58,7 @@ - cat $$f | sed s+fileref=\"figures/[^\"]*+\&.png+g > \ - $(ghelpdir)/C/chapters/`basename $$f` ; done - $(INSTALL_DATA) $(docdir)/figures/*.png $(ghelpdir)/C/figures -- make -C $(omfdir) install -+ $(MAKE) -C $(omfdir) install - - install-help-1: - $(INSTALL_DATA) topic.dat $(ghelpdir)/C diff --git a/math/gretl/files/patch-gui2::Makefile.in b/math/gretl/files/patch-gui2::Makefile.in deleted file mode 100644 index b6f3cf5ea560..000000000000 --- a/math/gretl/files/patch-gui2::Makefile.in +++ /dev/null @@ -1,54 +0,0 @@ ---- gui2/Makefile.in.orig Tue Nov 12 04:28:20 2002 -+++ gui2/Makefile.in Mon Nov 18 20:02:19 2002 -@@ -4,6 +4,7 @@ - exec_prefix = @exec_prefix@ - bindir = @bindir@ - libdir = @libdir@ -+datadir= @datadir@ - CC = @CC@ - CFLAGS = @CFLAGS@ - MAKE = @MAKE@ -@@ -42,14 +43,13 @@ - LIBS = $(GNOME_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la - GUI_CFLAGS = $(GNOME_CFLAGS) $(GTK_EXTRA_CFLAGS) - query_install_gnome = install-gnome -- GNOMEDEF = -DGNOME_DISABLE_DEPRECATED -DDATADIR=\"$(gnome_prefix)/share\" -+ GNOMEDEF = -DGNOME_DISABLE_DEPRECATED -DDATADIR=\"$(datadir)\" - else - LIBS = $(GTK_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la - GUI_CFLAGS = $(GTK_CFLAGS) $(GTK_EXTRA_CFLAGS) - endif - ifeq ($(USE_NLS),yes) -- datadir = @datadir@ -- localedir = $(datadir)/locale -+ localedir = $(prefix)/share/locale - NLSDEF = -DLOCALEDIR=\"$(localedir)\" - endif - -@@ -60,7 +60,7 @@ - - # Directories - bindir = $(prefix)/bin --gretldir = $(prefix)/share/gretl -+gretldir = $(datadir)/gretl - tooldir = $(topsrc)/tools - libsrc = $(topsrc)/lib/src - clisrc = $(topsrc)/cli -@@ -92,7 +92,7 @@ - $(CC) $(CFLAGS) $(GTK_CFLAGS) -c $< - - $(GTKEXTRA_LITE): -- make -C gtkextra-lite -+ $(MAKE) -C gtkextra-lite - - .PHONY: - -@@ -103,7 +103,7 @@ - $(LIBTOOL) $(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG) - - install-data: installdirs -- $(INSTALL_PROGRAM) $(topsrc)/gretl_sh $(bindir)/gretl -+ $(INSTALL_SCRIPT) $(topsrc)/gretl_sh $(bindir)/gretl - $(INSTALL_DATA) ../pixmaps/gretl-logo.xpm $(gretldir) - $(INSTALL_DATA) $(topsrc)/COPYING $(gretldir) - diff --git a/math/gretl/files/patch-gui2::gretl.c b/math/gretl/files/patch-gui2::gretl.c deleted file mode 100644 index dcf9fa877ac4..000000000000 --- a/math/gretl/files/patch-gui2::gretl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- gui2/gretl.c.orig Tue Oct 8 02:10:30 2002 -+++ gui2/gretl.c Mon Oct 21 08:48:34 2002 -@@ -1560,7 +1560,7 @@ - { - pid_t pid; - -- signal(SIGCLD, SIG_IGN); -+ signal(SIGCHLD, SIG_IGN); - - pid = fork(); - if (pid == -1) { -@@ -1649,7 +1649,7 @@ - return; - } - -- signal(SIGCLD, SIG_IGN); -+ signal(SIGCHLD, SIG_IGN); - pid = fork(); - - if (pid == -1) { diff --git a/math/gretl/files/patch-gui2::omf-install::Makefile.in b/math/gretl/files/patch-gui2::omf-install::Makefile.in deleted file mode 100644 index 45b94a1ec05c..000000000000 --- a/math/gretl/files/patch-gui2::omf-install::Makefile.in +++ /dev/null @@ -1,23 +0,0 @@ ---- gui2/omf-install/Makefile.in.orig Sun Aug 25 03:09:19 2002 -+++ gui2/omf-install/Makefile.in Mon Oct 21 07:48:35 2002 -@@ -1,9 +1,9 @@ - - INSTALL = @INSTALL@ --gnome_prefix = @gnome_prefix@ -+datadir = @datadir@ - --docdir = $(gnome_prefix)/share/gnome/help/gretl/C --omfdir = $(gnome_prefix)/share/omf/gretl -+docdir = $(datadir)/help/gretl/C -+omfdir = $(datadir)/omf/gretl - - gretl-C.omf: gretl-C.omf.in - scrollkeeper-preinstall $(docdir)/`awk 'BEGIN {RS = ">" } \ -@@ -12,5 +12,5 @@ - - install: gretl-C.omf - ../../tools/mkinstalldirs $(omfdir) -- $(INSTALL) -m 644 $< $(omfdir) -- scrollkeeper-update -p $(gnome_prefix)/var/scrollkeeper -+ $(INSTALL_DATA) $< $(omfdir) -+ scrollkeeper-update -p /var/log/scrollkeeper diff --git a/math/gretl/files/patch-lib::Makefile.in b/math/gretl/files/patch-lib::Makefile.in deleted file mode 100644 index 0cfd14e305db..000000000000 --- a/math/gretl/files/patch-lib::Makefile.in +++ /dev/null @@ -1,49 +0,0 @@ ---- lib/Makefile.in.orig Wed Dec 4 11:49:39 2002 -+++ lib/Makefile.in Sat Dec 14 05:26:28 2002 -@@ -14,6 +14,11 @@ - GLIB_LIBS = @GLIB_LIBS@ - have_gtk = @have_gtk@ - -+datadir = @datadir@ -+CPPFLAGS = @CPPFLAGS@ -DDATADIR=\"$(datadir)\" -+LDFLAGS = @LDFLAGS@ -+INTL_LIBS = @LTLIBINTL@ -+ - ifeq ($(INSTALL_PROGRAM),) - INSTALL_PROGRAM = $(INSTALL) -m 755 - endif -@@ -28,7 +33,7 @@ - libdir = $(prefix)/lib - includedir = $(prefix)/include/gretl - aclocaldir = $(prefix)/share/aclocal --pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(prefix)/libdata/pkgconfig - - INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir) - -@@ -42,7 +47,7 @@ - INSTALL_CFG = install-cfg-old - endif - --LIBS = -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) $(GLIB_LIBS) -+LIBS = -lm -lz $(XML_LIBS) $(GLIB_LIBS) $(INTL_LIBS) - - #### End of system configuration section. #### - -@@ -73,14 +78,14 @@ - - override CFLAGS += -I. -I./src -I.. $(XML_CFLAGS) $(GLIB_CFLAGS) -DHAVE_CONFIG_H - --COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -+COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(CPPFLAGS) - - .c.o: - $(COMPILE) $< - - $(LIBGRETL): $(OBJS) $(LOBJS) $(CEPHES_OBJ) $(CEPHES_OBJ) - $(LIBTOOL) --mode=link $(CC) -o $@ $(LOBJS) $(CEPHES_LOBJ) \ -- -rpath $(prefix)/lib $(LIBS) -version-info 0:2:0 -+ -rpath $(prefix)/lib $(LIBS) -version-info 0:2:0 $(LDFLAGS) - - .PHONY: - diff --git a/math/gretl/files/patch-lib::src::gretl_utils.c b/math/gretl/files/patch-lib::src::gretl_utils.c deleted file mode 100644 index b05b6e035e38..000000000000 --- a/math/gretl/files/patch-lib::src::gretl_utils.c +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/src/gretl_utils.c.orig Mon Sep 30 06:13:40 2002 -+++ lib/src/gretl_utils.c Mon Oct 21 08:31:52 2002 -@@ -1373,8 +1373,8 @@ - if (home != NULL) { - strcpy(ppaths->gretldir, home); - } else { -- strcpy(ppaths->gretldir, GRETL_PREFIX); -- strcat(ppaths->gretldir, "/share/gretl/"); -+ strcpy(ppaths->gretldir, DATADIR); -+ strcat(ppaths->gretldir, "/gretl/"); - } - if (gui) { - sprintf(ppaths->binbase, "%sdb/", ppaths->gretldir); diff --git a/math/gretl/files/patch-plugin::Makefile.in b/math/gretl/files/patch-plugin::Makefile.in deleted file mode 100644 index e02bb5a24afa..000000000000 --- a/math/gretl/files/patch-plugin::Makefile.in +++ /dev/null @@ -1,47 +0,0 @@ ---- plugin/Makefile.in.orig Fri Oct 11 03:03:46 2002 -+++ plugin/Makefile.in Mon Oct 21 10:23:25 2002 -@@ -8,6 +8,10 @@ - INSTALL = @INSTALL@ - LN = @LN_S@ - -+CPPFLAGS = @CPPFLAGS@ -+LDFLAGS = @LDFLAGS@ -+INTL_LIBS = @LTLIBINTL@ -+ - have_gtk = @have_gtk@ - GTK_CFLAGS = @GTK_CFLAGS@ - GTK_LIBS = @GTK_LIBS@ -@@ -31,8 +35,8 @@ - override CFLAGS += -I.. -DHAVE_CONFIG_H - - LIBTOOL = $(topsrc)/libtool --COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) --LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -shared -+COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(CPPFLAGS) -+LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -shared $(LDFLAGS) - - GRETLINC = -I$(topsrc)/lib/src - GRETLLIB = ../lib/libgretl.la -@@ -47,7 +51,7 @@ - PROGRESS_PLUGIN = progress_bar.so - GNUMERIC_PLUGIN = gnumeric_import.so - EXCEL_PLUGIN = excel_import.so -- GRETL_LIBOLE2_CFLAGS := -I. $(shell glib-config --cflags) -+ GRETL_LIBOLE2_CFLAGS := -I. $(shell $(GLIB_CONFIG) --cflags) - endif - - PLUGINS = stats_tables.so panel_data.so des_import.so range-mean.so lad.so \ -@@ -156,11 +160,11 @@ - .PHONY: - - install: $(PLUGINS) installdirs -- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \ -+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \ - $(PLUGINS) $(plugindir) - - install-strip: $(PLUGINS) installdirs -- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \ -+ $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \ - $(PLUGINS) $(plugindir) - - installdirs: diff --git a/math/gretl/files/patch-plugin::libole2::ms-ole2.h b/math/gretl/files/patch-plugin::libole2::ms-ole2.h deleted file mode 100644 index dc25fd58bcaf..000000000000 --- a/math/gretl/files/patch-plugin::libole2::ms-ole2.h +++ /dev/null @@ -1,14 +0,0 @@ ---- plugin/libole2/ms-ole.h.orig Fri Apr 12 03:41:50 2002 -+++ plugin/libole2/ms-ole.h Thu Dec 19 06:28:05 2002 -@@ -13,10 +13,10 @@ - - /* This should be done in glib */ - /* Allin Cottrell modifications here */ -+# include <sys/types.h> - #ifndef _WIN32 - # include <fcntl.h> /* for mode_t */ - #else --# include <sys/types.h> - # ifdef notdef - typedef unsigned long mode_t; - typedef /* signed */ long off_t; diff --git a/math/gretl/files/patch-plugin::workbook.c b/math/gretl/files/patch-plugin::workbook.c deleted file mode 100644 index d91482092391..000000000000 --- a/math/gretl/files/patch-plugin::workbook.c +++ /dev/null @@ -1,10 +0,0 @@ ---- plugin/workbook.c.orig Fri May 31 22:22:42 2002 -+++ plugin/workbook.c Sat Jul 27 08:45:00 2002 -@@ -24,6 +24,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <glib.h> -+#include <wchar.h> - - #ifdef G_OS_WIN32 - # include "../winconfig.h" diff --git a/math/gretl/files/patch-po::Makefile.in.in b/math/gretl/files/patch-po::Makefile.in.in deleted file mode 100644 index 53fa2d5ede09..000000000000 --- a/math/gretl/files/patch-po::Makefile.in.in +++ /dev/null @@ -1,11 +0,0 @@ ---- po/Makefile.in.in.orig Fri May 24 05:03:49 2002 -+++ po/Makefile.in.in Mon Oct 21 08:10:04 2002 -@@ -21,7 +21,7 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - datadir = @datadir@ --localedir = $(datadir)/locale -+localedir = $(prefix)/share/locale - gettextsrcdir = $(datadir)/gettext/po - - INSTALL = @INSTALL@ diff --git a/math/gretl/files/patch-share::Makefile.in b/math/gretl/files/patch-share::Makefile.in deleted file mode 100644 index c4811e225653..000000000000 --- a/math/gretl/files/patch-share::Makefile.in +++ /dev/null @@ -1,17 +0,0 @@ ---- share/Makefile.in.orig Mon Sep 30 03:49:42 2002 -+++ share/Makefile.in Mon Oct 21 07:31:57 2002 -@@ -1,11 +1,12 @@ - topsrc = .. - - prefix = @prefix@ -+datadir = @datadir@ - have_gtk = @have_gtk@ - --gretldir = $(prefix)/share/gretl -+gretldir = $(datadir)/gretl - tooldir = $(topsrc)/tools --INSTALL_DATA = cp -fp -+INSTALL_DATA = @INSTALL_DATA@ - - ifeq ($(have_gtk),2.0) - ES_GUI_HLP = gretl.hlp.es.utf8 diff --git a/math/gretl/files/patch-tools::ltmain.sh b/math/gretl/files/patch-tools::ltmain.sh deleted file mode 100644 index 3d010b6c9f88..000000000000 --- a/math/gretl/files/patch-tools::ltmain.sh +++ /dev/null @@ -1,49 +0,0 @@ ---- tools/ltmain.sh.orig Mon May 20 06:43:59 2002 -+++ tools/ltmain.sh Mon Oct 21 10:45:46 2002 -@@ -956,6 +956,7 @@ - ;; - - -avoid-version) -+ build_old_libs=no - avoid_version=yes - continue - ;; -@@ -1043,14 +1044,14 @@ - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; -- *-*-openbsd*) -+ *-*-openbsd* | *-*-freebsd*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in -- *-*-openbsd*) -+ *-*-openbsd* | *-*-freebsd*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; -@@ -2441,7 +2442,7 @@ - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; -- *-*-openbsd*) -+ *-*-openbsd* | *-*-freebsd*) - # Do not include libc due to us having libc/libc_r. - ;; - *) -@@ -4210,10 +4211,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" |
