aboutsummaryrefslogtreecommitdiffstats
path: root/korean/bitchx
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-06 01:41:52 +0800
committerpav <pav@FreeBSD.org>2005-08-06 01:41:52 +0800
commit2a38c4523a85e8b7d2467050e8e10595cee4349b (patch)
tree78bf8008fbec95a44a7d230fdb0f645bef1d9e46 /korean/bitchx
parentb1ebc617c4b28a008783e1d4fa23adf590ab8acb (diff)
downloadfreebsd-ports-gnome-2a38c4523a85e8b7d2467050e8e10595cee4349b.tar.gz
freebsd-ports-gnome-2a38c4523a85e8b7d2467050e8e10595cee4349b.tar.zst
freebsd-ports-gnome-2a38c4523a85e8b7d2467050e8e10595cee4349b.zip
- Unbreak on 5.X and 6.X
Approved by: portmgr (marcus)
Diffstat (limited to 'korean/bitchx')
-rw-r--r--korean/bitchx/Makefile4
-rw-r--r--korean/bitchx/files/patch-dll-amp-layer2.c30
-rw-r--r--korean/bitchx/files/patch-source_term_c10
3 files changed, 40 insertions, 4 deletions
diff --git a/korean/bitchx/Makefile b/korean/bitchx/Makefile
index 23b46703f2ea..7aecd1fd3a51 100644
--- a/korean/bitchx/Makefile
+++ b/korean/bitchx/Makefile
@@ -34,10 +34,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64 (needs -fPIC)"
.endif
diff --git a/korean/bitchx/files/patch-dll-amp-layer2.c b/korean/bitchx/files/patch-dll-amp-layer2.c
new file mode 100644
index 000000000000..26e97619475c
--- /dev/null
+++ b/korean/bitchx/files/patch-dll-amp-layer2.c
@@ -0,0 +1,30 @@
+--- dll/amp/layer2.c.orig Mon Oct 4 09:45:52 1999
++++ dll/amp/layer2.c Fri Aug 5 19:23:35 2005
+@@ -78,6 +78,7 @@
+ sblimit=8;
+ break;
+ default : /*printf(" bit alloc info no gud ");*/
++ ;
+ }
+ break;
+ case 1 : switch (bitrate) /* 1 = 48 kHz */
+@@ -99,6 +100,7 @@
+ sblimit=8;
+ break;
+ default : /*printf(" bit alloc info no gud ");*/
++ ;
+ }
+ break;
+ case 2 : switch (bitrate) /* 2 = 32 kHz */
+@@ -123,9 +125,11 @@
+ sblimit=12;
+ break;
+ default : /*printf("bit alloc info not ok\n");*/
++ ;
+ }
+ break;
+ default : /*printf("sampling freq. not ok/n");*/
++ ;
+ } else {
+ bit_alloc_index=&t_allocMPG2;
+ nbal=&t_nbalMPG2;
diff --git a/korean/bitchx/files/patch-source_term_c b/korean/bitchx/files/patch-source_term_c
new file mode 100644
index 000000000000..3909338c3503
--- /dev/null
+++ b/korean/bitchx/files/patch-source_term_c
@@ -0,0 +1,10 @@
+--- source/term.c.orig Fri Jul 23 01:10:02 2004
++++ source/term.c Fri Jul 23 01:11:02 2004
+@@ -92,7 +92,6 @@
+ #endif
+
+ extern char *getenv();
+-extern char *tparm();
+
+ /*
+ * The old code assumed termcap. termcap is almost always present, but on