public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Fixed bogus changelog dates
@ 2026-06-25  5:49 Rich Mattes
  0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-06-25  5:49 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pcl
            Branch : f44
            Commit : 402217ad64128aca4dd86c22c410140be78e0522
            Author : Rich Mattes <richmattes@gmail.com>
            Date   : 2013-02-17T20:33:51-05:00
            Stats  : +127/-4 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/pcl/c/402217ad64128aca4dd86c22c410140be78e0522?branch=f44

            Log:
            Fixed bogus changelog dates

- Fixed build errors due to boost 1.53 and/or gcc 4.8

---
diff --git a/pcl-1.6.0-boost153.patch b/pcl-1.6.0-boost153.patch
new file mode 100644
index 0000000..575e983
--- /dev/null
+++ b/pcl-1.6.0-boost153.patch
@@ -0,0 +1,118 @@
+diff -up ./io/src/oni_grabber.cpp.boost153 ./io/src/oni_grabber.cpp
+--- ./io/src/oni_grabber.cpp.boost153	2013-02-17 19:27:06.034171888 -0500
++++ ./io/src/oni_grabber.cpp	2013-02-17 19:27:59.170008472 -0500
+@@ -364,7 +364,7 @@ ONIGrabber::convertToXYZPointCloud(const
+   if (depth_image->getWidth () != depth_width_ || depth_image->getHeight () != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer (0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -404,7 +404,7 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr O
+     const boost::shared_ptr<openni_wrapper::DepthImage> &depth_image) const
+ {
+   static unsigned rgb_array_size = 0;
+-  static boost::shared_array<unsigned char> rgb_array(0);
++  static boost::shared_array<unsigned char> rgb_array;
+   static unsigned char* rgb_buffer = 0;
+ 
+   boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGB> > cloud(new pcl::PointCloud<pcl::PointXYZRGB> ());
+@@ -424,7 +424,7 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr O
+   if (depth_image->getWidth() != depth_width_ || depth_image->getHeight() != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer(0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -488,7 +488,7 @@ pcl::PointCloud<pcl::PointXYZRGBA>::Ptr
+     const boost::shared_ptr<openni_wrapper::DepthImage> &depth_image) const
+ {
+   static unsigned rgb_array_size = 0;
+-  static boost::shared_array<unsigned char> rgb_array(0);
++  static boost::shared_array<unsigned char> rgb_array;
+   static unsigned char* rgb_buffer = 0;
+ 
+   boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGBA> > cloud (new pcl::PointCloud<pcl::PointXYZRGBA> ());
+@@ -508,7 +508,7 @@ pcl::PointCloud<pcl::PointXYZRGBA>::Ptr
+   if (depth_image->getWidth() != depth_width_ || depth_image->getHeight() != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer(0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -589,8 +589,8 @@ pcl::PointCloud<pcl::PointXYZI>::Ptr ONI
+   if (depth_image->getWidth() != depth_width_ || depth_image->getHeight() != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer(0);
+-    static boost::shared_array<unsigned short> ir_buffer(0);
++    static boost::shared_array<unsigned short> depth_buffer;
++    static boost::shared_array<unsigned short> ir_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+diff -up ./io/src/openni_grabber.cpp.boost153 ./io/src/openni_grabber.cpp
+--- ./io/src/openni_grabber.cpp.boost153	2012-07-17 19:11:32.000000000 -0400
++++ ./io/src/openni_grabber.cpp	2013-02-17 18:15:21.002909247 -0500
+@@ -573,7 +573,7 @@ pcl::OpenNIGrabber::convertToXYZPointClo
+   if (depth_image->getWidth() != depth_width_ || depth_image->getHeight () != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer (0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -618,7 +618,7 @@ pcl::OpenNIGrabber::convertToXYZRGBPoint
+                                                const boost::shared_ptr<openni_wrapper::DepthImage> &depth_image) const
+ {
+   static unsigned rgb_array_size = 0;
+-  static boost::shared_array<unsigned char> rgb_array (0);
++  static boost::shared_array<unsigned char> rgb_array;
+   static unsigned char* rgb_buffer = 0;
+ 
+   boost::shared_ptr<pcl::PointCloud<PointT> > cloud (new pcl::PointCloud<PointT>);
+@@ -638,7 +638,7 @@ pcl::OpenNIGrabber::convertToXYZRGBPoint
+   if (depth_image->getWidth () != depth_width_ || depth_image->getHeight() != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer (0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -735,7 +735,7 @@ pcl::OpenNIGrabber::convertToEigenPointC
+                                               const boost::shared_ptr<openni_wrapper::DepthImage> &depth_image) const
+ {
+   static unsigned rgb_array_size = 0;
+-  static boost::shared_array<unsigned char> rgb_array (0);
++  static boost::shared_array<unsigned char> rgb_array;
+   static unsigned char* rgb_buffer = 0;
+ 
+   boost::shared_ptr<pcl::PointCloud<Eigen::MatrixXf> > cloud (new pcl::PointCloud<Eigen::MatrixXf>);
+@@ -765,7 +765,7 @@ pcl::OpenNIGrabber::convertToEigenPointC
+   if (depth_image->getWidth () != depth_width_ || depth_image->getHeight() != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer (0);
++    static boost::shared_array<unsigned short> depth_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {
+@@ -846,8 +846,8 @@ pcl::OpenNIGrabber::convertToXYZIPointCl
+   if (depth_image->getWidth () != depth_width_ || depth_image->getHeight () != depth_height_)
+   {
+     static unsigned buffer_size = 0;
+-    static boost::shared_array<unsigned short> depth_buffer (0);
+-    static boost::shared_array<unsigned short> ir_buffer (0);
++    static boost::shared_array<unsigned short> depth_buffer;
++    static boost::shared_array<unsigned short> ir_buffer;
+ 
+     if (buffer_size < depth_width_ * depth_height_)
+     {

diff --git a/pcl.spec b/pcl.spec
index d82a649..74ffd55 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -8,7 +8,7 @@ License:        BSD
 URL:            http://pointclouds.org/
 Source0:        http://www.pointclouds.org/assets/files/1.6.0/PCL-1.6.0-Source.tar.bz2
 Patch0:         PCL-1.4.0-Source-fedora.patch
-Patch1:         pcl-1.5.1-gcc47.patch
+Patch1:         pcl-1.6.0-boost153.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # For plain building
@@ -74,6 +74,7 @@ Library.
 %prep
 %setup -q -n PCL-%{version}-Source
 %patch0 -p2 -b .fedora
+%patch1 -p0 -b .boost153
 
 # Just to make it obvious we're not using any of these
 rm -rf  3rdparty
@@ -187,6 +188,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb 17 2013 Rich Mattes <richmattes@gmail.com> - 1.6.0-3
+- Fixed bogus changelog dates
+- Fixed build errors due to boost 1.53 and/or gcc 4.8
+
 * Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.6.0-3
 - Rebuild for Boost-1.53.0
 
@@ -205,7 +210,7 @@ rm -rf $RPM_BUILD_ROOT
 * Thu Apr 19 2012 Tim Niemueller <tim@niemueller.de> - 1.5.1-2
 - Pass proper LIB_INSTALL_DIR, install wrong cmake files otherwise
 
-* Mon Apr 04 2012 Rich Mattes <richmattes@gmail.com> - 1.5.1-1
+* Mon Apr 02 2012 Rich Mattes <richmattes@gmail.com> - 1.5.1-1
 - Update to release 1.5.1
 - Add new patch for gcc-4.7 fixes
 
@@ -228,13 +233,13 @@ rm -rf $RPM_BUILD_ROOT
 * Fri Dec 23 2011 Tim Niemueller <tim@niemueller.de> - 1.3.1-2
 - Make sure documentation is not in main package
 
-* Sat Dec 04 2011 Tim Niemueller <tim@niemueller.de> - 1.3.1-1
+* Sun Dec 04 2011 Tim Niemueller <tim@niemueller.de> - 1.3.1-1
 - Update to 1.3.1
 
 * Tue Nov 22 2011 Tim Niemueller <tim@niemueller.de> - 1.3.0-1
 - Update to 1.3.0
 
-* Tue Oct 22 2011 Tim Niemueller <tim@niemueller.de> - 1.2.0-1
+* Sat Oct 22 2011 Tim Niemueller <tim@niemueller.de> - 1.2.0-1
 - Update to 1.2.0
 
 * Tue Oct 04 2011 Tim Niemueller <tim@niemueller.de> - 1.1.1-2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25  5:49 [rpms/pcl] f44: Fixed bogus changelog dates Rich Mattes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox