diff options
author | vs <vs@FreeBSD.org> | 2005-02-02 16:24:13 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-02-02 16:24:13 +0800 |
commit | 4ea0e790616745f7421618065fedcfe883f253d2 (patch) | |
tree | 95731b224462d3dba29ded90d5fd332b7c10de23 /lang/helium | |
parent | b283355c155cd4964d0165e9fa61895abfeef455 (diff) | |
download | freebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.tar.gz freebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.tar.zst freebsd-ports-graphics-4ea0e790616745f7421618065fedcfe883f253d2.zip |
Unbreak on 5.x: helium's home-grown configure fails to detect [v]snprintf
Diffstat (limited to 'lang/helium')
-rw-r--r-- | lang/helium/files/patch-lvm::src::configure | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/helium/files/patch-lvm::src::configure b/lang/helium/files/patch-lvm::src::configure new file mode 100644 index 00000000000..7f5220cafb3 --- /dev/null +++ b/lang/helium/files/patch-lvm::src::configure @@ -0,0 +1,35 @@ +--- lvm/src/configure.orig Wed Feb 2 09:10:20 2005 ++++ lvm/src/configure Wed Feb 2 09:10:54 2005 +@@ -608,23 +608,11 @@ + echo "#define HAS_MEMMOVE" >> s.h + fi + +-if sh ./hasgot vsnprintf; then +- echo "vsnprintf() found." ++ echo "vsnprintf() assumed (FreeBSD)." + echo "#define HAS_VSNPRINTF" >> s.h +-else if sh ./hasgot _vsnprintf; then +- echo "_vsnprintf() found." +- echo "#define HAS__VSNPRINTF" >> s.h +- fi +-fi + +-if sh ./hasgot snprintf; then +- echo "snprintf() found." ++ echo "snprintf() assumed (FreeBSD)." + echo "#define HAS_SNPRINTF" >> s.h +-else if sh ./hasgot _snprintf; then +- echo "_snprintf() found." +- echo "#define HAS__SNPRINTF" >> s.h +- fi +-fi + + if sh ./hasgot strncpy; then + echo "strncpy() found." +@@ -694,4 +682,4 @@ + echo " linker used............... $link" + echo " options for linking....... $cclinkopts" + echo +-echo +\ No newline at end of file ++echo |