aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-05 17:41:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-05 17:41:52 +0000
commit9246ffbcf91dc60621f5cbc3ba1f413363a927f9 (patch)
tree1e640efdb852f2c453f85c04f0bee9bb2f3dfb77 /korean
parentcc8d8de5ca11eaa78c9e7bcce602f812faaf5885 (diff)
downloadports-9246ffbcf91dc60621f5cbc3ba1f413363a927f9.tar.gz
ports-9246ffbcf91dc60621f5cbc3ba1f413363a927f9.zip
- Unbreak on 5.X and 6.X
Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=140793
Diffstat (limited to 'korean')
-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