Minor update to cups-pk-helper-0.2.4.

This commit is contained in:
ajacoutot 2012-12-03 15:52:12 +00:00
parent e850ec6eac
commit 6ac3b3b6b4
3 changed files with 4 additions and 23 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.8 2012/12/03 15:34:42 jasper Exp $
# $OpenBSD: Makefile,v 1.9 2012/12/03 15:52:12 ajacoutot Exp $
COMMENT= fine-grained privileges PolicyKit helper for CUPS
DISTNAME= cups-pk-helper-0.2.3
REVISION= 0
DISTNAME= cups-pk-helper-0.2.4
EXTRACT_SUFX= .tar.xz
CATEGORIES= print sysutils

View File

@ -1,2 +1,2 @@
SHA256 (cups-pk-helper-0.2.3.tar.xz) = s3K2+IswyRDUb1kzoDwCXzIouasV9/TH9na1dUrJ/JM=
SIZE (cups-pk-helper-0.2.3.tar.xz) = 149688
SHA256 (cups-pk-helper-0.2.4.tar.xz) = 0YfcmU/2RiGqCQ0RQXCyktqhESJIHYuK23YTsyyk48M=
SIZE (cups-pk-helper-0.2.4.tar.xz) = 149828

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-src_cups_c,v 1.2 2012/10/12 15:47:15 ajacoutot Exp $
From dcffa695e2ca74a673dcf613e651106a8f5bb233 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@suse.com>
Date: Fri, 12 Oct 2012 15:35:25 +0000
Subject: Fix detection of CUPS version
--- src/cups.c.orig Fri Oct 12 10:46:41 2012
+++ src/cups.c Fri Oct 12 17:45:03 2012
@@ -49,7 +49,7 @@
#include "cups.h"
-#if (!(CUPS_VERSION_MAJOR > 1) || (CUPS_VERSION_MINOR > 5))
+#if ((CUPS_VERSION_MAJOR < 1) || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 6))
#define ippGetCount(attr) attr->num_values
#define ippGetGroupTag(attr) attr->group_tag
#define ippGetValueTag(attr) attr->value_tag