summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-18 08:47:39 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-18 08:47:39 +0000
commitcf96e26bddcf28a3738a9528a471559eb6340003 (patch)
tree257a4a851a7b6e35be840d7f3144d973c2291400 /media-libs/svgalib/files
parentsync stable with 0.9.8 (diff)
downloadgentoo-2-cf96e26bddcf28a3738a9528a471559eb6340003.tar.gz
gentoo-2-cf96e26bddcf28a3738a9528a471559eb6340003.tar.bz2
gentoo-2-cf96e26bddcf28a3738a9528a471559eb6340003.zip
punt old
(Portage version: 2.1.1)
Diffstat (limited to 'media-libs/svgalib/files')
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.21-r13
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.9.233
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.21-gentoo.patch86
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.21-linux2.6.patch103
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch17
5 files changed, 0 insertions, 212 deletions
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.21-r1 b/media-libs/svgalib/files/digest-svgalib-1.9.21-r1
deleted file mode 100644
index 53a90c62b444..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.9.21-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 1bd8892ee38481051e4b4d85008c86be svgalib-1.9.21.tar.gz 950274
-RMD160 b1aa727edfb796c523bcf6123734f8a0dc9e36fa svgalib-1.9.21.tar.gz 950274
-SHA256 5e053650e147ed0d0c16dc3956ec04318d1224628aad1c2d6194fcc1d8d1a2e5 svgalib-1.9.21.tar.gz 950274
diff --git a/media-libs/svgalib/files/digest-svgalib-1.9.23 b/media-libs/svgalib/files/digest-svgalib-1.9.23
deleted file mode 100644
index 01f6dac06d4e..000000000000
--- a/media-libs/svgalib/files/digest-svgalib-1.9.23
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b51f7c791f0a64a856beec283bcdc0ba svgalib-1.9.23.tar.gz 982053
-RMD160 49915a5d4b0c2d81d46a721a48bc489747ccb43b svgalib-1.9.23.tar.gz 982053
-SHA256 e3b85c40ac3cf532b4f3496fe477bfd0d077fd1c702b83356548c4375b4fae5a svgalib-1.9.23.tar.gz 982053
diff --git a/media-libs/svgalib/files/svgalib-1.9.21-gentoo.patch b/media-libs/svgalib/files/svgalib-1.9.21-gentoo.patch
deleted file mode 100644
index 3c8796eac391..000000000000
--- a/media-libs/svgalib/files/svgalib-1.9.21-gentoo.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-Make install targets more friendly
---- svgalib-1.9.21/Makefile
-+++ svgalib-1.9.21/Makefile
-@@ -78,10 +78,6 @@ default:
-
- installheaders:
- @echo Installing header files in $(includedir).
-- @if [ -f /usr/include/vga.h ]; then \
-- rm -f /usr/include/vga.h /usr/include/vgagl.h; \
-- echo Old header files in /usr/include removed.; \
-- fi
- @mkdir -p $(includedir)
- @cp $(SRCDIR)/src/vga.h $(includedir)/vga.h
- @chmod a+r $(includedir)/vga.h
-@@ -95,16 +91,6 @@ installheaders:
- @chmod a+r $(includedir)/vgakeyboard.h
-
- installsharedlib: $(SHAREDLIBS) $(SVGALIBSHAREDSTUBS)
-- @if [ -f /usr/lib/libvga.sa ]; then \
-- rm -f /usr/lib/libvga.sa /usr/lib/libvgagl.sa; \
-- echo Old stubs in /usr/lib removed.; \
-- fi
--ifndef KEEPSHAREDLIBS
-- @echo "Removing shared library images (old & current)..."
-- @for i in $(OBSOLETELDIRS); do \
-- rm -f `echo $(OBSOLETESHAREDIMAGES) | sed s?/lib/?$$i?g`; \
-- done
--endif
- @echo Installing shared library image as \
- $(addprefix $(sharedlibdir)/,$(notdir $(SHAREDLIBS))).
- @for foo in $(notdir $(SHAREDLIBS)); do \
-@@ -118,10 +104,8 @@ endif
- installstaticlib: static
- @echo Installing static libraries in $(libdir).
- @mkdir -p $(libdir)
-- @rm -f /usr/lib/libvga.a
- @$(INSTALL_DATA) staticlib/libvga.a $(libdir)/libvga.a
- @chmod a+r $(libdir)/libvga.a
-- @rm -f /usr/lib/libvgagl.a
- @$(INSTALL_DATA) staticlib/libvgagl.a $(libdir)/libvgagl.a
- @chmod a+r $(libdir)/libvgagl.a
-
-@@ -130,14 +114,6 @@ installutils: textutils $(LRMI)
- echo No $(bindir) directory, creating it.; \
- mkdir -p $(bindir); \
- fi
-- @if [ -f /usr/bin/restorefont ]; then \
-- echo Removing old utilities in /usr/bin.; \
-- for x in $(UTILS); do rm -f /usr/bin/$$x; done; \
-- fi
-- @if [ -f /usr/bin/convfont ]; then \
-- echo Removing inappropriate utilities in /usr/bin.; \
-- rm -f /usr/bin/convfont /usr/bin/setmclk; \
-- fi
- @echo Installing textmode utilities in $(bindir):
- @echo "restorefont: Save/restore textmode font."
- @$(INSTALL_PROGRAM) utils/restorefont $(bindir)
-@@ -213,7 +189,7 @@ installdev:
- lib3dkit-install:
- (cd threeDKit/; $(MAKE) install)
-
--install: uninstall installheaders $(INSTALLSHAREDLIB) installconfig \
-+install: installheaders $(INSTALLSHAREDLIB) installconfig \
- $(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN) $(INSTALLMODULE) $(INSTALLDEV) \
- lib3dkit-install
- @echo
---- svgalib-1.9.21/Makefile.cfg
-+++ svgalib-1.9.21/Makefile.cfg
-@@ -44,7 +44,7 @@ CONFDIR = $(SRCDIR)/src/config
- # Common prefix for installation directories.
- # NOTE: This directory must exist when you start the install.
- TOPDIR=
--prefix = $(TOPDIR)/usr/local
-+prefix = $(TOPDIR)/usr
- exec_prefix = $(prefix)
-
- # Directory where the shared stubs and static library will be installed.
-@@ -130,7 +130,7 @@ INSTALLMAN = installman
- # MAKEWHATIS = makewhatis # Beware, this will really need a few minutes!
-
- # Comment this out if you use devfs only and don't want to make svga nodes
--INSTALLDEV = installdev
-+#INSTALLDEV = installdev
-
- # Select which makefile to use to install the module, or comment both out if
- # you are going to install the kernel module manually
diff --git a/media-libs/svgalib/files/svgalib-1.9.21-linux2.6.patch b/media-libs/svgalib/files/svgalib-1.9.21-linux2.6.patch
deleted file mode 100644
index d1a34a028e74..000000000000
--- a/media-libs/svgalib/files/svgalib-1.9.21-linux2.6.patch
+++ /dev/null
@@ -1,103 +0,0 @@
- - touch up the Makefile to let the ebuild handle the module details
- - fix support with io remap stuff in newer kernels
-
---- svgalib/kernel/svgalib_helper/Makefile.alt
-+++ svgalib/kernel/svgalib_helper/Makefile.alt
-@@ -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?
---- svgalib/kernel/svgalib_helper/kernel26compat.h
-+++ svgalib/kernel/svgalib_helper/kernel26compat.h
-@@ -10,7 +10,7 @@
- # define PCI_GET_CLASS pci_find_class
- # define PCI_GET_DEVICE pci_find_device
-
--# if defined (PG_chainlock)
-+# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,3)
- # define my_io_remap_page_range(vma, start, ofs, len, prot) \
- io_remap_page_range(vma,start,ofs,len,prot)
- # else
-@@ -50,8 +50,13 @@
- # define DEVFS_MK_SYMLINK(a,b)
- #endif
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
- # define my_io_remap_page_range(vma, start, ofs, len, prot) \
- io_remap_page_range(vma,start,ofs,len,prot)
-+#else
-+# define my_io_remap_page_range(vma, start, ofs, len, prot) \
-+ io_remap_pfn_range(vma,start,ofs>>PAGE_SHIFT,len,prot)
-+#endif
-
- # define pci_present() 1
-
-@@ -84,6 +84,21 @@
- # define SLH_SYSFS_REGISTER \
- svgalib_helper_class = class_create(THIS_MODULE, "svgalib_helper");
-
-+
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
-+
-+# define SLH_SYSFS_ADD_CONTROL \
-+ class_device_create(svgalib_helper_class, NULL, \
-+ MKDEV(SVGALIB_HELPER_MAJOR, 0), \
-+ NULL, "svga");
-+
-+# define SLH_SYSFS_ADD_DEVICE(_name, _minor) \
-+ class_device_create(svgalib_helper_class, NULL, \
-+ MKDEV(SVGALIB_HELPER_MAJOR, _minor), \
-+ &sh_pci_devs[_minor]->dev->dev, _name);
-+#else
-+
-+
- # define SLH_SYSFS_ADD_CONTROL \
- class_device_create(svgalib_helper_class, \
- MKDEV(SVGALIB_HELPER_MAJOR, 0), \
-@@ -93,6 +108,8 @@
- class_device_create(svgalib_helper_class, \
- MKDEV(SVGALIB_HELPER_MAJOR, _minor), \
- &sh_pci_devs[_minor]->dev->dev, _name);
-+#endif
-+
-
- # define SLH_SYSFS_REMOVE_DEVICE(i) \
- class_destroy(svgalib_helper_class);
-@@ -148,6 +148,11 @@
- # define SLH_SYSFS_UNREGISTER
- #endif
-
-+/* gregkh was so kind as to remove a ton of PCI defines in linux-2.6.15 */
-+#if !defined(PCI_VENDOR_ID_RENDITION)
-+# define PCI_VENDOR_ID_RENDITION 0x1163
-+#endif
-+
- #if (defined MINOR)
- # define my_minor(x) MINOR(x)
- #else
diff --git a/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch b/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch
deleted file mode 100644
index 53d4cf2a1a5b..000000000000
--- a/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-all_devices is an exported symbol so we cant declare it static
-
-Fix by Pablo De Nápoli
-
-http://bugs.gentoo.org/133936
-
---- svgalib-1.9.24/kernel/svgalib_helper/main.c
-+++ svgalib-1.9.24/kernel/svgalib_helper/main.c
-@@ -55,7 +55,7 @@
- #include "displaystart.h"
-
- int debug=0;
--static int all_devices=0;
-+int all_devices=0;
- int num_devices=0;
-
- static char *sdev_id="svgalib_helper";