pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/gource/patches
Module Name: pkgsrc
Committed By: adam
Date: Sun Sep 28 15:59:59 UTC 2025
Added Files:
pkgsrc/graphics/gource/patches: patch-configure
Log Message:
gource: add missing patch
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gource/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/gource/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/gource/patches/patch-configure:1.1
--- /dev/null Sun Sep 28 15:59:59 2025
+++ pkgsrc/graphics/gource/patches/patch-configure Sun Sep 28 15:59:59 2025
@@ -0,0 +1,331 @@
+$NetBSD: patch-configure,v 1.1 2025/09/28 15:59:59 adam Exp $
+
+Don't look for boost_system.
+
+--- configure.orig 2025-09-24 06:43:59.161312235 +0000
++++ configure
+@@ -635,7 +635,6 @@ gourcefontfile
+ FONTFILE_FALSE
+ FONTFILE_TRUE
+ BOOST_FILESYSTEM_LIB
+-BOOST_SYSTEM_LIB
+ BOOST_LDFLAGS
+ BOOST_CPPFLAGS
+ PNG_LIBS
+@@ -733,7 +732,6 @@ infodir
+ docdir
+ oldincludedir
+ includedir
+-runstatedir
+ localstatedir
+ sharedstatedir
+ sysconfdir
+@@ -762,7 +760,6 @@ enable_dependency_tracking
+ with_xquartz_gl
+ with_boost
+ with_boost_libdir
+-with_boost_system
+ with_boost_filesystem
+ enable_font_file
+ enable_ttf_font_dir
+@@ -834,7 +831,6 @@ datadir='${datarootdir}'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+ localstatedir='${prefix}/var'
+-runstatedir='${localstatedir}/run'
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+ docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+@@ -1087,15 +1083,6 @@ do
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+- -runstatedir | --runstatedir | --runstatedi | --runstated \
+- | --runstate | --runstat | --runsta | --runst | --runs \
+- | --run | --ru | --r)
+- ac_prev=runstatedir ;;
+- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+- | --run=* | --ru=* | --r=*)
+- runstatedir=$ac_optarg ;;
+-
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+@@ -1233,7 +1220,7 @@ fi
+ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+- libdir localedir mandir runstatedir
++ libdir localedir mandir
+ do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+@@ -1386,7 +1373,6 @@ Fine tuning of the installation director
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+@@ -1451,10 +1437,6 @@ Optional Packages:
+ this parameter only if default library detection
+ fails and you know exactly where your boost
+ libraries are located.
+- --with-boost-system[=special-lib]
+- use the System library from boost - it is possible
+- to specify a certain library for the linker e.g.
+- --with-boost-system=boost_system-gcc-mt
+ --with-boost-filesystem[=special-lib]
+ use the Filesystem library from boost - it is
+ possible to specify a certain library for the linker
+@@ -7921,248 +7903,6 @@ fi
+
+
+
+-# Check whether --with-boost-system was given.
+-if test "${with_boost_system+set}" = set; then :
+- withval=$with_boost_system;
+- if test "$withval" = "no"; then
+- want_boost="no"
+- elif test "$withval" = "yes"; then
+- want_boost="yes"
+- ax_boost_user_system_lib=""
+- else
+- want_boost="yes"
+- ax_boost_user_system_lib="$withval"
+- fi
+-
+-else
+- want_boost="yes"
+-
+-fi
+-
+-
+- if test "x$want_boost" = "xyes"; then
+-
+-
+- CPPFLAGS_SAVED="$CPPFLAGS"
+- CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+- export CPPFLAGS
+-
+- LDFLAGS_SAVED="$LDFLAGS"
+- LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+- export LDFLAGS
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
+-$as_echo_n "checking whether the Boost::System library is available... " >&6; }
+-if ${ax_cv_boost_system+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_ext=cpp
+-ac_cpp='$CXXCPP $CPPFLAGS'
+-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+-
+- CXXFLAGS_SAVE=$CXXFLAGS
+- CXXFLAGS=
+-
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-#include <boost/system/error_code.hpp>
+-int
+-main ()
+-{
+-boost::system::error_category *a = 0;
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_cxx_try_compile "$LINENO"; then :
+- ax_cv_boost_system=yes
+-else
+- ax_cv_boost_system=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CXXFLAGS=$CXXFLAGS_SAVE
+- ac_ext=cpp
+-ac_cpp='$CXXCPP $CPPFLAGS'
+-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+-
+-
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
+-$as_echo "$ax_cv_boost_system" >&6; }
+- if test "x$ax_cv_boost_system" = "xyes"; then
+-
+-
+-
+-$as_echo "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
+-
+- BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
+-
+- LDFLAGS_SAVE=$LDFLAGS
+- if test "x$ax_boost_user_system_lib" = "x"; then
+- for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
+- ax_lib=${libextension}
+- as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
+-$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
+-if eval \${$as_ac_Lib+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-l$ax_lib $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char exit ();
+-int
+-main ()
+-{
+-return exit ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_cxx_try_link "$LINENO"; then :
+- eval "$as_ac_Lib=yes"
+-else
+- eval "$as_ac_Lib=no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-eval ac_res=\$$as_ac_Lib
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+-$as_echo "$ac_res" >&6; }
+-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+- BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
+-else
+- link_system="no"
+-fi
+-
+- done
+- if test "x$link_system" != "xyes"; then
+- for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
+- ax_lib=${libextension}
+- as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
+-$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
+-if eval \${$as_ac_Lib+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-l$ax_lib $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char exit ();
+-int
+-main ()
+-{
+-return exit ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_cxx_try_link "$LINENO"; then :
+- eval "$as_ac_Lib=yes"
+-else
+- eval "$as_ac_Lib=no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-eval ac_res=\$$as_ac_Lib
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+-$as_echo "$ac_res" >&6; }
+-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+- BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
+-else
+- link_system="no"
+-fi
+-
+- done
+- fi
+-
+- else
+- for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do
+- as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
+-$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
+-if eval \${$as_ac_Lib+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- ac_check_lib_save_LIBS=$LIBS
+-LIBS="-l$ax_lib $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char exit ();
+-int
+-main ()
+-{
+-return exit ();
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_cxx_try_link "$LINENO"; then :
+- eval "$as_ac_Lib=yes"
+-else
+- eval "$as_ac_Lib=no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-eval ac_res=\$$as_ac_Lib
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+-$as_echo "$ac_res" >&6; }
+-if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+- BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
+-else
+- link_system="no"
+-fi
+-
+- done
+-
+- fi
+- if test "x$ax_lib" = "x"; then
+- as_fn_error $? "Could not find a version of the Boost::System library!" "$LINENO" 5
+- fi
+- if test "x$link_system" = "xno"; then
+- as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
+- fi
+- fi
+-
+- CPPFLAGS="$CPPFLAGS_SAVED"
+- LDFLAGS="$LDFLAGS_SAVED"
+- fi
+-
+-
+-
+ # Check whether --with-boost-filesystem was given.
+ if test "${with_boost_filesystem+set}" = set; then :
+ withval=$with_boost_filesystem;
Home |
Main Index |
Thread Index |
Old Index