summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-26 11:32:45 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-26 11:32:45 +0100
commitc3868b2816dccb819eb62eb0570be4d0eb57e413 (patch)
tree209a1506cf9ca72c71d6a58f747271eaf6de17f3 /net-dialup/mwavem/files
parentsys-apps/restartd: fix build with gcc-10 (diff)
downloadgentoo-c3868b2816dccb819eb62eb0570be4d0eb57e413.tar.gz
gentoo-c3868b2816dccb819eb62eb0570be4d0eb57e413.tar.bz2
gentoo-c3868b2816dccb819eb62eb0570be4d0eb57e413.zip
net-dialup/mwavem: port to EAPI 7
Closes: https://github.com/gentoo/gentoo/pull/18402 Closes: https://bugs.gentoo.org/724974 Closes: https://bugs.gentoo.org/707684 Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-dialup/mwavem/files')
-rw-r--r--net-dialup/mwavem/files/mwavem-2.0-ar.patch10
-rw-r--r--net-dialup/mwavem/files/mwavem-2.0-fno-common.patch22
2 files changed, 32 insertions, 0 deletions
diff --git a/net-dialup/mwavem/files/mwavem-2.0-ar.patch b/net-dialup/mwavem/files/mwavem-2.0-ar.patch
new file mode 100644
index 000000000000..b0ce341ae6fe
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-2.0-ar.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -12,6 +12,7 @@ dnl Find programs for building and installation.
+ AC_PROG_CC
+ AC_PROG_RANLIB
+ AC_PROG_INSTALL
++AM_PROG_AR
+
+ dnl Check for libraries
+ AC_CHECK_LIB(pthread, main)
diff --git a/net-dialup/mwavem/files/mwavem-2.0-fno-common.patch b/net-dialup/mwavem/files/mwavem-2.0-fno-common.patch
new file mode 100644
index 000000000000..02e5b4780fd2
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-2.0-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/src/include/unidiags.h
++++ b/src/include/unidiags.h
+@@ -65,7 +65,7 @@ bits Source bits Definition
+
+ #define BIT(x) (1<<x)
+
+-UINT shit;
++extern UINT shit;
+
+ typedef struct _V34INFO { /* for key 18 */
+ UINT INFOa_bits4049 :10;
+--- a/src/manager/dspsrv.c
++++ b/src/manager/dspsrv.c
+@@ -75,7 +75,7 @@ HANDLE hMwThread;
+ DWORD MwThreadId;
+ /* @TBD CRITICAL_SECTION MwTerminateSection; */
+ BOOL MwTerminate = FALSE;
+-HANDLE hDrv;
++extern HANDLE hDrv;
+ HANDLE hMwProcess;
+
+ BOOL AllocateHeaps( void );