pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/43879 (gettext-lib miscompiles on DragonFly)
hauke%NetBSD.org@localhost wrote:
Synopsis: gettext-lib miscompiles on DragonFly
Responsible-Changed-From-To: pkg-manager->dragonfly-pkg-people
Responsible-Changed-By: hauke%NetBSD.org@localhost
Responsible-Changed-When: Thu, 16 Sep 2010 10:27:38 +0000
Responsible-Changed-Why:
DragonFly specific issue.
I think I have a fix.
With the attached patches, HAVE_SEARCH_H is now correctly defined and
there is no more crash with non-english locales on 64-bit systems.
I'm not exactly familiar with pkgsrc/autoconf interaction, so there may
be a better way.
--
Francois Tigeot
--- Makefile.orig 2010-09-24 21:39:39 +0200
+++ Makefile 2010-09-24 21:52:27 +0200
@@ -35,5 +35,10 @@
REQD_DIRS+= ${LOCALEDIR}
REQD_FILES+= ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias
+USE_TOOLS+= autoconf
+
+pre-configure:
+ cd ${WRKSRC}/gettext-runtime && autoconf
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--- gettext-runtime/configure.ac.orig 2005-05-20 23:03:39 +0200
+++ gettext-runtime/configure.ac 2010-09-24 21:27:35 +0200
@@ -76,6 +76,7 @@
dnl Checks for header files.
AC_CHECK_HEADERS(string.h)
+AC_CHECK_HEADERS(search.h)
AM_STDBOOL_H
dnl Checks for typedefs, structures, and compiler characteristics.
Home |
Main Index |
Thread Index |
Old Index