diff options
Diffstat (limited to 'graphics/dia/files')
-rw-r--r-- | graphics/dia/files/patch-ad | 56 | ||||
-rw-r--r-- | graphics/dia/files/patch-ae | 12 | ||||
-rw-r--r-- | graphics/dia/files/patch-lib_intl.c | 10 | ||||
-rw-r--r-- | graphics/dia/files/patch-objects::GRAFCET::boolequation.c | 20 | ||||
-rw-r--r-- | graphics/dia/files/patch-po_checktrans.py | 8 |
5 files changed, 106 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-ad b/graphics/dia/files/patch-ad new file mode 100644 index 000000000..5dd3b4efb --- /dev/null +++ b/graphics/dia/files/patch-ad @@ -0,0 +1,56 @@ +--- configure.orig Sun Mar 25 15:18:59 2007 ++++ configure Sun Mar 25 15:20:01 2007 +@@ -20515,7 +20515,7 @@ if test "${with_freetype+set}" = set; th + else + with_freetype=yes + fi; +-if test "x$with_freetype" == "xyes"; then ++if test "x$with_freetype" = "xyes"; then + + pkg_failed=no + echo "$as_me:$LINENO: checking for PANGOFT2" >&5 +@@ -20989,7 +20989,7 @@ if test "${with_gnomeprint+set}" = set; + else + with_gnomeprint=no + fi; +-if test "x$with_gnomeprint" == "xyes"; then ++if test "x$with_gnomeprint" = "xyes"; then + + pkg_failed=no + echo "$as_me:$LINENO: checking for GNOMEPRINT" >&5 +@@ -21927,7 +21927,7 @@ else + echo "${ECHO_T}no" >&6 + fi + +-if test "$XGETTEXT" == none ; then ++if test "$XGETTEXT" = none ; then + { { echo "$as_me:$LINENO: error: xgettext program not found: $XGETTEXT." >&5 + echo "$as_me: error: xgettext program not found: $XGETTEXT." >&2;} + { (exit 1); exit 1; }; } +@@ -25011,7 +25011,7 @@ echo $ECHO_N "checking local Python conf + + fi + +- ++ PYTHON_EXEC_PREFIX=${LOCALBASE} + + PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"` + +@@ -25073,12 +25073,12 @@ except ImportError: + except: + sys.exit(0) + sys.exit(0)" +-if $PYTHON -c "$prog" 1>&5 2>&5 +- then ++#if $PYTHON -c "$prog" 1>&5 2>&5 ++# then + eval "py_cv_mod_$py_mod_var=yes" +- else +- eval "py_cv_mod_$py_mod_var=no" +- fi ++# else ++# eval "py_cv_mod_$py_mod_var=no" ++# fi + + fi + diff --git a/graphics/dia/files/patch-ae b/graphics/dia/files/patch-ae new file mode 100644 index 000000000..aca97ced2 --- /dev/null +++ b/graphics/dia/files/patch-ae @@ -0,0 +1,12 @@ +--- app/main.c.orig Sun Mar 25 19:05:16 2001 ++++ app/main.c Thu May 17 14:09:02 2001 +@@ -19,2 +19,4 @@ + ++#include <ieeefp.h> ++ + #include "geometry.h" +@@ -35,2 +37,4 @@ + { ++ fpsetmask(0); ++ + app_init(argc, argv); diff --git a/graphics/dia/files/patch-lib_intl.c b/graphics/dia/files/patch-lib_intl.c new file mode 100644 index 000000000..5449af46d --- /dev/null +++ b/graphics/dia/files/patch-lib_intl.c @@ -0,0 +1,10 @@ +--- lib/intl.c.orig Mon Mar 17 14:06:02 2003 ++++ lib/intl.c Mon Mar 17 14:07:10 2003 +@@ -65,6 +65,7 @@ + read_aliases ("/usr/share/locale/locale.alias"); + read_aliases ("/usr/local/share/locale/locale.alias"); + read_aliases ("/usr/lib/X11/locale/locale.alias"); ++ read_aliases ("/usr/X11R6/lib/X11/locale/locale.alias"); + read_aliases ("/usr/openwin/lib/locale/locale.alias"); + } + while((p=g_hash_table_lookup(alias_table,lang)) && strcmp(p, lang)) diff --git a/graphics/dia/files/patch-objects::GRAFCET::boolequation.c b/graphics/dia/files/patch-objects::GRAFCET::boolequation.c new file mode 100644 index 000000000..7db01d1e2 --- /dev/null +++ b/graphics/dia/files/patch-objects::GRAFCET::boolequation.c @@ -0,0 +1,20 @@ +--- objects/GRAFCET/boolequation.c.orig Sun Oct 6 14:55:22 2002 ++++ objects/GRAFCET/boolequation.c Mon Mar 17 13:56:09 2003 +@@ -58,7 +58,7 @@ + + + /* utility */ +-inline static gboolean isspecial(gunichar c) ++inline static gboolean dia_isspecial(gunichar c) + { + switch (c) { + case '!': +@@ -136,7 +136,7 @@ + gchar *p1; + c = g_utf8_get_char(*str); + p1 = g_utf8_next_char(*str); +- if (isspecial(c)) break; ++ if (dia_isspecial(c)) break; + *str = p1; + } + diff --git a/graphics/dia/files/patch-po_checktrans.py b/graphics/dia/files/patch-po_checktrans.py new file mode 100644 index 000000000..4b8eee2df --- /dev/null +++ b/graphics/dia/files/patch-po_checktrans.py @@ -0,0 +1,8 @@ +--- po-checktrans.py.orig Wed Sep 24 21:32:42 2003 ++++ po-checktrans.py Wed Sep 24 21:33:03 2003 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # + # This quick hack gives translation statistics (from the core translation + # files). |