commit pilot-link for openSUSE:Factory

2019-10-12 Thread root
Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2019-10-12 22:46:18

Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and  /work/SRC/openSUSE:Factory/.pilot-link.new.2352 (New)


Package is "pilot-link"

Sat Oct 12 22:46:18 2019 rev:37 rq:737662 version:0.12.5

Changes:

--- /work/SRC/openSUSE:Factory/pilot-link/pilot-link.changes2015-06-23 
11:59:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.pilot-link.new.2352/pilot-link.changes  
2019-10-12 22:46:19.865230064 +0200
@@ -1,0 +2,11 @@
+Sat Oct 12 09:14:08 UTC 2019 - Dominique Leuenberger 
+
+- Add pilot-link-stop-messing-with-cflags.patch: Do not mangle
+  CFLAGS in an attempt to remove -Werror. The configure check for
+  that is too simplistic and our CLAGS contains
+  -Werror=return-type. The simplystic configure 'hack' only drops
+  -Werror, resulting on =return-type staing back on the command
+  line. Since we don't add -Werror by default to CFLAGS we can
+  safely ignore this hack and drop it.
+
+---

New:

  pilot-link-stop-messing-with-cflags.patch



Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.He4unw/_old  2019-10-12 22:46:21.345226279 +0200
+++ /var/tmp/diff_new_pack.He4unw/_new  2019-10-12 22:46:21.345226279 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pilot-link
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -33,7 +33,7 @@
 Obsoletes:  plink < %{version}
 Provides:   plink = %{version}
 Summary:Pilot-Link Based Synchronization Development Header Files
-License:GPL-2.0 and GPL-2.0+ and LGPL-2.1+
+License:GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:  Hardware/Palm
 Source: http://downloads.pilot-link.org/%{name}-%{version}.tar.bz2
 Source1:10-usb-raw-pda.fdi
@@ -51,6 +51,8 @@
 # PATCH-FIX-UPSTREAM pilot-link-0.12.5-perl514.patch idoen...@suse.de -- Fix 
compilation with Perl 5.14
 Patch11:pilot-link-0.12.5-perl514.patch
 Patch12:pilot-link-0.12.5-udev-rules.patch
+# PATCH-FIX-OPENSUSE pilot-link-stop-messing-with-cflags.patch 
dims...@opensuse.org -- Stop mangling Werror from cflags - it's not correcly 
done anyway
+Patch13:pilot-link-stop-messing-with-cflags.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -166,6 +168,7 @@
 %patch10
 %patch11
 %patch12
+%patch13 -p1
 # Force updating bindings/Perl/Pilot.c
 rm -f bindings/Perl/Pilot.c
 

++ pilot-link-stop-messing-with-cflags.patch ++
Index: pilot-link-0.12.5/configure.ac
===
--- pilot-link-0.12.5.orig/configure.ac
+++ pilot-link-0.12.5/configure.ac
@@ -60,17 +60,6 @@ AC_SUBST(PISYNC_CURRENT)
 AC_SUBST(PISYNC_REVISION)
 AC_SUBST(PISYNC_AGE)
 
-dnl Eat -Werror so configure will run properly, if the user provided it
-enable_werror=no
-save_CFLAGS="$CFLAGS"
-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
-if test "x$CFLAGS" != "x$save_CFLAGS"; then
-   dnl -Werror was set; treat it as implicit --enable-werror below
-   enable_werror="yes"
-fi
-
-
 dnl Check host type
 AC_CANONICAL_HOST
 AC_CANONICAL_SYSTEM



commit pilot-link for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2015-06-23 11:59:29

Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and  /work/SRC/openSUSE:Factory/.pilot-link.new (New)


Package is "pilot-link"

Changes:

--- /work/SRC/openSUSE:Factory/pilot-link/pilot-link.changes2013-04-19 
10:55:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.pilot-link.new/pilot-link.changes   
2015-06-23 11:59:30.0 +0200
@@ -1,0 +2,11 @@
+Sun Jun 21 01:38:29 UTC 2015 - an...@opensuse.org
+
+- add missing include to fix build with gcc5
+
+---
+Sun Apr 12 18:14:43 UTC 2015 - crrodrig...@opensuse.org
+
+- Move udev rules to udevrulesdir, /etc/udev is reserved 
+  for sysadmin use.
+
+---



Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.wcIXxD/_old  2015-06-23 11:59:30.0 +0200
+++ /var/tmp/diff_new_pack.wcIXxD/_new  2015-06-23 11:59:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pilot-link
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 BuildRequires:  popt-devel
 BuildRequires:  python-devel
 BuildRequires:  readline-devel
+BuildRequires:  pkgconfig(udev)
 Url:http://www.pilot-link.org/
 Version:0.12.5
 Release:0
@@ -171,6 +172,7 @@
 %build
 #%{?suse_update_config:%{suse_update_config -f scripts}}
 autoreconf -sfi
+sed -i 1i\ '#include ' libpisock/linuxusb.c 
 %configure --enable-threads --enable-conduits --enable-libusb --with-png=/usr 
--with-bluez --with-libiconv=/usr
 make
 #
@@ -186,9 +188,9 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 #chmod a+x $RPM_BUILD_ROOT/%{_libdir}/libpisock.so*
 # drop udev rule somewhere else...
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
+mkdir -p %{buildroot}%{_udevrulesdir}
 sed -i 's/modem/uucp/g' 
$RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules
-cp $RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules 
$RPM_BUILD_ROOT/etc/udev/rules.d
+cp $RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules  
%{buildroot}%{_udevrulesdir}
 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
 echo -e '# use USB by default\nexport PILOTPORT="usb:"' > 
$RPM_BUILD_ROOT/etc/profile.d/pilot-link.sh
 rm $RPM_BUILD_ROOT/%{_libdir}/*.a
@@ -207,10 +209,9 @@
 make DESTDIR=$RPM_BUILD_ROOT install_vendor INSTALLDIRS=vendor
 %perl_process_packlist
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post -n libpisock9 -p /sbin/ldconfig
+%post -n libpisock9 
+/sbin/ldconfig
+%{?udev_rules_update}
 
 %post -n libpisync1 -p /sbin/ldconfig
 
@@ -236,9 +237,7 @@
 %files -n libpisock9
 %defattr(-,root,root)
 %{_libdir}/libpisock*.so.9*
-%dir /etc/udev
-%dir /etc/udev/rules.d
-%config /etc/udev/rules.d/*
+%{_udevrulesdir}/*.rules
 %attr(0644,root,root) /etc/profile.d/*
 
 %files -n libpisock-devel





commit pilot-link for openSUSE:Factory

2013-04-19 Thread h_root
Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2013-04-19 10:55:02

Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and  /work/SRC/openSUSE:Factory/.pilot-link.new (New)


Package is "pilot-link", Maintainer is "mhruse...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/pilot-link/pilot-link.changes2011-11-22 
17:49:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.pilot-link.new/pilot-link.changes   
2013-04-19 10:55:04.0 +0200
@@ -1,0 +2,18 @@
+Thu Apr 18 09:27:29 UTC 2013 - cfarr...@suse.com
+
+- license update: GPL-2.0 and GPL-2.0+ and LGPL-2.1+
+  There are GPL-2.0 (only) licenses in the packages. Assuming aggregation
+  as Fedora also use an aggregation license. Please double check.
+
+---
+Tue Apr 16 13:56:58 UTC 2013 - mhruse...@suse.com
+
+- patch to fix udev rules by Jean Delvare
+  pilot-link-0.12.5-udev-rules.patch
+
+---
+Fri Mar  1 10:31:10 UTC 2013 - co...@suse.com
+
+- update license to new format
+
+---

New:

  pilot-link-0.12.5-udev-rules.patch



Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.0uCq7e/_old  2013-04-19 10:55:05.0 +0200
+++ /var/tmp/diff_new_pack.0uCq7e/_new  2013-04-19 10:55:05.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pilot-link
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   pilot-link
-BuildRequires:  bluez-devel gcc-c++ libpng-devel libtool libusb-devel 
pkg-config popt-devel python-devel readline-devel
+BuildRequires:  bluez-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libpng-devel
+BuildRequires:  libtool
+BuildRequires:  libusb-devel
+BuildRequires:  pkg-config
+BuildRequires:  popt-devel
+BuildRequires:  python-devel
+BuildRequires:  readline-devel
 Url:http://www.pilot-link.org/
-License:GPL-2.0+ ; LGPL-2.1+
-Group:  Hardware/Palm
 Version:0.12.5
-Release:10
+Release:0
 Obsoletes:  plink < %{version}
 Provides:   plink = %{version}
-AutoReqProv:on
 Summary:Pilot-Link Based Synchronization Development Header Files
+License:GPL-2.0 and GPL-2.0+ and LGPL-2.1+
+Group:  Hardware/Palm
 Source: http://downloads.pilot-link.org/%{name}-%{version}.tar.bz2
 Source1:10-usb-raw-pda.fdi
 Patch0: %{name}-gcc.patch
@@ -44,6 +49,7 @@
 Patch10:pilot-link-0.12.5-libpng-include.patch
 # PATCH-FIX-UPSTREAM pilot-link-0.12.5-perl514.patch idoen...@suse.de -- Fix 
compilation with Perl 5.14
 Patch11:pilot-link-0.12.5-perl514.patch
+Patch12:pilot-link-0.12.5-udev-rules.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -65,7 +71,6 @@
 Kenneth Albanowski 
 
 %package -n libpisock9
-License:GPL-2.0+ ; LGPL-2.1+
 Summary:Pilot-Link Library for Palm devices
 Group:  Hardware/Palm
 
@@ -80,7 +85,6 @@
 Kenneth Albanowski 
 
 %package -n libpisock-devel
-License:GPL-2.0+ ; LGPL-2.1+
 Requires:   libpisock9 = %{version}
 Provides:   pilot-link-devel = %{version}
 Obsoletes:  pilot-link-devel < %{version}
@@ -95,7 +99,6 @@
 Kenneth Albanowski 
 
 %package -n libpisync1
-License:GPL-2.0+ ; LGPL-2.1+
 Summary:Pilot-Link based Synchronization Library for Palm devices
 Group:  Hardware/Palm
 
@@ -110,7 +113,6 @@
 Kenneth Albanowski 
 
 %package -n libpisync-devel
-License:GPL-2.0+ ; LGPL-2.1+
 Requires:   libpisync1 = %{version}
 Summary:Pilot-Link based Synchronization Library for Palm devices
 Group:  Hardware/Palm
@@ -126,7 +128,6 @@
 Kenneth Albanowski 
 
 %package -n python-pisock
-License:GPL-2.0+ ; LGPL-2.1+
 Requires:   python
 Summary:Pilot-Link Library for Palm devices - Python bindings
 Group:  Development/Libraries/Python
@@ -141,7 +142,6 @@
 Kenneth Albanowski 
 
 %package -n perl-PDA-Pilot
-License:GPL-2.0+ ; LGPL-2.1+
 Requires:   perl = %{perl_version}
 Summary:Pilot-Link Library for Palm devices - Perl bindings
 Group:  Development/Libraries/Perl
@@ -164,6 +164,7 @@
 %patch9
 %patch10
 %patch11
+%patch12

commit pilot-link for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2011-12-06 18:51:49

Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and  /work/SRC/openSUSE:Factory/.pilot-link.new (New)


Package is "pilot-link", Maintainer is "mhruse...@suse.com"

Changes:




Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.AshGuL/_old  2011-12-06 19:25:22.0 +0100
+++ /var/tmp/diff_new_pack.AshGuL/_new  2011-12-06 19:25:22.0 +0100
@@ -21,7 +21,7 @@
 Name:   pilot-link
 BuildRequires:  bluez-devel gcc-c++ libpng-devel libtool libusb-devel 
pkg-config popt-devel python-devel readline-devel
 Url:http://www.pilot-link.org/
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Group:  Hardware/Palm
 Version:0.12.5
 Release:10
@@ -65,7 +65,7 @@
 Kenneth Albanowski 
 
 %package -n libpisock9
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Summary:Pilot-Link Library for Palm devices
 Group:  Hardware/Palm
 
@@ -80,7 +80,7 @@
 Kenneth Albanowski 
 
 %package -n libpisock-devel
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Requires:   libpisock9 = %{version}
 Provides:   pilot-link-devel = %{version}
 Obsoletes:  pilot-link-devel < %{version}
@@ -95,7 +95,7 @@
 Kenneth Albanowski 
 
 %package -n libpisync1
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Summary:Pilot-Link based Synchronization Library for Palm devices
 Group:  Hardware/Palm
 
@@ -110,7 +110,7 @@
 Kenneth Albanowski 
 
 %package -n libpisync-devel
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Requires:   libpisync1 = %{version}
 Summary:Pilot-Link based Synchronization Library for Palm devices
 Group:  Hardware/Palm
@@ -126,7 +126,7 @@
 Kenneth Albanowski 
 
 %package -n python-pisock
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Requires:   python
 Summary:Pilot-Link Library for Palm devices - Python bindings
 Group:  Development/Libraries/Python
@@ -141,7 +141,7 @@
 Kenneth Albanowski 
 
 %package -n perl-PDA-Pilot
-License:GPLv2+ ; LGPLv2.1+
+License:GPL-2.0+ ; LGPL-2.1+
 Requires:   perl = %{perl_version}
 Summary:Pilot-Link Library for Palm devices - Perl bindings
 Group:  Development/Libraries/Perl


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pilot-link for openSUSE:Factory

2011-11-22 Thread h_root
Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2011-11-22 17:49:22

Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and  /work/SRC/openSUSE:Factory/.pilot-link.new (New)


Package is "pilot-link", Maintainer is "mhruse...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/pilot-link/pilot-link.changes2011-09-23 
12:41:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.pilot-link.new/pilot-link.changes   
2011-11-22 17:49:33.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov 20 06:28:10 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.UYz5Fa/_old  2011-11-22 17:49:35.0 +0100
+++ /var/tmp/diff_new_pack.UYz5Fa/_new  2011-11-22 17:49:35.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   pilot-link
-BuildRequires:  bluez-devel gcc-c++ libpng-devel libusb-devel pkg-config 
popt-devel python-devel readline-devel
+BuildRequires:  bluez-devel gcc-c++ libpng-devel libtool libusb-devel 
pkg-config popt-devel python-devel readline-devel
 Url:http://www.pilot-link.org/
 License:GPLv2+ ; LGPLv2.1+
 Group:  Hardware/Palm


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pilot-link for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory
checked in at Mon May 23 15:37:16 CEST 2011.




--- pilot-link/pilot-link.changes   2011-01-15 20:21:30.0 +0100
+++ /mounts/work_src_done/STABLE/pilot-link/pilot-link.changes  2011-05-23 
13:50:18.0 +0200
@@ -1,0 +2,7 @@
+Mon May 23 11:23:49 UTC 2011 - idon...@novell.com
+
+- Add pilot-link-0.12.5-perl514.patch: replace SvPV(SV*, na) with
+  SvPV_nolen(SV*) and sv_{yes,no} with PL_sv_{yes_no} to fix 
+  compilation with Perl 5.14 
+
+---

calling whatdependson for head-i586


New:

  pilot-link-0.12.5-perl514.patch



Other differences:
--
++ pilot-link.spec ++
--- /var/tmp/diff_new_pack.1CJLCF/_old  2011-05-23 15:27:59.0 +0200
+++ /var/tmp/diff_new_pack.1CJLCF/_new  2011-05-23 15:27:59.0 +0200
@@ -24,7 +24,7 @@
 License:GPLv2+ ; LGPLv2.1+
 Group:  Hardware/Palm
 Version:0.12.5
-Release:5
+Release:10
 Obsoletes:  plink < %{version}
 Provides:   plink = %{version}
 AutoReqProv:on
@@ -42,6 +42,8 @@
 Patch8: %{name}-0.12.3-fclose_after_read.patch
 Patch9: perl-PDA-Pilot-0.12.1-pilotxs.diff
 Patch10:pilot-link-0.12.5-libpng-include.patch
+# PATCH-FIX-UPSTREAM pilot-link-0.12.5-perl514.patch idoen...@suse.de -- Fix 
compilation with Perl 5.14
+Patch11:pilot-link-0.12.5-perl514.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -161,6 +163,9 @@
 %patch8
 %patch9
 %patch10
+%patch11
+# Force updating bindings/Perl/Pilot.c
+rm -f bindings/Perl/Pilot.c
 
 %build
 #%{?suse_update_config:%{suse_update_config -f scripts}}


++ pilot-link-0.12.5-perl514.patch ++
--- bindings/Perl/Pilot.xs  2011-05-23 13:30:21.965011012 +0200
+++ bindings/Perl/Pilot.xs  2011-05-23 13:31:37.104011016 +0200
@@ -160,7 +160,7 @@
 
 #define pack_dbinfo(arg, var, failure) {   \
if (failure < 0)  { \
-   arg = &sv_undef;\
+   arg = &PL_sv_undef; \
self->errnop = failure; \
} else {\
HV * i = newHV();   \
@@ -213,15 +214,15 @@
var.createDate  = (s = hv_fetch(i, "createDate", 10, 0)) ? 
SvIV(*s) : 0;\
var.modifyDate  = (s = hv_fetch(i, "modifyDate", 10, 0)) ? 
SvIV(*s) : 0;\
var.backupDate  = (s = hv_fetch(i, "backupDate", 10, 0)) ? 
SvIV(*s) : 0;\
-   if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0)  
\
-   strncpy(var.name, SvPV(*s, na), sizeof(var.name));  
\
+   if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV_nolen(*s) : 0)   
\
+   strncpy(var.name, SvPV_nolen(*s), sizeof(var.name));
\
} else  {\
croak("argument is not a hash reference");  
\
}
 
 #define pack_userinfo(arg, var, failure) { \
if (failure < 0)  { \
-   arg = &sv_undef;\
+   arg = &PL_sv_undef; \
self->errnop = failure; \
} else {\
HV * i = newHV();   \
@@ -245,8 +246,8 @@
var.lastSyncPC  = (s = hv_fetch(i, "lastSyncPC",
 10, 0)) ? SvIV(*s) : 0;\
var.lastSyncDate= (s = hv_fetch(i, "lastSyncDate",  
 12, 0)) ? SvIV(*s) : 0;\
var.successfulSyncDate  = (s = hv_fetch(i, 
"successfulSyncDate", 18, 0)) ? SvIV(*s) : 0;\
-   if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0)\
-   strncpy(var.username, SvPV(*s, na), 
sizeof(var.username));\
+   if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV_nolen(*s) : 0)\
+   strncpy(var.username, SvPV_nolen(*s), 
sizeof(var.username));\
} else  {\
croak("argument is not a hash reference");\
}
@@ -286,7 +287,7 @@
}\
} else {\
self->errnop = result;\
-   PUSHs(&sv_undef);\
+   PUSHs(&PL_sv_undef);\
}
 
 #define PackSI\
@@ -328,7 +329,7 @@
}\
} else {\
self->errnop = result;\
-   PUSHs(&sv_undef);\
+   PUSHs(&PL_sv_undef);\
}
 
 #define PackRecord {\
@@ -420,7 +421,7 @@
}\
} else {\
self->errnop = result;\
-   PUSHs(&sv_undef);\
+   PUSHs(&PL_sv_undef);\
}
 
 #define PackResource\
@@ -472,7 +473,7 @@
}\
} else {\