pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libhid
Module Name: pkgsrc
Committed By: rumko
Date: Wed Jun 15 18:38:07 UTC 2016
Modified Files:
pkgsrc/devel/libhid: distinfo
Added Files:
pkgsrc/devel/libhid/patches: patch-hidparser_hidtypes.h
patch-include_hid.h
Log Message:
devel/libhid: make it build under fbsd
* malloc and friends need stdlib
* ulong is not defined on FreeBSD
Ok@ wiz
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libhid/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h \
pkgsrc/devel/libhid/patches/patch-include_hid.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libhid/distinfo
diff -u pkgsrc/devel/libhid/distinfo:1.2 pkgsrc/devel/libhid/distinfo:1.3
--- pkgsrc/devel/libhid/distinfo:1.2 Tue Nov 3 03:27:42 2015
+++ pkgsrc/devel/libhid/distinfo Wed Jun 15 18:38:07 2016
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:42 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/06/15 18:38:07 rumko Exp $
SHA1 (libhid-0.2.16.tar.gz) = 9a25fef674e8f20f97fea6700eb91c21ebbbcc02
RMD160 (libhid-0.2.16.tar.gz) = f61f016ae54bc5532202fd676d38d1f684e7ab8d
SHA512 (libhid-0.2.16.tar.gz) = 3c9348f9d63e0e1577e983c65ff8e6acbaee0d5f43ecb29b7004654a7e9d14a94176aa029f259e0b8576fc30e8a9af6d1df34912dd582bfadc2b29f9b87eb52b
Size (libhid-0.2.16.tar.gz) = 435245 bytes
SHA1 (patch-configure) = 25b58acacaaa8dd783cc84e3908bc8489b0c9ee8
+SHA1 (patch-hidparser_hidtypes.h) = ddd475dad764e299c0eead170338376c6a03d579
+SHA1 (patch-include_hid.h) = 7f6f73eaabc47fdf39b3d669998ec3ed27d4847f
SHA1 (patch-src_bsd_c) = 5087ed4eb594f5e6ce66b6ca3d01fbceebf0848f
SHA1 (patch-test_lshid_c) = 2f655da7bc316354987efd22a5d2b1f60342be91
Added files:
Index: pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h
diff -u /dev/null pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h:1.1
--- /dev/null Wed Jun 15 18:38:07 2016
+++ pkgsrc/devel/libhid/patches/patch-hidparser_hidtypes.h Wed Jun 15 18:38:07 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-hidparser_hidtypes.h,v 1.1 2016/06/15 18:38:07 rumko Exp $
+
+ulong is not defined on FreeBSD
+
+--- hidparser/hidtypes.h.orig 2005-09-01 12:39:04.000000000 +0000
++++ hidparser/hidtypes.h
+@@ -21,7 +21,7 @@ extern "C" {
+ typedef unsigned char uchar;
+ #endif
+
+-#if HPUX || __APPLE__
++#if HPUX || __APPLE__ || __FreeBSD__
+ typedef unsigned long ulong;
+ #endif
+
Index: pkgsrc/devel/libhid/patches/patch-include_hid.h
diff -u /dev/null pkgsrc/devel/libhid/patches/patch-include_hid.h:1.1
--- /dev/null Wed Jun 15 18:38:07 2016
+++ pkgsrc/devel/libhid/patches/patch-include_hid.h Wed Jun 15 18:38:07 2016
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_hid.h,v 1.1 2016/06/15 18:38:07 rumko Exp $
+
+malloc and friends need stdlib
+
+--- include/hid.h.orig 2007-02-28 03:22:44.000000000 +0000
++++ include/hid.h
+@@ -2,6 +2,7 @@
+ #define __INCLUDED_HID_H__
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <usb.h>
+ #include <hidparser.h>
+
Home |
Main Index |
Thread Index |
Old Index