[Pkg-fglrx-devel] r1542 - in fglrx-driver/branches/15.9-jessie/debian: . patches

Andreas Beckmann anbe at moszumanska.debian.org
Sun Nov 1 23:59:22 UTC 2015


Author: anbe
Date: 2015-11-01 23:59:22 +0000 (Sun, 01 Nov 2015)
New Revision: 1542

Added:
   fglrx-driver/branches/15.9-jessie/debian/patches/02-dkms-arch_compat.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/03-authatieventsd.sh.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/06-stub-for-agpless-kernel.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/fglrx_3.17rc6-no_hotplug.patch
Removed:
   fglrx-driver/branches/15.9-jessie/debian/patches/01-dkms-arch_compat.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/02-authatieventsd.sh.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/03-stub-for-agpless-kernel.patch
   fglrx-driver/branches/15.9-jessie/debian/patches/04-3.17rc6-no_hotplug.patch
Modified:
   fglrx-driver/branches/15.9-jessie/debian/changelog
   fglrx-driver/branches/15.9-jessie/debian/patches/series
Log:
temporarily undo some patch renaming

Modified: fglrx-driver/branches/15.9-jessie/debian/changelog
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/changelog	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/changelog	2015-11-01 23:59:22 UTC (rev 1542)
@@ -3,6 +3,7 @@
   * Rebuild for jessie.
   * Reinstate the libxvbaw-dev package.
   * Remove Conflicts/Replaces: xvba-va-driver.
+  * Undo patch renaming.
 
  -- Andreas Beckmann <anbe at debian.org>  Mon, 02 Nov 2015 00:30:06 +0100
 

Deleted: fglrx-driver/branches/15.9-jessie/debian/patches/01-dkms-arch_compat.patch
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/01-dkms-arch_compat.patch	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/01-dkms-arch_compat.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -1,14 +0,0 @@
-description: set compat_alloc_user_space so that it is compatible with dkms
-author: Patrick Matthäi <pmatthaei at debian.org>
-
-diff -Naur fglrx-driver-11-5.orig/common/lib/modules/fglrx/build_mod/2.6.x/Makefile fglrx-driver-11-5/common/lib/modules/fglrx/build_mod/2.6.x/Makefile
---- fglrx-driver-11-5.orig/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2011-05-03 17:19:14.000000000 +0200
-+++ fglrx-driver-11-5/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2011-05-11 19:22:41.000000000 +0200
-@@ -68,6 +68,7 @@
-                 -DFGL_GART_RESERVED_SLOT \
-                 -DFGL_LINUX253P1_VMA_API \
-                 -DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \
-+                -DCOMPAT_ALLOC_USER_SPACE=$(shell if grep -q compat_alloc_user_space /lib/modules/$(KERNELRELEASE)/build/Module.symvers ; then echo arch_compat_alloc_user_space ; else echo compat_alloc_user_space ; fi) \
- 
- ifeq ($(KERNELRELEASE),)
- # on first call from remote location we get into this path

Deleted: fglrx-driver/branches/15.9-jessie/debian/patches/02-authatieventsd.sh.patch
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/02-authatieventsd.sh.patch	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/02-authatieventsd.sh.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -1,68 +0,0 @@
-description: compatiblility for authatieventsd.sh on Debian
-author: Patrick Matthäi <pmatthaei at debian.org>
-
-Index: fglrx-driver/common/etc/ati/authatieventsd.sh
-===================================================================
---- fglrx-driver.orig/common/etc/ati/authatieventsd.sh	2011-07-18 19:32:39.000000000 -0400
-+++ fglrx-driver/common/etc/ati/authatieventsd.sh	2011-07-18 20:25:31.000000000 -0400
-@@ -42,6 +42,16 @@
-         return 0
-     fi
- 
-+    # Check for xauth
-+    XAUTH_AUTH_MASK=/var/run/xauth/A$1*
-+    XAUTH_AUTH_FILE=`ls -t $XAUTH_AUTH_MASK 2>/dev/null | head -n 1`   # Choose the newest file
-+    if [ -n "$XAUTH_AUTH_FILE" ]; then
-+        SERVER_AUTH_FILE=$XAUTH_AUTH_FILE
-+        DISP_SEARCH_STRING="#ffff#"
-+        return 0
-+    fi
-+
-+
-     # Check gdm
- 
-     GDM_AUTH_FILE=/var/lib/gdm/$1.Xauth
-@@ -55,12 +65,14 @@
- 
-     for XPID in `pidof X`; do
-         TRIAL_XAUTH_FILE=`tr '\0' '\n' < /proc/$XPID/environ | grep -e "^XAUTHORITY=" | cut -d= -f2`
-+        if [ -n "$TRIAL_XAUTH_FILE" ]; then
-         TRIAL_XAUTH_KEY=`xauth -f $TRIAL_XAUTH_FILE list | grep "unix$1"`
-         if [ -n "$TRIAL_XAUTH_KEY" ]; then
-             SERVER_AUTH_FILE=$TRIAL_XAUTH_FILE
-             DISP_SEARCH_STRING="unix$1"
-             return 0
-         fi
-+	fi
-     done
- 
-     # Couldn't find the key
-@@ -83,16 +95,22 @@
- case "$1" in
-     grant)
-         GetServerAuthFile $2 || exit -1
--        DISP_AUTH_KEY=`xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{ print $3 }'`
--        if [ -n "$DISP_AUTH_KEY" ]; then
--            xauth -f $3 add $2 . $DISP_AUTH_KEY || exit -1
--        else
--            exit -1
-+	xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING || exit -1
-+	if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
-+		user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
-+		su $user -c "echo "$2 . `xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{print $3}'`" | xauth -f $3 merge -" || exit -1
-+	else
-+		echo "$2 . `xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{print $3}'`" | xauth -f $3 merge - || exit -1
-         fi
-         ;;
- 
-     revoke)
--        xauth -f $3 remove $2 || exit -1
-+	if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
-+		user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
-+		su $user -c "xauth -f $3 remove $2" || exit -1
-+	else
-+		xauth -f $3 remove $2 || exit -1
-+	fi
-         ;;
- 
-     *)

Copied: fglrx-driver/branches/15.9-jessie/debian/patches/02-dkms-arch_compat.patch (from rev 1541, fglrx-driver/branches/15.9-jessie/debian/patches/01-dkms-arch_compat.patch)
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/02-dkms-arch_compat.patch	                        (rev 0)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/02-dkms-arch_compat.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -0,0 +1,14 @@
+description: set compat_alloc_user_space so that it is compatible with dkms
+author: Patrick Matthäi <pmatthaei at debian.org>
+
+diff -Naur fglrx-driver-11-5.orig/common/lib/modules/fglrx/build_mod/2.6.x/Makefile fglrx-driver-11-5/common/lib/modules/fglrx/build_mod/2.6.x/Makefile
+--- fglrx-driver-11-5.orig/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2011-05-03 17:19:14.000000000 +0200
++++ fglrx-driver-11-5/common/lib/modules/fglrx/build_mod/2.6.x/Makefile	2011-05-11 19:22:41.000000000 +0200
+@@ -68,6 +68,7 @@
+                 -DFGL_GART_RESERVED_SLOT \
+                 -DFGL_LINUX253P1_VMA_API \
+                 -DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \
++                -DCOMPAT_ALLOC_USER_SPACE=$(shell if grep -q compat_alloc_user_space /lib/modules/$(KERNELRELEASE)/build/Module.symvers ; then echo arch_compat_alloc_user_space ; else echo compat_alloc_user_space ; fi) \
+ 
+ ifeq ($(KERNELRELEASE),)
+ # on first call from remote location we get into this path

Copied: fglrx-driver/branches/15.9-jessie/debian/patches/03-authatieventsd.sh.patch (from rev 1541, fglrx-driver/branches/15.9-jessie/debian/patches/02-authatieventsd.sh.patch)
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/03-authatieventsd.sh.patch	                        (rev 0)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/03-authatieventsd.sh.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -0,0 +1,68 @@
+description: compatiblility for authatieventsd.sh on Debian
+author: Patrick Matthäi <pmatthaei at debian.org>
+
+Index: fglrx-driver/common/etc/ati/authatieventsd.sh
+===================================================================
+--- fglrx-driver.orig/common/etc/ati/authatieventsd.sh	2011-07-18 19:32:39.000000000 -0400
++++ fglrx-driver/common/etc/ati/authatieventsd.sh	2011-07-18 20:25:31.000000000 -0400
+@@ -42,6 +42,16 @@
+         return 0
+     fi
+ 
++    # Check for xauth
++    XAUTH_AUTH_MASK=/var/run/xauth/A$1*
++    XAUTH_AUTH_FILE=`ls -t $XAUTH_AUTH_MASK 2>/dev/null | head -n 1`   # Choose the newest file
++    if [ -n "$XAUTH_AUTH_FILE" ]; then
++        SERVER_AUTH_FILE=$XAUTH_AUTH_FILE
++        DISP_SEARCH_STRING="#ffff#"
++        return 0
++    fi
++
++
+     # Check gdm
+ 
+     GDM_AUTH_FILE=/var/lib/gdm/$1.Xauth
+@@ -55,12 +65,14 @@
+ 
+     for XPID in `pidof X`; do
+         TRIAL_XAUTH_FILE=`tr '\0' '\n' < /proc/$XPID/environ | grep -e "^XAUTHORITY=" | cut -d= -f2`
++        if [ -n "$TRIAL_XAUTH_FILE" ]; then
+         TRIAL_XAUTH_KEY=`xauth -f $TRIAL_XAUTH_FILE list | grep "unix$1"`
+         if [ -n "$TRIAL_XAUTH_KEY" ]; then
+             SERVER_AUTH_FILE=$TRIAL_XAUTH_FILE
+             DISP_SEARCH_STRING="unix$1"
+             return 0
+         fi
++	fi
+     done
+ 
+     # Couldn't find the key
+@@ -83,16 +95,22 @@
+ case "$1" in
+     grant)
+         GetServerAuthFile $2 || exit -1
+-        DISP_AUTH_KEY=`xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{ print $3 }'`
+-        if [ -n "$DISP_AUTH_KEY" ]; then
+-            xauth -f $3 add $2 . $DISP_AUTH_KEY || exit -1
+-        else
+-            exit -1
++	xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING || exit -1
++	if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
++		user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
++		su $user -c "echo "$2 . `xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{print $3}'`" | xauth -f $3 merge -" || exit -1
++	else
++		echo "$2 . `xauth -f $SERVER_AUTH_FILE list | grep $DISP_SEARCH_STRING | awk '{print $3}'`" | xauth -f $3 merge - || exit -1
+         fi
+         ;;
+ 
+     revoke)
+-        xauth -f $3 remove $2 || exit -1
++	if [ `pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'` ]; then
++		user=`pinky -fs | awk '{ if ($3 == "'$2'" || $(NF) == "'$2'" ) { print $1; exit; } }'`
++		su $user -c "xauth -f $3 remove $2" || exit -1
++	else
++		xauth -f $3 remove $2 || exit -1
++	fi
+         ;;
+ 
+     *)

Deleted: fglrx-driver/branches/15.9-jessie/debian/patches/03-stub-for-agpless-kernel.patch
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/03-stub-for-agpless-kernel.patch	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/03-stub-for-agpless-kernel.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -1,20 +0,0 @@
-Description: Add a stub for kernels built without CONFIG_AGP
-Author: Vasiliy Yeremeyev <vayerx at gmail.com>
-Origin: other, https://bugs.gentoo.org/show_bug.cgi?id=435322#c11
-Forwarded: no
-Last-Update: 2012-11-04
-
---- fglrx-driver-13.1.orig/common/lib/modules/fglrx/build_mod/kcl_agp.c
-+++ fglrx-driver-13.1/common/lib/modules/fglrx/build_mod/kcl_agp.c
-@@ -479,6 +479,11 @@ int ATI_API_CALL KCL_AGP_Enable(unsigned
-     return -EINVAL;
- }
- 
-+int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev)
-+{
-+    return -EINVAL;
-+}
-+
- int ATI_API_CALL KCL_AGP_ReadCapsRegisters(KCL_PCI_DevHandle dev, unsigned int *caps)
- {
-     return -EINVAL;

Deleted: fglrx-driver/branches/15.9-jessie/debian/patches/04-3.17rc6-no_hotplug.patch
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/04-3.17rc6-no_hotplug.patch	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/04-3.17rc6-no_hotplug.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -1,31 +0,0 @@
-# Fix building with Linux 3.17.
-
-diff -Naur fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/firegl_public.c
---- fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-09 00:57:14.000000000 +0200
-+++ fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-27 10:39:09.390175314 +0200
-@@ -1112,6 +1112,9 @@
-     // directly here to allow suspend/resume without X server start. 
-         firegl_pci_save_state((KCL_PCI_DevHandle)pdev, privdev);
-         pci_disable_device(pdev);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)
-+	pci_ignore_hotplug(pdev);
-+#endif
-         PMSG_EVENT(pdev->dev.power.power_state) = state;
-     }
-     else
-diff -Naur fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/kcl_acpi.c
---- fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2015-09-09 00:57:14.000000000 +0200
-+++ fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2015-09-27 10:39:09.390175314 +0200
-@@ -847,10 +847,12 @@
-    if(tdev != NULL)
-    {
-       device = (acpi_device_adr(tdev) >> 16) & 0xffff;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)
-       if(PCI_SLOT(pdev->devfn) == device)
-       {
-          tdev->flags.no_hotplug = true;
-       }
-+#endif
-    }
- #endif
-    return 0;

Copied: fglrx-driver/branches/15.9-jessie/debian/patches/06-stub-for-agpless-kernel.patch (from rev 1541, fglrx-driver/branches/15.9-jessie/debian/patches/03-stub-for-agpless-kernel.patch)
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/06-stub-for-agpless-kernel.patch	                        (rev 0)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/06-stub-for-agpless-kernel.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -0,0 +1,20 @@
+Description: Add a stub for kernels built without CONFIG_AGP
+Author: Vasiliy Yeremeyev <vayerx at gmail.com>
+Origin: other, https://bugs.gentoo.org/show_bug.cgi?id=435322#c11
+Forwarded: no
+Last-Update: 2012-11-04
+
+--- fglrx-driver-13.1.orig/common/lib/modules/fglrx/build_mod/kcl_agp.c
++++ fglrx-driver-13.1/common/lib/modules/fglrx/build_mod/kcl_agp.c
+@@ -479,6 +479,11 @@ int ATI_API_CALL KCL_AGP_Enable(unsigned
+     return -EINVAL;
+ }
+ 
++int ATI_API_CALL KCL_AGP_FindCapsRegisters(KCL_PCI_DevHandle dev)
++{
++    return -EINVAL;
++}
++
+ int ATI_API_CALL KCL_AGP_ReadCapsRegisters(KCL_PCI_DevHandle dev, unsigned int *caps)
+ {
+     return -EINVAL;

Copied: fglrx-driver/branches/15.9-jessie/debian/patches/fglrx_3.17rc6-no_hotplug.patch (from rev 1541, fglrx-driver/branches/15.9-jessie/debian/patches/04-3.17rc6-no_hotplug.patch)
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/fglrx_3.17rc6-no_hotplug.patch	                        (rev 0)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/fglrx_3.17rc6-no_hotplug.patch	2015-11-01 23:59:22 UTC (rev 1542)
@@ -0,0 +1,31 @@
+# Fix building with Linux 3.17.
+
+diff -Naur fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/firegl_public.c
+--- fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-09 00:57:14.000000000 +0200
++++ fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/firegl_public.c	2015-09-27 10:39:09.390175314 +0200
+@@ -1112,6 +1112,9 @@
+     // directly here to allow suspend/resume without X server start. 
+         firegl_pci_save_state((KCL_PCI_DevHandle)pdev, privdev);
+         pci_disable_device(pdev);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)
++	pci_ignore_hotplug(pdev);
++#endif
+         PMSG_EVENT(pdev->dev.power.power_state) = state;
+     }
+     else
+diff -Naur fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/kcl_acpi.c
+--- fglrx-driver-15.9.orig/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2015-09-09 00:57:14.000000000 +0200
++++ fglrx-driver-15.9/common/lib/modules/fglrx/build_mod/kcl_acpi.c	2015-09-27 10:39:09.390175314 +0200
+@@ -847,10 +847,12 @@
+    if(tdev != NULL)
+    {
+       device = (acpi_device_adr(tdev) >> 16) & 0xffff;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0)
+       if(PCI_SLOT(pdev->devfn) == device)
+       {
+          tdev->flags.no_hotplug = true;
+       }
++#endif
+    }
+ #endif
+    return 0;

Modified: fglrx-driver/branches/15.9-jessie/debian/patches/series
===================================================================
--- fglrx-driver/branches/15.9-jessie/debian/patches/series	2015-11-01 23:41:38 UTC (rev 1541)
+++ fglrx-driver/branches/15.9-jessie/debian/patches/series	2015-11-01 23:59:22 UTC (rev 1542)
@@ -1,7 +1,7 @@
-01-dkms-arch_compat.patch
-02-authatieventsd.sh.patch
-03-stub-for-agpless-kernel.patch
-04-3.17rc6-no_hotplug.patch
+02-dkms-arch_compat.patch
+03-authatieventsd.sh.patch
+06-stub-for-agpless-kernel.patch
+fglrx_3.17rc6-no_hotplug.patch
 05-4.0.0-build.patch
 07-4.1.0-build.patch
 08-4.2.0-build.patch




More information about the Pkg-fglrx-devel mailing list