aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/autoconvert/files
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-01-14 22:45:33 +0800
committerclive <clive@FreeBSD.org>2001-01-14 22:45:33 +0800
commit9a75e2d1ee1c816bb2c96433af31ff071c1cb362 (patch)
treeb6ce14d233933acedc8e810f1887bc8acd06955d /chinese/autoconvert/files
parenteb6cb4d174855f687b51ef3efa5e97826117ef74 (diff)
downloadfreebsd-ports-gnome-9a75e2d1ee1c816bb2c96433af31ff071c1cb362.tar.gz
freebsd-ports-gnome-9a75e2d1ee1c816bb2c96433af31ff071c1cb362.tar.zst
freebsd-ports-gnome-9a75e2d1ee1c816bb2c96433af31ff071c1cb362.zip
Update to 0.3.8
PR: 24277 Submitted by: MAINTAINER
Diffstat (limited to 'chinese/autoconvert/files')
-rw-r--r--chinese/autoconvert/files/patch-aa20
-rw-r--r--chinese/autoconvert/files/patch-ab33
2 files changed, 32 insertions, 21 deletions
diff --git a/chinese/autoconvert/files/patch-aa b/chinese/autoconvert/files/patch-aa
index 04e28ead8118..e79aa195dff6 100644
--- a/chinese/autoconvert/files/patch-aa
+++ b/chinese/autoconvert/files/patch-aa
@@ -1,10 +1,18 @@
---- Makefile.orig Wed Jan 5 13:50:05 2000
-+++ Makefile Sun Apr 2 11:37:04 2000
-@@ -1,6 +1,6 @@
+--- Makefile.orig Mon Jan 8 18:05:51 2001
++++ Makefile Tue Jan 9 03:03:10 2001
+@@ -1,11 +1,12 @@
CC=gcc
--CFLAG=-O2 -g -Iinclude
-+CFLAG+=-Iinclude
+-CFLAG=-O2 -g -Wall -Iinclude
+-LIBS= -Llib -lhz
++CFLAG+=-Iinclude -I/usr/local/include
++LIBS+=-Llib -lhz -L/usr/local/lib -lgnugetopt
+ .PHONY: all hzlib clean install-home install
- all: autob5 autogb hzlib
+-all: autob5 autogb hzlib xchat-plugins
++all: autob5 autogb hzlib
++#xchat-plugins
+
+ autob5: autogb
+ rm -f autob5;ln -s autogb autob5
diff --git a/chinese/autoconvert/files/patch-ab b/chinese/autoconvert/files/patch-ab
index 166dcee1b79b..4a2b37fe86a3 100644
--- a/chinese/autoconvert/files/patch-ab
+++ b/chinese/autoconvert/files/patch-ab
@@ -1,17 +1,20 @@
---- hzconvert/Makefile.orig Wed Jan 5 13:12:31 2000
-+++ hzconvert/Makefile Sun Apr 2 11:37:24 2000
-@@ -1,12 +1,11 @@
- CC=gcc -I../include
--CFLAGS=-O2
- OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o
-+all:libhzconvert
- %.o:%c
- $(CC) $(CFLAGS) -c $<
+--- hzconvert/Makefile.orig Mon Jan 8 18:05:51 2001
++++ hzconvert/Makefile Tue Jan 9 02:02:33 2001
+@@ -5,14 +5,14 @@
+ SHARED_LIB_MINOR=$(SHARED_LIB_MAJOR).0
+ OBJS=b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o
--all:libhzconvert
- libhzconvert:$(OBJS)
++all: libhzconvert
++
+ %.o: %.c
+ $(CC) -fPIC $(CFLAGS) -c $<
+
+-all: libhzconvert
+-
+ libhzconvert: $(OBJS)
ar rs ../lib/libhz.a $(OBJS)
-- gcc -shared -o ../lib/libhz.so $(OBJS) -ldl
-+ gcc -shared -o ../lib/libhz.so $(OBJS)
- clean:
- rm -f *.o *~ ../lib/libhz.a ../lib/libhz.so
+- gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS) -ldl
++ gcc -fPIC -shared -Wl,-soname,$(SHARED_LIB_MAJOR) -o ../lib/$(SHARED_LIB_MINOR) $(OBJS)
+ rm -f ../lib/$(SHARED_LIB_MAJOR)
+ rm -f ../lib/$(SHARED_LIB)
+ cd ../lib;ln -s $(SHARED_LIB_MINOR) $(SHARED_LIB_MAJOR)