From e5a8931f7b738a771ea4788c7fde622c65eabe64 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 22 Nov 2008 09:39:10 +0000 Subject: [PATCH] - add missing header to fix potential 64-bit issues - specify license version - regen PLIST --- graphics/barcode/Makefile | 6 +++--- graphics/barcode/patches/patch-sample_c | 10 ++++++++++ graphics/barcode/pkg/PLIST | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 graphics/barcode/patches/patch-sample_c diff --git a/graphics/barcode/Makefile b/graphics/barcode/Makefile index e37e7522982..1ff91ab6986 100644 --- a/graphics/barcode/Makefile +++ b/graphics/barcode/Makefile @@ -1,14 +1,14 @@ -# $OpenBSD: Makefile,v 1.5 2007/09/16 20:39:56 simon Exp $ +# $OpenBSD: Makefile,v 1.6 2008/11/22 09:39:10 jasper Exp $ COMMENT= convert text strings to printed bars DISTNAME= barcode-0.98 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= graphics MAINTAINER= Mathieu Sauve-Frankel -# GPL +# GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes diff --git a/graphics/barcode/patches/patch-sample_c b/graphics/barcode/patches/patch-sample_c new file mode 100644 index 00000000000..2cd49dbe094 --- /dev/null +++ b/graphics/barcode/patches/patch-sample_c @@ -0,0 +1,10 @@ +$OpenBSD: patch-sample_c,v 1.1 2008/11/22 09:39:10 jasper Exp $ +--- sample.c.orig Fri Nov 21 14:34:09 2008 ++++ sample.c Fri Nov 21 14:34:20 2008 +@@ -1,5 +1,6 @@ + #include + #include ++#include + + #include "barcode.h" + diff --git a/graphics/barcode/pkg/PLIST b/graphics/barcode/pkg/PLIST index cb33bbcc1fa..7cbdfb49fc2 100644 --- a/graphics/barcode/pkg/PLIST +++ b/graphics/barcode/pkg/PLIST @@ -1,5 +1,5 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/23 04:28:26 msf Exp $ -bin/barcode +@comment $OpenBSD: PLIST,v 1.2 2008/11/22 09:39:10 jasper Exp $ +@bin bin/barcode include/barcode.h @info info/barcode.info lib/libbarcode.a