Disable pcard support, breaks with python3 and clang 15
Apparently this is about pre-USB "Photo Card" hardware, nobody seems to care. ok aja@ (maintainer)
This commit is contained in:
parent
c891e82cda
commit
af147f2f36
|
@ -14,7 +14,7 @@ SUBST_VARS= V
|
|||
REVISION-common= 0
|
||||
REVISION-gui= 0
|
||||
REVISION-hpaio= 0
|
||||
REVISION-main= 0
|
||||
REVISION-main= 1
|
||||
|
||||
# https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1745383
|
||||
MASTER_SITES0= https://src.fedoraproject.org/rpms/hplip/raw/rawhide/f/
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
Force-disable outdated python module which doesn't build with python3 and
|
||||
clang 15.
|
||||
|
||||
Index: pcard/pcardext/pcardext.c
|
||||
--- pcard/pcardext/pcardext.c.orig
|
||||
+++ pcard/pcardext/pcardext.c
|
||||
@@ -24,6 +24,8 @@ Author: Don Welch
|
||||
|
||||
\*****************************************************************************/
|
||||
|
||||
+#if 0
|
||||
+
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
|
||||
@@ -246,4 +248,4 @@ void initpcardext( void )
|
||||
return;
|
||||
}
|
||||
|
||||
-
|
||||
+#endif
|
|
@ -24,7 +24,7 @@ bin/hp-unload
|
|||
bin/hp-upgrade
|
||||
@so lib/python${MODPY_VERSION}/site-packages/cupsext.so
|
||||
@so lib/python${MODPY_VERSION}/site-packages/hpmudext.so
|
||||
@so lib/python${MODPY_VERSION}/site-packages/pcardext.so
|
||||
@comment @so lib/python${MODPY_VERSION}/site-packages/pcardext.so
|
||||
share/doc/hplip/
|
||||
share/doc/hplip/COPYING
|
||||
share/doc/hplip/README_LIBJPG
|
||||
|
|
Loading…
Reference in New Issue