summaryrefslogtreecommitdiff
path: root/comms/hylafax/files/patch-configure
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-12-31 02:10:13 +0100
committerRene Ladan <rene@FreeBSD.org>2022-12-31 02:11:35 +0100
commit51c097e06436c0ad91486387238a0d2e75d6a284 (patch)
treefc5a1934475932834f1dd6b5e65d2f7b10f4fd1b /comms/hylafax/files/patch-configure
parentgames/scorched3d: Cleanup EXPIRED ports (diff)
cleanup: Remove expired ports:
2022-09-30 comms/hylafax: dead upstream, someone port hylafax+ from sourceforge.net instead 2022-12-31 comms/tkhylafax: Depends on expired comms/hylafax
Diffstat (limited to 'comms/hylafax/files/patch-configure')
-rw-r--r--comms/hylafax/files/patch-configure205
1 files changed, 0 insertions, 205 deletions
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure
deleted file mode 100644
index 41211d66aea7..000000000000
--- a/comms/hylafax/files/patch-configure
+++ /dev/null
@@ -1,205 +0,0 @@
---- configure.orig 2018-09-18 18:51:17 UTC
-+++ configure
-@@ -831,7 +831,8 @@ checkGCCVersion()
- # NB: use ANSI C prototype to weed out non-ANSI compilers.
- #
- cat>dummy.c<<EOF
--main(int argc, char* argv) { exit(0); }
-+#include <stdlib.h>
-+int main(int argc, char** argv) { exit(0); }
- EOF
-
- checkCompiler()
-@@ -982,7 +983,8 @@ fi
- # Make dependency information.
- #
- cat>dummy.c<<EOF
--main(int argc, char* argv) { exit(0); }
-+#include <stdlib.h>
-+int main(int argc, char** argv) { exit(0); }
- EOF
- capture cat dummy.c
- if capture "$CCOMPILER -c -M $MKDEPCOPTS dummy.c | grep '^dummy.o[ ]*:[ ]*dummy.c'"; then
-@@ -1629,7 +1631,7 @@ pamconv(int num_msg, const struct pam_message **msg, s
- {
- return(0);
- }
--main()
-+int main()
- {
- struct pam_conv conv = { pamconv };
- }
-@@ -1664,10 +1666,10 @@ HAVE_JBIG="/*#define HAVE_JBIG 1*/"
- LIBJBIG=""
- if [ "$DISABLE_JBIG" != "yes" ]; then
- Note "Checking for JBIG library support"
-- CheckForLibrary jbg_enc_init -ljbig &&
-+ CheckForLibrary jbg_enc_init -L/usr/local/lib -ljbig &&
- CheckForIncludeFile jbig.h && {
- HAVE_JBIG="#define HAVE_JBIG 1"
-- LIBJBIG="-ljbig"
-+ LIBJBIG="-L/usr/local/lib -ljbig"
- }
- if [ "x$LIBJBIG" = "x" ]; then
- Note "... not found. Disabling JBIG support"
-@@ -1832,17 +1834,48 @@ for f in openlog pututxline; do
- done
- if [ "$ISGXX" = yes ]; then
- if [ -z "$CXXRUNTIME" ]; then
-- for f in memmove strdup; do
-- CheckForLibrary $f -lc || {
-- CheckForLibrary $f -lg++ && {
-+ f="memmove"
-+ CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lc || {
-+ CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lg++ && {
- Note "Looks like we need -lg++ for $f"
- MACHDEPLIBS="$MACHDEPLIBS -lg++"
- break;
- }
- }
-- done
-+ f="strdup"
-+ CheckForLibraryWithArgs $f '""' -lc || {
-+ CheckForLibraryWithArgs $f '""' -lg++ && {
-+ Note "Looks like we need -lg++ for $f"
-+ MACHDEPLIBS="$MACHDEPLIBS -lg++"
-+ break;
-+ }
-+ }
- fi
-- for f in strtoul strerror memmove random; do
-+ f="strtoul"
-+ CheckForLibraryWithArgs $f '"", &"", 0' -lc || {
-+ CheckForLibraryWithArgs $f '"", &"", 0' -liberty && {
-+ Note "Looks like we need -liberty for $f"
-+ MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+ break;
-+ }
-+ }
-+ f="strerror"
-+ CheckForLibraryWithArgs $f '""' -lc || {
-+ CheckForLibraryWithArgs $f '""' -liberty && {
-+ Note "Looks like we need -liberty for $f"
-+ MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+ break;
-+ }
-+ }
-+ f="memmove"
-+ CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lc || {
-+ CheckForLibraryWithArgs $f '(char *)0L, "", 0' -liberty && {
-+ Note "Looks like we need -liberty for $f"
-+ MACHDEPLIBS="$MACHDEPLIBS -liberty"
-+ break;
-+ }
-+ }
-+ f="random"
- CheckForLibrary $f -lc || {
- CheckForLibrary $f -liberty && {
- Note "Looks like we need -liberty for $f"
-@@ -1850,9 +1883,8 @@ if [ "$ISGXX" = yes ]; then
- break;
- }
- }
-- done
- fi
--CheckForLibrary floor -lm && {
-+CheckForLibraryWithArgs floor "0.0" -lm && {
- Note "Looks like -lm is the library for math functions."
- MACHDEPLIBS="$MACHDEPLIBS -lm"
- }
-@@ -2176,11 +2208,13 @@ EmitConfigurationDefinitions()
- #
- CheckForFunc()
- {
-- echo "extern int $1(); main(){$1($2);exit(0);}" >t.c
-+ echo "#include <stdlib.h>" > t.c
-+ echo "extern int $1(); main(){$1($2);exit(0);}" >>t.c
- capture cat t.c
- runMake t "t:; \${CC} t.c ${MACHDEPLIBS}"
- }
-
-+
- #
- # Look for a function declaration in system include files.
- #
-@@ -2397,6 +2431,7 @@ EOF
- EOF
- }
- cat<<'EOF'
-+#include <stdlib.h>
- extern char* malloc();
- static void
- boom(const char* msg)
-@@ -2448,7 +2483,7 @@ CheckForStructExitStatus()
- echo "$i"
- done
- cat<<EOF
--main()
-+int main()
- {
- struct $decl x;
- x.ut_exit.e_exit = 0;
-@@ -2465,7 +2500,7 @@ CheckForTimeZoneHandling()
- {
- (echo '#include <time.h>'
- cat<<EOF
--main()
-+int main()
- {
- struct tm x;
- char* cp;
-@@ -2484,7 +2519,7 @@ CheckForTXCD()
- {
- cat>t.c<<EOF
- #include <sys/ioctl.h>
--main()
-+int main()
- {
- ioctl(0, TXADDCD, "rts");
- ioctl(0, TXDELCD, "rts");
-@@ -2537,8 +2572,9 @@ CheckLibtiff()
- tiff_bytecount_t=""
- cat>t.c<<EOF
- #include <stdio.h>
-+#include <stdlib.h>
- #include "tiffio.h"
--main()
-+int main()
- {
- printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
- exit(0);
-@@ -2563,12 +2599,12 @@ EOF
- tiff_offset_t="uint32"
- tiff_bytecount_t="uint32"
- ;;
-- 4.[0]) tiff_runlen_t="uint32"
-+ 4.[01234]) tiff_runlen_t="uint32"
- tiff_offset_t="uint64"
- tiff_bytecount_t="uint64"
- echo '#define TIFFHeader TIFFHeaderClassic'
- echo '#define TIFF_VERSION TIFF_VERSION_CLASSIC'
-- echo '#define NEED_TIFFDIRENTRY'
-+ echo '#define IGNORE_NEED_TIFFDIRENTRY'
- ;;
- esac
- fi
-@@ -3255,7 +3291,7 @@ FUNCS="
- strtoul
- writev
- "
--
-+FUNCS=""
- for i in $FUNCS; do
- CheckForFunc $i || {
- Note "... emulate $i"
-@@ -3313,8 +3349,9 @@ Note "Checking ZLIB support."
- # Verify library is compatible.
- #
- cat>t.c<<EOF
-+#include <stdlib.h>
- #include "zlib.h"
--main()
-+int main()
- {
- if (strcmp(ZLIB_VERSION, "0.95") < 0) { /* include file version */
- printf("old include files: version %u\n", ZLIB_VERSION);