diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-06-23 18:09:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-06-23 18:09:15 +0000 |
commit | 35c470dc2274daf7255e4db2f239f9b12eb792fd (patch) | |
tree | 1980bc0cecf04a5e693249e7753a9cb3a0291715 /media-libs/svgalib | |
parent | clean stale digests (Manifest recommit) (diff) | |
download | gentoo-2-35c470dc2274daf7255e4db2f239f9b12eb792fd.tar.gz gentoo-2-35c470dc2274daf7255e4db2f239f9b12eb792fd.tar.bz2 gentoo-2-35c470dc2274daf7255e4db2f239f9b12eb792fd.zip |
apply the Makefile.alt patch to 1.9.19 since people are still using old kernels #54881
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch | 33 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.4.3-r4.ebuild | 2 |
2 files changed, 34 insertions, 1 deletions
diff --git a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch index 9c1008616c14..979d1f87f35f 100644 --- a/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch +++ b/media-libs/svgalib/files/svgalib-1.9.19-linux2.6.patch @@ -1,3 +1,36 @@ +diff -urpwN svgalib-1.9.18/kernel/svgalib_helper/Makefile.alt svgalib-1.9.18.kernel2.6/kernel/svgalib_helper/Makefile.alt +--- svgalib-1.9.18/kernel/svgalib_helper/Makefile.alt 2002-10-28 18:25:47.000000000 +0200 ++++ svgalib-1.9.18.kernel2.6/kernel/svgalib_helper/Makefile.alt 2003-08-03 14:34:40.000000000 +0200 +@@ -37,7 +37,7 @@ + CFLAGS += -DSVGALIB_HELPER_MAJOR=$(SVGALIB_HELPER_MAJOR) + + ifeq (1,$(findstring 1,$(MODVER))) +- CFLAGS += -DMODVERSIONS -include $(INCLUDEDIR)/linux/modversions.h ++ CFLAGS += -DMODVERSIONS -DCONFIG_MODVERSIONS=1 + endif + + TARGET = svgalib_helper +@@ -50,7 +50,8 @@ + endif + endif + +-all: .depend $(OBJS) ++modules: $(OBJS) ++all: .depend modules + + $(TARGET).o: $(SRC:.c=.o) + $(LD) -r $^ -o $@ +@@ -61,8 +62,8 @@ + install: device modules_install + + modules_install: $(OBJS) +- mkdir -p /lib/modules/$(VER)/kernel/misc +- install -m 0644 -c $(OBJS) /lib/modules/$(VER)/kernel/misc ++ mkdir -p $(TOPDIR)/lib/modules/$(VER)/kernel/misc ++ install -m 0644 -c $(OBJS) $(TOPDIR)/lib/modules/$(VER)/kernel/misc + + device: + rm -f /dev/svgalib_helper* /dev/svga_helper* /dev/svga /dev/svga? diff -urpN svgalib-1.9.18/kernel/svgalib_helper/kernel26compat.h svgalib-1.9.18.new/kernel/svgalib_helper/kernel26compat.h --- svgalib-1.9.18/kernel/svgalib_helper/kernel26compat.h 2003-10-04 15:42:01.000000000 +0200 +++ svgalib-1.9.18.new/kernel/svgalib_helper/kernel26compat.h 2004-02-23 00:41:03.176196576 +0200 diff --git a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild index 9a4af2f5915e..720f26c50bc5 100644 --- a/media-libs/svgalib/svgalib-1.4.3-r4.ebuild +++ b/media-libs/svgalib/svgalib-1.4.3-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.15 2004/05/12 12:30:06 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.3-r4.ebuild,v 1.16 2004/06/23 18:09:15 vapier Exp $ inherit eutils flag-o-matic |