diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libezV24/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/libezV24/files')
-rw-r--r-- | dev-libs/libezV24/files/libezV24-0.1.1-build.patch | 177 | ||||
-rw-r--r-- | dev-libs/libezV24/files/libezV24-0.1.1-test.patch | 20 |
2 files changed, 197 insertions, 0 deletions
diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-build.patch b/dev-libs/libezV24/files/libezV24-0.1.1-build.patch new file mode 100644 index 000000000000..3550f02edf2e --- /dev/null +++ b/dev-libs/libezV24/files/libezV24-0.1.1-build.patch @@ -0,0 +1,177 @@ +diff -ur libezV24-0.1.1.orig/Makefile libezV24-0.1.1/Makefile +--- libezV24-0.1.1.orig/Makefile 2003-02-17 15:46:18.000000000 +0200 ++++ libezV24-0.1.1/Makefile 2008-01-15 10:47:13.000000000 +0200 +@@ -19,68 +19,63 @@ + # the base name of the library + SOBASE = ezV24 + +-# define the destination OS (currently only linux) +-PLATFORM=__LINUX__ +- +-# the base path where the file should be installed to. +-PREFIX = /usr/local ++# the base paths where the files should be installed to. ++PREFIX = /usr ++LIBDIR = $(PREFIX)/lib ++ ++# an additional prefix for building RPM packages. NOTE: don't forget to add a ++# trailing slash! ++DESTDIR = + + # generate the name of the output file in dependence of the development state. + # +-ifeq "${RELEASE}" "DEBUG" ++ifeq ($(RELEASE),DEBUG) + NAME = lib$(SOBASE).so.$(SORELEASE).dbg + else + NAME = lib$(SOBASE).so.$(VERSION) + endif + SONAME = lib$(SOBASE).so.$(SORELEASE) +-LIBNAME = lib$(SOBASE)-$(SORELEASE)_s.a ++LIBNAME = lib$(SOBASE).a + PLAINNAME = lib$(SOBASE).so + + # basename of the project + PROJECTNAME = libezV24-$(VERSION).$(PATCHLEVEL) + +-OBJS = ezV24.o snprintf.o ++STATIC_OBJS = ezV24.o snprintf.o ++SHARED_OBJS = $(patsubst %.o,%.lo,$(STATIC_OBJS)) + LIBS = + +- +-ifeq "${RELEASE}" "DEBUG" +-C_FLAG = -c -Wall -fPIC -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DDEBUG -DBETA +-LFLAGS = $(LIBDIR) ++ifeq ($(RELEASE),DEBUG) ++CPPFLAGS += -DDEBUG -DBETA + else +-ifeq "${RELEASE}" "BETA" +-C_FLAG = -c -Wall -fPIC -O2 -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DBETA +-LFLAGS = $(LIBDIR) ++ifeq ($(RELEASE),BETA) ++CPPFLAGS += -DBETA + else +-C_FLAG = -c -Wall -fPIC -O2 -D$(PLATFORM) $(INCDIR) +-C_DEFS = -DFINAL +-LFLAGS = -s $(LIBDIR) ++CPPFLAGS += -DFINAL + endif + endif + ++CC ?= gcc ++CPPFLAGS += -I. ++CFLAGS ?= -O2 ++CFLAGS += -Wall ++ + # tools to build the static library + ARFLAGS = cru +-AR = ar +-RANLIB = ranlib +- +-# concatinate the compile flags +-CFLAGS = $(C_FLAG) $(C_DEFS) ++AR ?= ar ++RANLIB ?= ranlib + +- +- +-# ------------------------------------------------------------------------ +-# AUTOMATISCHE COMPILE-ANWEISUNGEN +-# ------------------------------------------------------------------------ +- +-.c.o: +- gcc $(CFLAGS) $< ++# some distros have a messed up path when in su - ++LDCONFIG ?= /sbin/ldconfig + + + # -------------------------------------------------------------------------- + # ANHÄNGIGKEITEN + # -------------------------------------------------------------------------- + ++%.lo: %.c ++ $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) -c $< -o $@ ++ + all: shared static test-v24 + + shared: $(NAME) +@@ -88,13 +83,13 @@ + static: $(LIBNAME) + + ++$(NAME): $(SHARED_OBJS) ++ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SONAME) -o $@ $^ $(LDFLAGS) + +-$(NAME): $(OBJS) +- gcc -shared -W1,soname,$(SONAME) -o $(NAME) $(OBJS) ++$(LIBNAME): $(STATIC_OBJS) ++ $(AR) $(ARFLAGS) $@ $^ ++ $(RANLIB) $@ + +-$(LIBNAME): $(OBJS) +- $(AR) $(ARFLAGS) $(LIBNAME) $(OBJS) +- $(RANLIB) $(LIBNAME) + + + # Abhängigkeiten des Source, jedoch dann ohne Generierungsanweisung, wenn +@@ -111,22 +106,27 @@ + # + + install: +- install -d -m 755 $(PREFIX)/include/$(SOBASE)/; +- install -m 644 ezV24.h $(PREFIX)/include/$(SOBASE)/ +- install -m 644 -s $(LIBNAME) $(PREFIX)/lib/$(LIBNAME) +- install -m 755 -s $(NAME) $(PREFIX)/lib/$(NAME) +- rm -f $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME) +- ln -s $(PREFIX)/lib/$(NAME) $(PREFIX)/lib/$(SONAME);\ +- ln -s $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME);\ +- ldconfig ++ install -d -m 755 $(DESTDIR)$(PREFIX)/include/$(SOBASE) ++ install -d -m 755 $(DESTDIR)$(LIBDIR) ++ install -m 644 ezV24.h $(DESTDIR)$(PREFIX)/include/$(SOBASE)/ ++ install -m 644 $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME) ++ install -m 755 $(NAME) $(DESTDIR)$(LIBDIR)/$(NAME) ++ rm -f $(DESTDIR)$(PREFIX)/lib/$(SONAME) $(DESTDIR)$(LIBDIR)/$(PLAINNAME) ++ ln -s $(NAME) $(DESTDIR)$(LIBDIR)/$(SONAME) ++ ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(PLAINNAME) ++ if [ -z $$NO_LDCONFIG ]; then \ ++ $(LDCONFIG); \ ++ fi + + uninstall: + rm -f $(PREFIX)/include/ezV24/* + rmdir $(PREFIX)/include/ezV24 +- rm -f $(PREFIX)/lib/$(LIBNAME) +- rm -f $(PREFIX)/lib/$(NAME) +- rm -f $(PREFIX)/lib/$(SONAME) $(PREFIX)/lib/$(PLAINNAME) +- ldconfig ++ rm -f $(LIBDIR)/$(LIBNAME) ++ rm -f $(LIBDIR)/$(NAME) ++ rm -f $(LIBDIR)/$(SONAME) $(LIBDIR/$(PLAINNAME) ++ if [ -z $$NO_LDCONFIG ]; then \ ++ $(LDCONFIG); \ ++ fi + + + # This entry is for packing a distribution tarball +@@ -157,7 +157,7 @@ + # gcc -o test-v24 -Wall test-v24.c -l$(SOBASE) + # + test-v24: test-v24.c ezV24.h $(LIBNAME) +- gcc -o test-v24 -Wall test-v24.c -L./ $(LIBNAME) ++ $(CC) -o test-v24 -Wall -DUNINSTALLED test-v24.c -L./ $(LIBNAME) + + + # -------------------------------------------------------------------------- +@@ -165,7 +165,7 @@ + # -------------------------------------------------------------------------- + + clean: +- rm -f *.o core ++ rm -f *.o *.lo core + + clean-all: + rm -f *.o core test-v24 $(NAME) $(LIBNAME) diff --git a/dev-libs/libezV24/files/libezV24-0.1.1-test.patch b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch new file mode 100644 index 000000000000..f3c2b676546f --- /dev/null +++ b/dev-libs/libezV24/files/libezV24-0.1.1-test.patch @@ -0,0 +1,20 @@ +Index: test-v24.c +=================================================================== +RCS file: /cvsroot/ezv24/libezv24/test-v24.c,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -p -r1.2 -r1.3 +--- test-v24.c 11 Feb 2003 13:29:43 -0000 1.2 ++++ test-v24.c 13 Oct 2003 07:50:26 -0000 1.3 +@@ -30,7 +33,11 @@ + #include <string.h> + #include <signal.h> + ++#ifdef UNINSTALLED ++#include "ezV24.h" ++#else + #include <ezV24/ezV24.h> ++#endif + + #define __TEST_V24_C__ + |