Update dia to 0.97.3, provided by David H. Gutteridge in PR 49954. dia-0.97.3: 2014-09-05 * Fix double free with some SVG rendering (regression from Dia 0.97.2) * Fixes to cope better with updated versions of Dia's dependencies: - don't crash at start-up with ABI breaking GLib 2-36 - don't assert in cairo 1.12 with invalid arc parameters - avoid kerning problems (character overlap) for all Pango versions - fix image files to be loadable by libpng16 * Backport fixes for some seldom crashes and other annoyances, see: http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.97.3 * Update translations for Brazilian Portuguese, German, Hungarian, Polish, Romanian, Serbian and Sloveniandiff -r1.90 -r1.91 pkgsrc/graphics/dia/Makefile
(wiz)
@@ -1,15 +1,12 @@ | @@ -1,15 +1,12 @@ | |||
1 | # $NetBSD: Makefile,v 1.90 2015/04/25 14:23:08 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.91 2015/06/09 08:55:22 wiz Exp $ | |
2 | # | |||
3 | 2 | |||
4 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
5 | 4 | |||
6 | PKGREVISION= 23 | |||
7 | ||||
8 | .include "options.mk" | 5 | .include "options.mk" | |
9 | 6 | |||
10 | # just to convert the manpage | 7 | # just to convert the manpage | |
11 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | 8 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | |
12 | 9 | |||
13 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 10 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
14 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 11 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
15 | .include "../../mk/bsd.pkg.mk" | 12 | .include "../../mk/bsd.pkg.mk" |
@@ -1,26 +1,27 @@ | @@ -1,26 +1,27 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.28 2012/12/04 12:37:15 ryoon Exp $ | 1 | # $NetBSD: Makefile.common,v 1.29 2015/06/09 08:55:22 wiz Exp $ | |
2 | # | 2 | # | |
3 | # used by graphics/dia-python/Makefile | 3 | # used by graphics/dia-python/Makefile | |
4 | 4 | |||
5 | DISTNAME= dia-0.97.2 | 5 | DISTNAME= dia-0.97.3 | |
6 | PKGNAME= ${DISTNAME:S/dia-/dia${DIA_SUBPKG}-/} | 6 | PKGNAME= ${DISTNAME:S/dia-/dia${DIA_SUBPKG}-/} | |
7 | CATEGORIES= graphics | 7 | CATEGORIES= graphics | |
8 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.97/} | 8 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.97/} | |
9 | EXTRACT_SUFX= .tar.xz | 9 | EXTRACT_SUFX= .tar.xz | |
10 | 10 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= https://live.gnome.org/Dia | 12 | HOMEPAGE= https://live.gnome.org/Dia | |
13 | COMMENT= Program for creating diagrams of all kinds | 13 | COMMENT= Program for creating diagrams of all kinds | |
14 | LICENSE= gnu-gpl-v2 | |||
14 | 15 | |||
15 | DISTINFO_FILE= ${.CURDIR}/../../graphics/dia/distinfo | 16 | DISTINFO_FILE= ${.CURDIR}/../../graphics/dia/distinfo | |
16 | PATCHDIR= ${.CURDIR}/../../graphics/dia/patches | 17 | PATCHDIR= ${.CURDIR}/../../graphics/dia/patches | |
17 | 18 | |||
18 | GNU_CONFIGURE= YES | 19 | GNU_CONFIGURE= YES | |
19 | USE_TOOLS+= gmake intltool pkg-config msgfmt | 20 | USE_TOOLS+= gmake intltool pkg-config msgfmt | |
20 | USE_LIBTOOL= YES | 21 | USE_LIBTOOL= YES | |
21 | USE_PKGLOCALEDIR= YES | 22 | USE_PKGLOCALEDIR= YES | |
22 | USE_LANGUAGES= c c++ | 23 | USE_LANGUAGES= c c++ | |
23 | 24 | |||
24 | CHECK_PORTABILITY_SKIP+= installer/macosx/dia | 25 | CHECK_PORTABILITY_SKIP+= installer/macosx/dia | |
25 | 26 | |||
26 | CONFIGURE_ARGS+= --disable-emf | 27 | CONFIGURE_ARGS+= --disable-emf |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.20 2012/01/18 18:36:51 drochner Exp $ | 1 | @comment $NetBSD: PLIST,v 1.21 2015/06/09 08:55:22 wiz Exp $ | |
2 | bin/dia | 2 | bin/dia | |
3 | lib/dia/libaadl_objects.la | 3 | lib/dia/libaadl_objects.la | |
4 | lib/dia/libart_filter.la | 4 | lib/dia/libart_filter.la | |
5 | lib/dia/libcairo_filter.la | 5 | lib/dia/libcairo_filter.la | |
6 | lib/dia/libcgm_filter.la | 6 | lib/dia/libcgm_filter.la | |
7 | lib/dia/libchronogram_objects.la | 7 | lib/dia/libchronogram_objects.la | |
8 | lib/dia/libcustom_lines_objects.la | 8 | lib/dia/libcustom_lines_objects.la | |
9 | lib/dia/libcustom_objects.la | 9 | lib/dia/libcustom_objects.la | |
10 | lib/dia/libdb_objects.la | 10 | lib/dia/libdb_objects.la | |
11 | lib/dia/libdia.la | 11 | lib/dia/libdia.la | |
12 | lib/dia/libdxf_filter.la | 12 | lib/dia/libdxf_filter.la | |
13 | lib/dia/liber_objects.la | 13 | lib/dia/liber_objects.la | |
14 | lib/dia/libflowchart_objects.la | 14 | lib/dia/libflowchart_objects.la | |
@@ -1890,26 +1890,27 @@ share/locale/oc/LC_MESSAGES/dia.mo | @@ -1890,26 +1890,27 @@ share/locale/oc/LC_MESSAGES/dia.mo | |||
1890 | share/locale/or/LC_MESSAGES/dia.mo | 1890 | share/locale/or/LC_MESSAGES/dia.mo | |
1891 | share/locale/pa/LC_MESSAGES/dia.mo | 1891 | share/locale/pa/LC_MESSAGES/dia.mo | |
1892 | share/locale/pl/LC_MESSAGES/dia.mo | 1892 | share/locale/pl/LC_MESSAGES/dia.mo | |
1893 | share/locale/pt/LC_MESSAGES/dia.mo | 1893 | share/locale/pt/LC_MESSAGES/dia.mo | |
1894 | share/locale/pt_BR/LC_MESSAGES/dia.mo | 1894 | share/locale/pt_BR/LC_MESSAGES/dia.mo | |
1895 | share/locale/ro/LC_MESSAGES/dia.mo | 1895 | share/locale/ro/LC_MESSAGES/dia.mo | |
1896 | share/locale/ru/LC_MESSAGES/dia.mo | 1896 | share/locale/ru/LC_MESSAGES/dia.mo | |
1897 | share/locale/rw/LC_MESSAGES/dia.mo | 1897 | share/locale/rw/LC_MESSAGES/dia.mo | |
1898 | share/locale/sk/LC_MESSAGES/dia.mo | 1898 | share/locale/sk/LC_MESSAGES/dia.mo | |
1899 | share/locale/sl/LC_MESSAGES/dia.mo | 1899 | share/locale/sl/LC_MESSAGES/dia.mo | |
1900 | share/locale/sq/LC_MESSAGES/dia.mo | 1900 | share/locale/sq/LC_MESSAGES/dia.mo | |
1901 | share/locale/sr/LC_MESSAGES/dia.mo | 1901 | share/locale/sr/LC_MESSAGES/dia.mo | |
1902 | share/locale/sr@Latn/LC_MESSAGES/dia.mo | 1902 | share/locale/sr@Latn/LC_MESSAGES/dia.mo | |
1903 | share/locale/sr@latin/LC_MESSAGES/dia.mo | |||
1903 | share/locale/sv/LC_MESSAGES/dia.mo | 1904 | share/locale/sv/LC_MESSAGES/dia.mo | |
1904 | share/locale/ta/LC_MESSAGES/dia.mo | 1905 | share/locale/ta/LC_MESSAGES/dia.mo | |
1905 | share/locale/th/LC_MESSAGES/dia.mo | 1906 | share/locale/th/LC_MESSAGES/dia.mo | |
1906 | share/locale/tr/LC_MESSAGES/dia.mo | 1907 | share/locale/tr/LC_MESSAGES/dia.mo | |
1907 | share/locale/uk/LC_MESSAGES/dia.mo | 1908 | share/locale/uk/LC_MESSAGES/dia.mo | |
1908 | share/locale/vi/LC_MESSAGES/dia.mo | 1909 | share/locale/vi/LC_MESSAGES/dia.mo | |
1909 | share/locale/zh_CN/LC_MESSAGES/dia.mo | 1910 | share/locale/zh_CN/LC_MESSAGES/dia.mo | |
1910 | share/locale/zh_HK/LC_MESSAGES/dia.mo | 1911 | share/locale/zh_HK/LC_MESSAGES/dia.mo | |
1911 | share/locale/zh_TW/LC_MESSAGES/dia.mo | 1912 | share/locale/zh_TW/LC_MESSAGES/dia.mo | |
1912 | share/mime-info/dia.keys | 1913 | share/mime-info/dia.keys | |
1913 | share/mime-info/dia.mime | 1914 | share/mime-info/dia.mime | |
1914 | ${PLIST.gnome}share/omf/dia/dia-C.omf | 1915 | ${PLIST.gnome}share/omf/dia/dia-C.omf | |
1915 | ${PLIST.gnome}share/omf/dia/dia-eu.omf | 1916 | ${PLIST.gnome}share/omf/dia/dia-eu.omf |
@@ -1,18 +1,14 @@ | @@ -1,18 +1,14 @@ | |||
1 | $NetBSD: distinfo,v 1.31 2014/04/15 20:34:36 asau Exp $ | 1 | $NetBSD: distinfo,v 1.32 2015/06/09 08:55:22 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (dia-0.97.2.tar.xz) = dc7ed6f8cd83acc8f421d28f30e4042fe370e9ba | 3 | SHA1 (dia-0.97.3.tar.xz) = 316393951daebd186ba387e1cd6e34160a458c39 | |
4 | RMD160 (dia-0.97.2.tar.xz) = f9270f1f2cb6ad505219463827d02e3759693796 | 4 | RMD160 (dia-0.97.3.tar.xz) = a984efa1663cc154f4394060af37fab146f99175 | |
5 | Size (dia-0.97.2.tar.xz) = 5507004 bytes | 5 | Size (dia-0.97.3.tar.xz) = 5548500 bytes | |
6 | SHA1 (patch-aa) = ab5acd47ba4557aa8cc4a5abb3ce1f41ea5e2574 | 6 | SHA1 (patch-aa) = bad171ff4f379030f05c613b362e669a53d7f6da | |
7 | SHA1 (patch-app_render_gdk.c) = 2bff345b8168ef731eb977f1850fd6a725224c78 | 7 | SHA1 (patch-app_load_save.c) = ee6c58a9db031fc89c61939a6c3fce90dae75a8d | |
8 | SHA1 (patch-be) = dab7626daefcd702b31f54d198311d9be921e1ff | 8 | SHA1 (patch-be) = 08db7c440eea343895cced29522dd487f11d4773 | |
9 | SHA1 (patch-ca) = 8737f3ff19244e2f87ffb571da21159bc2248648 | 9 | SHA1 (patch-ca) = 8737f3ff19244e2f87ffb571da21159bc2248648 | |
10 | SHA1 (patch-cb) = 02210139cbf38e91a61ad1e090f63f5635bb26ef | 10 | SHA1 (patch-cb) = 02210139cbf38e91a61ad1e090f63f5635bb26ef | |
11 | SHA1 (patch-cc) = 2dd4c822d8771e48ff1ac67946d765e5d8b85d50 | 11 | SHA1 (patch-cc) = 2dd4c822d8771e48ff1ac67946d765e5d8b85d50 | |
12 | SHA1 (patch-cd) = b7dd72a359fe6f36a56d2c16f94427c6977b0477 | 12 | SHA1 (patch-cd) = d5fdf63320e59278b5c99a07b450161ffbc1789b | |
13 | SHA1 (patch-da) = 4ed80c2a7eaa2dbbebd8265c8b74faac20c4f6c2 | 13 | SHA1 (patch-da) = 4ed80c2a7eaa2dbbebd8265c8b74faac20c4f6c2 | |
14 | SHA1 (patch-objects_custom_shape__typeinfo_c) = 128477ab7cc363a490e042062379585800893626 | |||
15 | SHA1 (patch-plug-ins_postscript_diapsft2renderer.c) = c4933ba0133aca4e6816e796499f9710158f333d | |||
16 | SHA1 (patch-plug-ins_postscript_paginate__psprint.c) = 59784ea73d32158f457e52132bc5c4cef375dcae | 14 | SHA1 (patch-plug-ins_postscript_paginate__psprint.c) = 59784ea73d32158f457e52132bc5c4cef375dcae | |
17 | SHA1 (patch-tests_test-boundingbox_c) = f05fe01fd2d79bf5b519808aa491458040097fb7 | |||
18 | SHA1 (patch-tests_test-objects_c) = 759b788aa55e3256758514906c1ce812fb3b6aba |
@@ -1,20 +1,18 @@ | @@ -1,20 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.43 2015/04/25 14:23:09 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.44 2015/06/09 08:55:23 wiz Exp $ | |
2 | 2 | |||
3 | DIA_SUBPKG= -python | 3 | DIA_SUBPKG= -python | |
4 | .include "../../graphics/dia/Makefile.common" | 4 | .include "../../graphics/dia/Makefile.common" | |
5 | 5 | |||
6 | PKGREVISION= 17 | |||
7 | ||||
8 | COMMENT+= (Python plugin) | 6 | COMMENT+= (Python plugin) | |
9 | 7 | |||
10 | CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g} | 8 | CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g} | |
11 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | 9 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | |
12 | 10 | |||
13 | REPLACE_PYTHON= po-checktrans.py | 11 | REPLACE_PYTHON= po-checktrans.py | |
14 | REPLACE_PYTHON+= plug-ins/python/gtkcons.py | 12 | REPLACE_PYTHON+= plug-ins/python/gtkcons.py | |
15 | REPLACE_PYTHON+= sheets/checktrans.py | 13 | REPLACE_PYTHON+= sheets/checktrans.py | |
16 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2 | 14 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2 | |
17 | 15 | |||
18 | BUILD_DIRS+= plug-ins/python | 16 | BUILD_DIRS+= plug-ins/python | |
19 | INSTALL_DIRS+= plug-ins/python | 17 | INSTALL_DIRS+= plug-ins/python | |
20 | 18 |
@@ -1,44 +1,44 @@ | @@ -1,44 +1,44 @@ | |||
1 | $NetBSD: patch-aa,v 1.8 2012/01/18 18:36:51 drochner Exp $ | 1 | $NetBSD: patch-aa,v 1.9 2015/06/09 08:55:23 wiz Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2011-04-25 13:04:56.000000000 +0000 | 3 | --- configure.orig 2014-09-05 11:08:16.000000000 -0400 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -18016,7 +18016,7 @@ $as_echo_n "checking for $am_display_PYT | 5 | @@ -19308,7 +19308,7 @@ | |
6 | if test "${am_cv_python_pythondir+set}" = set; then : | 6 | if ${am_cv_python_pythondir+:} false; then : | |
7 | $as_echo_n "(cached) " >&6 | 7 | $as_echo_n "(cached) " >&6 | |
8 | else | 8 | else | |
9 | - am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || | 9 | - am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || | |
10 | + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0)" 2>/dev/null || | 10 | + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0)" 2>/dev/null || | |
11 | echo "$PYTHON_PREFIX/${py_lib}/python$PYTHON_VERSION/site-packages"` | 11 | echo "$PYTHON_PREFIX/${py_lib}/python$PYTHON_VERSION/site-packages"` | |
12 | fi | 12 | fi | |
13 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 | 13 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 | |
14 | @@ -18034,7 +18034,7 @@ $as_echo_n "checking for $am_display_PYT | 14 | @@ -19326,7 +19326,7 @@ | |
15 | if test "${am_cv_python_pyexecdir+set}" = set; then : | 15 | if ${am_cv_python_pyexecdir+:} false; then : | |
16 | $as_echo_n "(cached) " >&6 | 16 | $as_echo_n "(cached) " >&6 | |
17 | else | 17 | else | |
18 | - am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || | 18 | - am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || | |
19 | + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0)" 2>/dev/null || | 19 | + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0)" 2>/dev/null || | |
20 | echo "${PYTHON_EXEC_PREFIX}/${py_lib}/python${PYTHON_VERSION}/site-packages"` | 20 | echo "${PYTHON_EXEC_PREFIX}/${py_lib}/python${PYTHON_VERSION}/site-packages"` | |
21 | fi | 21 | fi | |
22 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 | 22 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 | |
23 | @@ -18121,18 +18121,18 @@ CPPFLAGS="$save_CPPFLAGS" | 23 | @@ -19420,18 +19420,18 @@ | |
24 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpython${PYTHON_VERSION}.a" >&5 | 24 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpython${PYTHON_VERSION}.a" >&5 | |
25 | $as_echo_n "checking for libpython${PYTHON_VERSION}.a... " >&6; } | 25 | $as_echo_n "checking for libpython${PYTHON_VERSION}.a... " >&6; } | |
26 | 26 | |||
27 | -py_config_dir="$py_prefix/$py_lib/python${PYTHON_VERSION}/config" | 27 | - py_config_dir="$py_prefix/$py_lib/python${PYTHON_VERSION}/config" | |
28 | +py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config" | 28 | + py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config" | |
29 | 29 | |||
30 | py_makefile="${py_config_dir}/Makefile" | 30 | py_makefile="${py_config_dir}/Makefile" | |
31 | if test -f "$py_makefile"; then | 31 | if test -f "$py_makefile"; then | |
32 | py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile` | 32 | py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile` | |
33 | py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile` | 33 | py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile` | |
34 | 34 | |||
35 | - if test -e "$PYTHON_PREFIX/${py_lib}/libpython${PYTHON_VERSION}.so"; then | 35 | - if test -e "$PYTHON_PREFIX/${py_lib}/libpython${PYTHON_VERSION}.so"; then | |
36 | + if test -e "$PYTHON_PREFIX/lib/libpython${PYTHON_VERSION}.so"; then | 36 | + if test -e "$PYTHON_PREFIX/lib/libpython${PYTHON_VERSION}.so"; then | |
37 | PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" | 37 | PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" | |
38 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 | 38 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 | |
39 | $as_echo "found" >&6; } | 39 | $as_echo "found" >&6; } | |
40 | - elif test -e "${py_prefix}/${py_lib}/libpython${PYTHON_VERSION}.a"; then | 40 | - elif test -e "${py_prefix}/${py_lib}/libpython${PYTHON_VERSION}.a"; then | |
41 | + elif test -e "${py_prefix}/lib/libpython${PYTHON_VERSION}.a"; then | 41 | + elif test -e "${py_prefix}/lib/libpython${PYTHON_VERSION}.a"; then | |
42 | PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" | 42 | PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" | |
43 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 | 43 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 | |
44 | $as_echo "found" >&6; } | 44 | $as_echo "found" >&6; } |
$NetBSD: patch-app_load_save.c,v 1.1 2015/06/09 08:55:23 wiz Exp $
Allow NetBSD and OpenBSD to compile by exposing the fchmod() prototype.
This has been reported upstream as:
https://bugzilla.gnome.org/show_bug.cgi?id=750536
--- app/load_save.c.orig 2014-08-24 11:46:01.000000000 -0400
+++ app/load_save.c
@@ -19,7 +19,14 @@
/* so we get fdopen declared even when compiling with -ansi */
#define _POSIX_C_SOURCE 200809L
-#define _BSD_SOURCE 1 /* to get the prototype for fchmod() */
+/* to get the prototype for fchmod() */
+#if defined(__NetBSD__)
+#define _NETBSD_SOURCE 1
+#elif defined(__OpenBSD__)
+#define __BSD_VISIBLE 1
+#else
+#define _BSD_SOURCE 1
+#endif
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
@@ -1,13 +1,14 @@ | @@ -1,13 +1,14 @@ | |||
1 | $NetBSD: patch-be,v 1.1 2003/12/02 22:32:48 recht Exp $ | 1 | $NetBSD: patch-be,v 1.2 2015/06/09 08:55:23 wiz Exp $ | |
2 | 2 | |||
3 | --- lib/intl.c.orig 2002-09-23 21:27:44.000000000 +0200 | 3 | --- lib/intl.c.orig 2014-08-24 11:46:01.000000000 -0400 | |
4 | +++ lib/intl.c 2003-11-10 22:54:10.000000000 +0100 | 4 | +++ lib/intl.c | |
5 | @@ -65,6 +65,8 @@ | 5 | @@ -58,6 +58,9 @@ | |
6 | read_aliases ("/usr/share/locale/locale.alias"); | 6 | read_aliases ("/usr/share/locale/locale.alias"); | |
7 | read_aliases ("/usr/local/share/locale/locale.alias"); | 7 | read_aliases ("/usr/local/share/locale/locale.alias"); | |
8 | read_aliases ("/usr/lib/X11/locale/locale.alias"); | 8 | read_aliases ("/usr/lib/X11/locale/locale.alias"); | |
9 | + read_aliases ("/usr/X11R6/lib/X11/locale/locale.alias"); | 9 | + read_aliases ("/usr/X11R6/lib/X11/locale/locale.alias"); | |
10 | + read_aliases ("%%PREFIX%%/share/locale/locale.alias"); | 10 | + read_aliases ("/usr/X11R7/lib/X11/locale/locale.alias"); | |
11 | + read_aliases ("/usr/pkg/share/locale/locale.alias"); | |||
11 | read_aliases ("/usr/openwin/lib/locale/locale.alias"); | 12 | read_aliases ("/usr/openwin/lib/locale/locale.alias"); | |
12 | } | 13 | } | |
13 | while((p=g_hash_table_lookup(alias_table,lang)) && strcmp(p, lang)) | 14 | while((p=g_hash_table_lookup(alias_table,lang)) && strcmp(p, lang)) |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-cd,v 1.1 2009/12/09 10:22:04 drochner Exp $ | 1 | $NetBSD: patch-cd,v 1.2 2015/06/09 08:55:23 wiz Exp $ | |
2 | 2 | |||
3 | --- doc/fr/Makefile.in.orig 2009-05-03 20:12:41.000000000 +0200 | 3 | --- doc/fr/Makefile.in.orig 2014-09-05 11:08:04.000000000 -0400 | |
4 | +++ doc/fr/Makefile.in | 4 | +++ doc/fr/Makefile.in | |
5 | @@ -571,7 +571,7 @@ info: info-am | 5 | @@ -674,7 +674,7 @@ | |
6 | 6 | |||
7 | info-am: | 7 | info-am: | |
8 | 8 | |||
9 | -install-data-am: install-data-local install-man | 9 | -install-data-am: install-data-local install-man | |
10 | +install-data-am: install-data-local | 10 | +install-data-am: install-data-local | |
11 | @$(NORMAL_INSTALL) | 11 | @$(NORMAL_INSTALL) | |
12 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | 12 | $(MAKE) $(AM_MAKEFLAGS) install-data-hook | |
13 | 13 | install-dvi: install-dvi-am |