summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-03-10 14:30:39 +0000
committerAlin Năstac <mrness@gentoo.org>2006-03-10 14:30:39 +0000
commit3889722f6d0bc94385ca96eb65792e2e797b2bf5 (patch)
tree1cf85c2304b59d35bb48167faf877d25166600c7 /net-dialup/hcfpcimodem/files
parentadd dependence of dev-libs/ical for ia64 arch (#124230) (diff)
downloadhistorical-3889722f6d0bc94385ca96eb65792e2e797b2bf5.tar.gz
historical-3889722f6d0bc94385ca96eb65792e2e797b2bf5.tar.bz2
historical-3889722f6d0bc94385ca96eb65792e2e797b2bf5.zip
Add upstream fix for suspend2 kernel patch.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-dialup/hcfpcimodem/files')
-rw-r--r--net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10-r1 (renamed from net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10)0
-rw-r--r--net-dialup/hcfpcimodem/files/hcfpcimodem-1.10-suspend2.patch27
2 files changed, 27 insertions, 0 deletions
diff --git a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10 b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10-r1
index 3abd71036426..3abd71036426 100644
--- a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10
+++ b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.10-r1
diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.10-suspend2.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.10-suspend2.patch
new file mode 100644
index 000000000000..95b545e77a82
--- /dev/null
+++ b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.10-suspend2.patch
@@ -0,0 +1,27 @@
+diff -urN hcfpcimodem-1.10full/modules/osservices.c hcfpcimodem-1.10full-suspend2/modules/osservices.c
+--- hcfpcimodem-1.10full/modules/osservices.c 2006-02-08 01:27:25.000000000 -0500
++++ hcfpcimodem-1.10full-suspend2/modules/osservices.c 2006-03-06 14:40:19.000000000 -0500
+@@ -28,9 +28,22 @@
+ #include <linux/smp_lock.h>
+ #include <linux/file.h>
+ #include <linux/kmod.h>
++
+ #ifdef FOUND_LINUX_SUSPEND
++#define UINT8 UINT8_suspend
++#define BOOL BOOL_suspend
++#define UINT16 UINT16_suspend
++#define UINT32 UINT32_suspend
++#define INT32 INT32_suspend
++#undef INT64
+ #include <linux/suspend.h>
+-#endif
++#undef UINT8
++#undef BOOL
++#undef UINT16
++#undef UINT32
++#undef INT32
++#endif /* FOUND_LINUX_SUSPEND */
++
+ #if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,7) )
+ #include <linux/completion.h>
+ #endif