summaryrefslogtreecommitdiff
path: root/libs/files/libmba-library.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/files/libmba-library.patch')
-rw-r--r--libs/files/libmba-library.patch78
1 files changed, 24 insertions, 54 deletions
diff --git a/libs/files/libmba-library.patch b/libs/files/libmba-library.patch
index 207dde7..3873843 100644
--- a/libs/files/libmba-library.patch
+++ b/libs/files/libmba-library.patch
@@ -1,54 +1,24 @@
-diff -r -C3 libmba-0.7.0/Makefile libmba/Makefile
-*** libmba-0.7.0/Makefile 2003-10-15 02:56:32.000000000 -0600
---- libmba/Makefile 2004-07-29 12:47:27.532270825 -0600
-***************
-*** 1,7 ****
-! prefix = /usr/local
-! includedir = $(prefix)/include
-! libdir = $(prefix)/lib
-! mandir = $(prefix)/man
- CC = gcc
- LIBNAME = mba
- MAJVERSION = 0.7
---- 1,7 ----
-! prefix = ./
-! includedir = $(prefix)
-! libdir = $(prefix)
-! mandir = $(prefix)
- CC = gcc
- LIBNAME = mba
- MAJVERSION = 0.7
-***************
-*** 23,29 ****
- all: $(ARNAME)($(OBJS)) $(SONAME)
-
- $(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
-! $(CC) -shared $(OBJS) -L$(libdir) -lc -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
-
- .c.a:
- $(CC) $(CFLAGS) -c $< -o $*.o
---- 23,29 ----
- all: $(ARNAME)($(OBJS)) $(SONAME)
-
- $(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
-! $(CC) -shared $(OBJS) -L$(libdir) -lc -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
-
- .c.a:
- $(CC) $(CFLAGS) -c $< -o $*.o
-***************
-*** 53,59 ****
- clean:
- rm -rf $(includedir)/mba
- rm -f $(OBJS) $(ARNAME) $(SONAME) $(libdir)/$(ARNAME) $(libdir)/$(SONAME) $(libdir)/$(SOVERSION) $(libdir)/lib$(LIBNAME).so $(DISTRO).zip
-! cd $(mandir)/man3 && rm -f $(MAN)
-
- sho: src/shellout.c src/mba/shellout.h
- gcc -Wall -W -DTEST -DMSGNO -lmba -lutil -o sho src/shellout.c
---- 53,59 ----
- clean:
- rm -rf $(includedir)/mba
- rm -f $(OBJS) $(ARNAME) $(SONAME) $(libdir)/$(ARNAME) $(libdir)/$(SONAME) $(libdir)/$(SOVERSION) $(libdir)/lib$(LIBNAME).so $(DISTRO).zip
-! # cd $(mandir)/man3 && rm -f $(MAN)
-
- sho: src/shellout.c src/mba/shellout.h
- gcc -Wall -W -DTEST -DMSGNO -lmba -lutil -o sho src/shellout.c
+diff -r -U3 libmba-0.8.10/Makefile libmba/Makefile
+--- libmba-0.8.10/Makefile 2004-08-27 22:59:43.000000000 -0600
++++ libmba/Makefile 2004-08-31 16:58:36.732920304 -0600
+@@ -1,7 +1,7 @@
+-prefix = /usr/local
+-includedir = $(prefix)/include
+-libdir = $(prefix)/lib
+-mandir = $(prefix)/man
++prefix = ./
++includedir = $(prefix)
++libdir = $(prefix)
++mandir = $(prefix)
+ CC = gcc
+ LIBNAME = mba
+ MAJVERSION = 0.8
+@@ -60,7 +60,7 @@
+ clean:
+ rm -rf $(includedir)/mba
+ rm -f $(OBJS) $(ARNAME) $(SONAME) $(libdir)/$(ARNAME) $(libdir)/$(SONAME) $(libdir)/$(SOVERSION) $(libdir)/lib$(LIBNAME).so $(DISTRO).zip
+- cd $(mandir)/man3 && rm -f $(MAN)
++ # cd $(mandir)/man3 && rm -f $(MAN)
+
+ sho: src/shellout.c src/mba/shellout.h
+ gcc -Wall -W -DTEST -DMSGNO -lmba -lutil -o sho src/shellout.c