1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Make app_rxfax/app_txfax compilable on 4.x.

This commit is contained in:
Maxim Sobolev 2005-08-29 14:12:28 +00:00
parent 310771fd47
commit 6467942a68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141320
21 changed files with 147 additions and 63 deletions

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>

View File

@ -85,9 +85,7 @@ MAKE_ENV+= WITH_ODBC=1
USE_MYSQL= yes
.endif
#
# FAX apps can't be compiled on RELENG_4 at the moment
.if defined(WITHOUT_FAX) || ${OSVERSION} < 500000
.if defined(WITHOUT_FAX)
PLIST_SUB+= WITH_FAX="@comment "
.else
MAKE_ENV+= WITH_FAX=1

View File

@ -1,6 +1,9 @@
--- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005
+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005
@@ -0,0 +1,367 @@
$FreeBSD$
--- apps/app_rxfax.c.orig
+++ apps/app_rxfax.c
@@ -0,0 +1,371 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -25,7 +28,11 @@
+#include <asterisk/manager.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <math.h>

View File

@ -1,6 +1,9 @@
--- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005
+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005
@@ -0,0 +1,289 @@
$FreeBSD$
--- apps/app_txfax.c.orig
+++ apps/app_txfax.c
@@ -0,0 +1,293 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
@ -23,7 +26,11 @@
+#include <asterisk/translate.h>
+#include <string.h>
+#include <stdlib.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 500028
+#include <inttypes.h>
+#else
+#include <stdint.h>
+#endif
+#include <pthread.h>
+#include <errno.h>
+#include <tiffio.h>