summaryrefslogtreecommitdiff
path: root/net-print
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-23 19:35:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-23 19:35:31 +0000
commitdfe9a0d495f3bc6e1542ffb07f120a28de80960c (patch)
treec873d9c50ac1a2f6a257a64776e0376527f75e43 /net-print
parent6de401295c52817a83e166a92c1e8a3b747d0452 (diff)
update metadata
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cnijfilter/Manifest1
-rw-r--r--net-print/cnijfilter/cnijfilter-4.10-r2.ebuild83
-rw-r--r--net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-backend.patch21
-rw-r--r--net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-cups.patch9
-rw-r--r--net-print/cnijfilter/files/cnijfilter-3.80-1-cups-1.6.patch62
-rw-r--r--net-print/cnijfilter/files/cnijfilter-3.80-6-cups-1.6.patch87
-rw-r--r--net-print/cnijfilter/files/cnijfilter-3.90-6-headers.patch69
-rw-r--r--net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-backend.patch10
-rw-r--r--net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-cups.patch9
-rw-r--r--net-print/cnijfilter/files/cnijfilter-4.00-4-ppd.patch10
-rw-r--r--net-print/cnijfilter/files/cnijfilter-4.00-5-abi_x86_32.patch45
-rw-r--r--net-print/cnijfilter/files/cnijfilter-4.00-6-headers.patch11
12 files changed, 0 insertions, 417 deletions
diff --git a/net-print/cnijfilter/Manifest b/net-print/cnijfilter/Manifest
deleted file mode 100644
index 7a9b34fe..00000000
--- a/net-print/cnijfilter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cnijfilter-source-4.10-1.tar.gz 7683230 BLAKE2B ee36cc8a8144fdf86a2275f39f054bbc15df0634df657327172a0f1869c7162a848a217305682ba14dd72ba74602aceafd7bd2c353d7ffdb72642720ee157d75 SHA512 58198e92e360c71c95423bfa8278f449eb645245af1b96770323cb6f4b2b7186e5ab326d58377c20627c750d3d8c253addf637f9d18e085b1c89a81d6239ab51
diff --git a/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild b/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild
deleted file mode 100644
index 9c9fe741..00000000
--- a/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-PRINTER_MODEL=( "ix6700" "ix6800" "ip2800" "mx470" "mx530" "ip8700" "e560" "e400" )
-PRINTER_ID=( "431" "432" "433" "434" "435" "436" "437" "438" )
-
-inherit ecnij
-
-DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)"
-HOMEPAGE="http://www.canon-europe.com/Support/"
-SRC_URI="http://gdlp01.c-wss.com/gds/8/0100005858/01/${PN}-source-${PV}-1.tar.gz"
-
-IUSE="+doc"
-
-DEPEND="virtual/libusb:1"
-RDEPEND="${RDEPEND}"
-
-RESTRICT="mirror"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.70-1-libexec-cups.patch
- "${FILESDIR}"/${PN}-3.70-1-libexec-backend.patch
- "${FILESDIR}"/${PN}-4.00-1-libexec-backend.patch
- "${FILESDIR}"/${PN}-4.00-1-libexec-cups.patch
- "${FILESDIR}"/${PN}-4.00-4-ppd.patch
- "${FILESDIR}"/${PN}-4.00-5-abi_x86_32.patch
- "${FILESDIR}"/${PN}-3.80-1-cups-1.6.patch
- "${FILESDIR}"/${PN}-3.90-6-headers.patch
- "${FILESDIR}"/${PN}-3.80-6-cups-1.6.patch
- "${FILESDIR}"/${PN}-4.00-6-headers.patch
-)
-
-src_prepare() {
- local arc=64
- [[ x${ABI} == xx86 ]] && arc=32
- sed -e "s,cnijlgmon2_LDADD =,cnijlgmon2_LDADD = -L../../com/libs_bin${arc}," \
- -i lgmon2/src/Makefile.am || die
-
- ecnij_src_prepare
-}
-
-src_install() {
- ecnij_src_install
-
- # dirty hack to stop cnijfilter spamming ldconfig
- for i in libcnbpcmcm43{1..8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.8.20.1 ${ED}usr/lib32/${i}
- done
- for i in libcnbpcnclapi43{1..8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.4.1.0 ${ED}usr/lib32/${i}
- done
- for i in libcnbpcnclbjcmd43{1..8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.3.3.0 ${ED}usr/lib32/${i}
- done
- for i in libcnbpcnclui43{1..8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.4.1.0 ${ED}usr/lib32/${i}
- done
- for i in libcnbpess43{1..8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.4.3.1 ${ED}usr/lib32/${i}
- done
- for i in libcnbpo43{1,2}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.1.0.3 ${ED}usr/lib32/${i}
- done
- for i in libcnbpo43{3,6,8}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.1.0.1 ${ED}usr/lib32/${i}
- done
- for i in libcnbpo43{4,5,7}.so; do
- rm -rf ${ED}usr/lib32/${i}
- ln -sf ${ED}usr/lib32/${i}.1.0.4 ${ED}usr/lib32/${i}
- done
-}
diff --git a/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-backend.patch b/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-backend.patch
deleted file mode 100644
index 0d8c9b88..00000000
--- a/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-backend.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/backend/src/Makefile.am 2012-12-22 11:09:21.674631729 +0100
-+++ b/backend/src/Makefile.am 2012-12-22 14:20:50.879566578 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--backend_bindir = /usr/lib/cups/backend
-+backend_bindir = /usr/libexec/cups/backend
- backend_bin_PROGRAMS = cnijusb
- transform =
-
---- a/backendnet/backend/Makefile.am 2012-12-22 11:09:21.673631729 +0100
-+++ b/backendnet/backend/Makefile.am 2012-12-22 14:20:20.176569425 +0100
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--backendnet_bindir = /usr/lib/cups/backend
-+backendnet_bindir = /usr/libexec/cups/backend
- backendnet_bin_PROGRAMS = cnijnet
- transform =
-
-
diff --git a/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-cups.patch b/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-cups.patch
deleted file mode 100644
index 25f7b2ea..00000000
--- a/net-print/cnijfilter/files/cnijfilter-3.70-1-libexec-cups.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/pstocanonij/filter/Makefile.am 2012-12-21 17:27:54.370964561 +0100
-+++ b/pstocanonij/filter/Makefile.am 2012-12-21 18:22:48.804097963 +0100
-@@ -1,4 +1,4 @@
--filterdir=$(libdir)/cups/filter
-+filterdir=$(libexecdir)/cups/filter
-
- filter_PROGRAMS= pstocanonij
-
-
diff --git a/net-print/cnijfilter/files/cnijfilter-3.80-1-cups-1.6.patch b/net-print/cnijfilter/files/cnijfilter-3.80-1-cups-1.6.patch
deleted file mode 100644
index dfc0bb22..00000000
--- a/net-print/cnijfilter/files/cnijfilter-3.80-1-cups-1.6.patch
+++ /dev/null
@@ -1,62 +0,0 @@
---- a/cngpij/cngpij/bjcups.c
-+++ a/cngpij/cngpij/bjcups.c
-@@ -698,8 +719,8 @@
- else {
- pRequest = ippNew();
-
-- pRequest->request.op.operation_id = CUPS_GET_PRINTERS;
-- pRequest->request.op.request_id = 1;
-+ ippSetOperation(pRequest, CUPS_GET_PRINTERS);
-+ ippSetRequestId(pRequest, 1);
-
- pLanguage = bjcupsLangDefault(); // cupsLangDefault() -> bjcupsLangDefault() for cups-1.1.19
-
-@@ -708,29 +729,29 @@
- ippAddString(pRequest, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, NULL);
-
- if ((pResponse = cupsDoRequest(pHTTP, pRequest, "/")) != NULL) {
-- if (pResponse->request.status.status_code > IPP_OK_CONFLICT) {
-+ if (ippGetStatusCode(pResponse) > IPP_OK_CONFLICT) {
- fputs("ERROR: IPP ERROR\n", stderr);
- goto onErr;
- }
- else {
-- pAttribute = pResponse->attrs;
-+ pAttribute = ippFirstAttribute(pResponse);
-
- while (pAttribute != NULL) {
-- while (pAttribute != NULL && pAttribute->group_tag != IPP_TAG_PRINTER) {
-- pAttribute = pAttribute->next;
-+ while (pAttribute != NULL && ippGetGroupTag(pAttribute) != IPP_TAG_PRINTER) {
-+ pAttribute = ippNextAttribute(pResponse);
- }
- if (pAttribute == NULL) {
- break;
- }
-
-- while (pAttribute != NULL && pAttribute->group_tag == IPP_TAG_PRINTER) {
-- if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
-- pPrinter = pAttribute->values[0].string.text;
-+ while (pAttribute != NULL && ippGetGroupTag(pAttribute) == IPP_TAG_PRINTER) {
-+ if (strcmp(ippGetName(pAttribute), "printer-name") == 0 && ippGetValueTag(pAttribute) == IPP_TAG_NAME) {
-+ pPrinter = ippGetString(pAttribute, 0, NULL);
- }
-- if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
-- pDUri = pAttribute->values[0].string.text;
-+ if (strcmp(ippGetName(pAttribute), "device-uri") == 0 && ippGetValueTag(pAttribute) == IPP_TAG_URI) {
-+ pDUri = ippGetString(pAttribute, 0, NULL);
- }
-- pAttribute = pAttribute->next;
-+ pAttribute = ippNextAttribute(pResponse);
- }
-
- if (strcasecmp(pDestName, pPrinter) == 0) {
-@@ -739,7 +760,7 @@
- }
-
- if (pAttribute != NULL)
-- pAttribute = pAttribute->next;
-+ pAttribute = ippNextAttribute(pResponse);
- }
- }
-
diff --git a/net-print/cnijfilter/files/cnijfilter-3.80-6-cups-1.6.patch b/net-print/cnijfilter/files/cnijfilter-3.80-6-cups-1.6.patch
deleted file mode 100644
index 6b51d483..00000000
--- a/net-print/cnijfilter/files/cnijfilter-3.80-6-cups-1.6.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff --git a/cngpijmnt/src/getipc.c b/cngpijmnt/src/getipc.c
-index 8688032..54c7933 100755
---- a/cngpijmnt/src/getipc.c
-+++ b/cngpijmnt/src/getipc.c
-@@ -42,7 +42,7 @@ int GetIPCData(LPIPCU pipc, char *sname)
- int server_fd;
- int client_fd;
- char buf[128];
-- size_t len;
-+ socklen_t len;
- short ret = RET_ERROR;
-
- if( (server_fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0 )
-
---- a/cngpijmnt/src/main.c 2016-11-12 23:39:03.534855723 +0100
-+++ b/cngpijmnt/src/main.c 2016-11-12 23:47:02.521847145 +0100
-@@ -308,8 +308,8 @@
- *pResponse; // Pointer to CUPS IPP response.
- ipp_attribute_t *pAttribute; // Pointer to CUPS attributes.
- cups_lang_t *pLanguage; // Pointer to language.
-- char *pPrinter = NULL; // Pointer to printer name.
-- char *pDUri = NULL; // Pointer to Device uri.
-+ const char *pPrinter = NULL; // Pointer to printer name.
-+ const char *pDUri = NULL; // Pointer to Device uri.
- short retVal = -1; // Return value.
- /*** Parameters end ***/
-
-@@ -321,8 +321,8 @@
- else {
- pRequest = ippNew();
-
-- pRequest->request.op.operation_id = CUPS_GET_PRINTERS;
-- pRequest->request.op.request_id = 1;
-+ ippSetOperation(pRequest, CUPS_GET_PRINTERS);
-+ ippSetRequestId(pRequest, 1);
-
- pLanguage = bjcupsLangDefault(); // cupsLangDefault() -> bjcupsLangDefault() for cups-1.1.19
-
-@@ -331,29 +331,29 @@
- ippAddString(pRequest, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, NULL);
-
- if ((pResponse = cupsDoRequest(pHTTP, pRequest, "/")) != NULL) {
-- if (pResponse->request.status.status_code > IPP_OK_CONFLICT) {
-+ if (ippGetStatusCode(pResponse) > IPP_OK_CONFLICT) {
- fputs("ERROR: IPP ERROR\n", stderr);
- goto onErr;
- }
- else {
-- pAttribute = pResponse->attrs;
-+ pAttribute = ippFirstAttribute(pResponse);
-
- while (pAttribute != NULL) {
-- while (pAttribute != NULL && pAttribute->group_tag != IPP_TAG_PRINTER) {
-- pAttribute = pAttribute->next;
-+ while (pAttribute != NULL && ippGetGroupTag(pAttribute) != IPP_TAG_PRINTER) {
-+ pAttribute = ippNextAttribute(pResponse);
- }
- if (pAttribute == NULL) {
- break;
- }
-
-- while (pAttribute != NULL && pAttribute->group_tag == IPP_TAG_PRINTER) {
-- if (strcmp(pAttribute->name, "printer-name") == 0 && pAttribute->value_tag == IPP_TAG_NAME) {
-- pPrinter = pAttribute->values[0].string.text;
-+ while (pAttribute != NULL && ippGetGroupTag(pAttribute) == IPP_TAG_PRINTER) {
-+ if (strcmp(ippGetName(pAttribute), "printer-name") == 0 && ippGetValueTag(pAttribute) == IPP_TAG_NAME) {
-+ pPrinter = ippGetString(pAttribute, 0, NULL);
- }
-- if (strcmp(pAttribute->name, "device-uri") == 0 && pAttribute->value_tag == IPP_TAG_URI) {
-- pDUri = pAttribute->values[0].string.text;
-+ if (strcmp(ippGetName(pAttribute), "device-uri") == 0 && ippGetValueTag(pAttribute) == IPP_TAG_URI) {
-+ pDUri = ippGetString(pAttribute, 0, NULL);
- }
-- pAttribute = pAttribute->next;
-+ pAttribute = ippNextAttribute(pResponse);
- }
-
- if (strcasecmp(pDestName, pPrinter) == 0) {
-@@ -362,7 +362,7 @@
- }
-
- if (pAttribute != NULL)
-- pAttribute = pAttribute->next;
-+ pAttribute = ippNextAttribute(pResponse);
- }
- }
-
diff --git a/net-print/cnijfilter/files/cnijfilter-3.90-6-headers.patch b/net-print/cnijfilter/files/cnijfilter-3.90-6-headers.patch
deleted file mode 100644
index c1c4a540..00000000
--- a/net-print/cnijfilter/files/cnijfilter-3.90-6-headers.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff --git a/cnijfilter/src/bjfilter.c b/cnijfilter/src/bjfilter.c
-index 926d745..68f3e57 100755
---- a/cnijfilter/src/bjfilter.c
-+++ b/cnijfilter/src/bjfilter.c
-@@ -26,6 +26,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <ctype.h>
- #include <popt.h>
- #include <time.h>
- #include <string.h>
-diff --git a/cnijfilter/src/bjfimage.c b/cnijfilter/src/bjfimage.c
-index 7c2feda..9231caf 100755
---- a/cnijfilter/src/bjfimage.c
-+++ b/cnijfilter/src/bjfimage.c
-@@ -26,6 +26,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <unistd.h>
- #include <string.h>
-
- #include "cpktypes.h"
-diff --git a/cnijfilter/src/bjfoption.c b/cnijfilter/src/bjfoption.c
-index 5465534..64a5187 100755
---- a/cnijfilter/src/bjfoption.c
-+++ b/cnijfilter/src/bjfoption.c
-@@ -26,6 +26,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <ctype.h>
- #include <popt.h>
- #include <string.h>
-
-diff --git a/cnijfilter/src/bjfpos.h b/cnijfilter/src/bjfpos.h
-index 64086da..aeb04f7 100755
---- a/cnijfilter/src/bjfpos.h
-+++ b/cnijfilter/src/bjfpos.h
-@@ -84,6 +84,7 @@ typedef struct BJF_MARGIN_INFO /* borderless information */
- extern void bjf_pos_img_init( LPBJF_POS_IMGINFO lpimginfo );
- extern void bjf_pos_prn_init( LPBJF_POS_PRNINFO lpprninfo );
- extern void bjf_pos_init( LPBJF_POSINFO lpposinfo );
-+extern void bjf_margin_init( LPBJF_MARGIN_INFO );
- extern short bjf_pos_imageresolution( LPBJF_POS_IMGINFO, LPBJF_POS_PRNINFO, LPBJF_POSINFO );
- extern short bjf_pos_imageresolution_fit( LPBJF_POS_IMGINFO, LPBJF_POS_PRNINFO, LPBJF_POSINFO );
- extern short bjf_pos_imageresolution_center( LPBJF_POS_IMGINFO, LPBJF_POS_PRNINFO, LPBJF_POSINFO );
-@@ -120,6 +121,7 @@ extern short ImageScaling(LPBJF_POS_PRNINFO, LPBJF_POSINFO,short);
- extern short ImageCenter( LPBJF_POS_IMGINFO, LPBJF_POS_PRNINFO, LPBJF_POSINFO, LPBJF_MARGIN_INFO );
- extern short ImageCut( LPBJF_POS_IMGINFO, LPBJF_POS_PRNINFO, LPBJF_POSINFO, LPBJF_MARGIN_INFO );
- extern short MarginInit(LPBJF_POS_PRNINFO, LPBJF_POSINFO, LPBJF_MARGIN_INFO);
-+extern short SetExtLevel( LPBJF_MARGIN_INFO, short);
- extern short SetExtMargin(LPBJF_POS_PRNINFO, LPBJF_POSINFO, LPBJF_MARGIN_INFO, LPBJFLTOVERMARGININFO);
- extern short SetBbox(LPBJF_OPTINFO , LPBJF_POS_IMGINFO , LPBJF_POSINFO , LPBJF_MARGIN_INFO , int , int);
- short bjf_pos_set_paperwidth( LPBJF_MARGIN_INFO , long );
-diff --git a/cnijfilter/src/getipc.c b/cnijfilter/src/getipc.c
-index e6973b0..ec7f8b5 100755
---- a/cnijfilter/src/getipc.c
-+++ b/cnijfilter/src/getipc.c
-@@ -43,7 +43,7 @@ short GetIPCData(LPIPCU pipc, char *sname)
- struct sockaddr_un sun;
- int s, c;
- char buf[128];
-- size_t adrlen;
-+ socklen_t adrlen;
- short ret = RET_ERROR;
-
- if ((s = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
diff --git a/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-backend.patch b/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-backend.patch
deleted file mode 100644
index f55e79a2..00000000
--- a/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-backend.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- cnijbe/src/Makefile.am 2014-08-08 22:40:21.697967931 +0200
-+++ cnijbe/src/Makefile.am 2014-08-08 22:41:44.972967317 +0200
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--cnijbe_bindir = /usr/lib/cups/backend
-+cnijbe_bindir = /usr/libexec/cups/backend
- cnijbe_bin_PROGRAMS = cnijbe
- transform =
-
diff --git a/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-cups.patch b/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-cups.patch
deleted file mode 100644
index 1c04c49f..00000000
--- a/net-print/cnijfilter/files/cnijfilter-4.00-1-libexec-cups.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- cmdtocanonij/filter/Makefile.am 2012-12-21 17:27:54.370964561 +0100
-+++ cmdtocanonij/filter/Makefile.am 2012-12-21 18:22:48.804097963 +0100
-@@ -1,4 +1,4 @@
--filterdir=$(libdir)/cups/filter
-+filterdir=$(libexecdir)/cups/filter
-
- filter_PROGRAMS= cmdtocanonij
-
-
diff --git a/net-print/cnijfilter/files/cnijfilter-4.00-4-ppd.patch b/net-print/cnijfilter/files/cnijfilter-4.00-4-ppd.patch
deleted file mode 100644
index bbd0dcb1..00000000
--- a/net-print/cnijfilter/files/cnijfilter-4.00-4-ppd.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- backend/src/cnij_backend_common.c 2016-11-13 00:08:34.600824006 +0100
-+++ backend/src/cnij_backend_common.c 2016-11-13 00:08:52.037823694 +0100
-@@ -37,6 +37,7 @@
- // CUPS Header
- #include <cups/cups.h>
- #include <cups/ipp.h>
-+#include <cups/ppd.h>
-
- // Header file for CANON
- #include "cnij_backend_common.h"
diff --git a/net-print/cnijfilter/files/cnijfilter-4.00-5-abi_x86_32.patch b/net-print/cnijfilter/files/cnijfilter-4.00-5-abi_x86_32.patch
deleted file mode 100644
index d3b00f52..00000000
--- a/net-print/cnijfilter/files/cnijfilter-4.00-5-abi_x86_32.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- backendnet/configure.in 2014-08-11 08:38:46.034984462 +0200
-+++ backendnet/configure.in 2014-08-11 08:35:42.902985813 +0200
-@@ -19,7 +19,11 @@
- AC_DEFINE_UNQUOTED(BJLIB_PATH, "$enable_libpath")
- AC_SUBST(BJLIB_PATH)
-
--ARC=`getconf LONG_BIT`
-+case "$ABI" in
-+ x86) ARC=32;;
-+ amd64) ARC=64;;
-+ *) ARC=`getconf LONG_BIT`;;
-+esac
- AC_SUBST(ARC)
-
- # Checks for programs.
---- cnijfilter/configure.in 2014-08-11 08:39:44.426984031 +0200
-+++ cnijfilter/configure.in 2014-08-11 08:35:19.788985984 +0200
-@@ -43,7 +43,11 @@
- esac
- AC_SUBST(CNCL_LIB_ID)
-
--ARC=`getconf LONG_BIT`
-+case "$ABI" in
-+ x86) ARC=32;;
-+ amd64) ARC=64;;
-+ *) ARC=`getconf LONG_BIT`;;
-+esac
- AC_SUBST(ARC)
-
- AC_PROG_CC
---- cnijnpr/configure.in 2014-08-11 08:41:12.712983380 +0200
-+++ cnijnpr/configure.in 2014-08-11 08:40:44.354983589 +0200
-@@ -37,7 +37,11 @@
-
- CFLAGS="-O2"
-
--ARC=`getconf LONG_BIT`
-+case "$ABI" in
-+ x86) ARC=32;;
-+ amd64) ARC=64;;
-+ *) ARC=`getconf LONG_BIT`;;
-+esac
- AC_SUBST(ARC)
-
- AC_OUTPUT(Makefile
diff --git a/net-print/cnijfilter/files/cnijfilter-4.00-6-headers.patch b/net-print/cnijfilter/files/cnijfilter-4.00-6-headers.patch
deleted file mode 100644
index 824892d2..00000000
--- a/net-print/cnijfilter/files/cnijfilter-4.00-6-headers.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- cnijnpr/src/cnijnpr.c 2016-11-13 21:51:33.844977618 +0100
-+++ cnijnpr/src/cnijnpr.c 2016-11-13 21:52:03.129977094 +0100
-@@ -34,6 +34,8 @@
- #include <sys/ioctl.h>
- #include <net/if.h>
- #include <sys/sysctl.h>
-+#include <sys/types.h>
-+#include <unistd.h>
- #include <config.h>
- #include <fcntl.h>
-